01-20-2012 01:30 PM
I've tried:
Value: expr:@{Document["uid:uid"]} in a Execution Context > Set Context variable (traindocuid) and get a blank(null?) when I use the traindocid variable in a User Interface > Add Info message as a check.
Message value is: traindocuid = @{traindocuid}. For the output, I get "traindocuid = " then nothing. No errors are generated on the screen or in the logs.
As a sanity check I substituted: expr:@{Document["dc:title"]} in the Set Context Variable and this works as expected.
Am I missing something?
01-20-2012 02:48 PM
Could it be related to the following bug https://jira.nuxeo.com/browse/NXS-908, fixed recently and released in the middle of next week on Studio ?
In short: Studio displays that the document HAS the uid schema while it is not the case. you could use another metadata or wait for the fix to be released.
01-20-2012 01:33 PM
Could it be that in the first one you set up "traindocid" variable, while you try to read "traindocuid" (pay attention to the u)
01-20-2012 01:41 PM
Good get! I checked, and the missing "u" is a typo in the question (I fixed the missing "u").
01-20-2012 02:48 PM
Could it be related to the following bug https://jira.nuxeo.com/browse/NXS-908, fixed recently and released in the middle of next week on Studio ?
In short: Studio displays that the document HAS the uid schema while it is not the case. you could use another metadata or wait for the fix to be released.
01-20-2012 03:30 PM
All the documents I'm trying to read are extended from Folder!
01-20-2012 08:27 PM
Are you sure they exactly inherit from Folder ? because you had said once that you had renamed the types imported with the initial default templates. If you have renamed it, it is not the same anymore, and you will have the above mentioned bug.
03-14-2012 01:59 PM
any update karl?
01-24-2012 01:49 PM
Thanks for the help !!!!
Looks like expr:Document.getId() for value in Execution Context -> Set Context Variable get's me what I needed.
I didn't realize there was more that one uid property, the "system" uid is the uid I needed.
Karl
01-24-2012 02:27 PM
btw, note, that the expr
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.