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)
extract a dcr using javascript
sri11
Does anyone know how to read the data from the dcr and populate in a form using javascript ? I can directly open the dcr (by double clicking it), but then the is data is read-only. I apologize, if this has been discussed in the past. Thanks for your help.
Find more posts tagged with
Comments
gzevin
you better describe your scenario and intended use a bit better, it very unclear what you are trying to do
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
sri11
hi greg,
i create a dcr thru forms API by extracting different fields from the form. What I want to do is read the DCR I created and populate the form (to allow my
users to edit the dcr). I do not know what API to use. Thanks,
gzevin
well, it's still not clear.
how do you create a DCR using formAPI? DCR is created by the DCT after it's saved.
if you want to pre-populate a DCR from fields of another DCR, this could be done via workflow.
please be more specific. Possibly, describe all the steps in the process one by one
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
akshathp
Sri11,
I don't think you can do file read writes with JavaScript at all. So maybe what you are trying to do using javascript is not possible.
As Greg suggested, you could use Workflow based approach and run some external task scripts to achieve this.
-Akshat
Akshat Pramod Sharma
Michael
I've used JavaScript and ActiveX objects built into IE such as Microsoft.XMLDOM, Msxml2.XMLHTTP, Microsoft.XMLHTTP to read other DCRs in TeamSite- not write though...
However I have no idea if this is what is trying to be achieved in this case -- it is really unclear.
Cheers
Michael
sri11
Hi Guys,
Thank you for your posts. For some reason, I could not see the edit link for dcr, thats why I was looking for ways to load it from javascript. I am now eble to edit it directly. Thanks,
ReportEngine_2009_01_21_12_51_29.log.zip
Michael
Thanks for clarifying!!!