PParuman
asked on
making the $ref field appear when the response document is created
Hi...
I have a discussion database & when a user clicks to create a response , the $ref field has no value , so if the user wants to go back & not create the reponse, they have to chose something from the menu ....
is there no way to get the $ref field to compute immediately upon creation of the response document
I have a discussion database & when a user clicks to create a response , the $ref field has no value , so if the user wants to go back & not create the reponse, they have to chose something from the menu ....
is there no way to get the $ref field to compute immediately upon creation of the response document
U save and open the response doc.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If the doc ids on the main documents are stored in a separate field - e.g. "myDocId", text, computed, @Text(@DocumentUniqueID) - you could inherit this field upon creation instead (store it in e.g. myParentsID).
The technique is sometimes used as part in an effort to secure structural integrity: if response documents are cut/pasted to other parent doc's $Ref on the responses will change. Your inherited field however will still point to the original parent.
The technique is sometimes used as part in an effort to secure structural integrity: if response documents are cut/pasted to other parent doc's $Ref on the responses will change. Your inherited field however will still point to the original parent.