문제

My designer client is 8.5.3FP6 and Notes server is 8.5.3FP6.

When I save document in Xpage the field name is changes from proper case to all upper case for certain field. The field name on the Notes form is in proper case like "Doc_Stage_TX" but when checked in the notes client thru document properties it is "DOC_STAGE_TX". Anybody experience this behaviour?

Here is a SSJS code for saving:

document1.setValue("Section1_CompletedBy",unm);
@SetField("Section1DateCompleted",@Today())
document1.setValue("Section1Status","Marketing Check completed");
document1.setValue("Doc_Stage_TX","Stage 2");
document1.save();

All those field name are in uppercase after saving.

도움이 되었습니까?

해결책

This is consistent behavior of Notes for a rather long time: when you create a new item programmatically @SetField or .setValue(...) do that, then the item name is all upperCase. Only when an item is created via a field in a form (binding), or using .replaceItemValue() case is preserved

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top