I'm using a service to successfully create a new record in view-data; is there anyway of populating a specific field with the UID?
I experimented with the Advanced 'Record ID' setting to no avail.
Best eregards
Stephen
I'm using a service to successfully create a new record in view-data; is there anyway of populating a specific field with the UID?
I experimented with the Advanced 'Record ID' setting to no avail.
Best eregards
Stephen
It is not clear from your screenshot but if you use "create" operation, then you can get the UUID of the created document on the Outputs page:
If you need the current (opened) document ID, then you can find it under Advanced on the Inputs page.
Also all Retrieve and Search operations return UUIDs. UUID is not returned only by some Domino directory services and I already created an enhancement request for that: https://domino-ideas.hcltechsw.com/ideas/VOLT-I-245 Fpr example, the returned User ID here is actually a canonical name:
Many thanks for your help on this; I think I understand things a little better now:
When creating a new document, the input 'Record ID' pertains to the current 'session' and not the record itself; it will be the same for all records created during the active session.
The 'Record Unique Identifier' (RUI) doesn't exist at creation time and hence can't be saved to an additional field using a service input.
However, as you clearly illustrated, the RUI does appear in the output section and this can be used to populate a field elsewhere in the form once the service has completed.
Have I got that right?
Best regards
Stephen
I'd not use the terms Session. Record ID is the number of the current document (BO) shown by a Form - so it equals to a line in View Data or one record in NSF. There is no need to store it in BO as you can always get it by BO.getDataId() and it can be also easily used in service calls input as shown above.
Regarding "RUI" you got it right.