Hello all,
we are using the content services to pass over hidden field values to our DCT's (the xml gets updated in the background)
i need to check if the nodes have been updated via formapi javascript, but IWDatacapture.redraw(); doesnt seem to re-read the xml for new values
weve tried standard javascript but it doesnt seem to work either:
document.location.reload();
simply, i need to be able to have the user click on something in the DCT which will re-read the xml in the background (for new values i can check w/ formapi) without them closing then re-opening the form.
we are on TS 5.5.2 sp2 so i cant use the refreshForm() and refreshItem() methods...would those even work?
IWEventRegistry.addItemHandler("/Virtualize", "onCallout", sayHello);
function sayHello(item) {
var o = IWDatacapture.getItem("/initial_pf_sync").getValue();
if (o == "")
{
alert("You must click ''apply'' in the project form before you can virtual1ze!");
return false;
}
else if (o == "yes") {
alert("You may virtualize!");
}
}
In Por YlemJoin the most popular player-run UO shard