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)
CGI Error
Bhargav Coca
TS6.5 sp2 on windows. I have this old perl code which i am using as a Inline to get my "Categories"to populate my filed in my DCT.
The CGI basically called is a standard 2 box set up where you add list form one box to an other box and clikc save.
This save calls this function and the field is populated as defined in the snippet below.
what is Ironic with this code is , it works perfectly alright in production and does not work in my QA env. ( Everything is same from top to bottom no changes in datacapture, nor fields name nor the loation of the script) nothing changes. I don't know where this is going wrong. the error i get is as shown in figure below.
Please point me where i can possibly go wrong.
Thank You
function sendNames ()
{
var nameListSelect = document.getElementById("list21");
var api = opener.parent.getScriptFrame();
var nameList = "";
for (var i=0; i if (nameList == "")
nameList = nameListSelect.options
.value;
else
nameList = nameList + "," + nameListSelect.options
.value;
window.alert(nameList);
api.IWDatacapture.getItem("/ProductCategories").setValue(nameList);
self.close();
}
Find more posts tagged with
Comments
Bhargav Coca
I figured it out, My relative path to get the DCT item was wrong. Changes were made to the DCt with out my knowledge.
Thanks You