Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to refer DCR element in TS 6.5
motlnt
Hi All,
I am facing an issue in referring to one of the DCR element.
The field is a replicant field.
In TS 5.5.2, I was refering this field as,
window.opener.top._dcWin.formframe.document.dcreditForm['Attachments/0/nme_file_path']
and I was trying to set a value for this element.
This is working fine in TS 5.5.2
But the same code is not working in TS 6.5,
It is throwing an 'Internal Server error'.
any comments?
thx in advance,
MJ
Find more posts tagged with
Comments
cliffhanger
Are you trying to do this in your JavaScript?
Then you could try IWDatacapture.getItem("/Attachments[1]/nme_file_path").setValue();
Edited by cliffhanger on 05/10/05 11:22 AM (server time).
motlnt
thx for this..
but when i write this code in my .js file...it says IWDatacapture is unidentified...
any comments?
MJ
cliffhanger
Where does this .js reside and from where do you call this .js?
My initial assumption was that you have a DCT that references a .JS script and you were trying to set a value to a container item in that .JS.
Is my assumption wrong?
motlnt
No,
Here is the scenario..
From my DCT I am calling an upload.ipl (as in a popup) which refers to this .JS file.
Now this .JS file is not able to identify IWDatacapture.
MJ
cliffhanger
Sorry, my assumption was that this .JS was invoked directly from the DCT, not from a cgi-callout.
In case of your javascript code from the cgi-callout, that would be opener.parent.getScriptFrame().IWDatacapture.getItem(ITEM_NAME).setValue();