Hi All,I have DCT field(s) that gets populated after the callout. Here's the code:-Now, I need to make this field readonly so user can't change the field. I have tried following but with no luck. Any help would be or point me to right direction would be great. Thank you.This above makes field readonly but doesn't get populated.This above makes field readonly but doesn't get populated again.I tried Formapi to setReadOnly(true) but no luck there too. Env- TS 6.5 Win2003PS - Sorry for code posting in message. I have attached code and message in txt file for reference.
Hi All,I have DCT field(s) that gets populated after the callout. Here's the code:-<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <text> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </text></item>Now, I need to make this field readonly so user can't change the field. I have tried following but with no luck. Any help would be or point me to right direction would be great. Thank you.<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <readonly/> <text> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </text></item>This above makes field readonly but doesn't get populated.<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <readonly> <text> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </text> </readonly></item>This above makes field readonly but doesn't get populated again.I tried Formapi to setReadOnly(true) but no luck there too. Env- TS 6.5 Win2003
<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <text> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </text></item>
<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <readonly/> <text> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </text></item>
<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <readonly> <text> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </text> </readonly></item>
<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <inline command="E:\Interwoven\TeamSite\iw-perl\bin\iwperl E:\Interwoven\TeamSite\custom\bin\current_user.ipl"/> </item>
<readonly/><text> <default>your desired value</default></text>
<item name="CurrentUser" pathid="CurrentUser"> <label>CurrentUser:</label> <text/></item>