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