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)
Data deploy
motlnt
While calling MT UI from within the DCR, i am trying to call the save method which is written using the customized Form API before calling for MT UI.
So, once the save is done, i call the following method written using Form API
function setMetadata(dcrPath) {
var server = window.location.hostname;
IWDatacapture.callServer("http://"+server+"/iw/webdesk/tag?vpath="+dcrPath);
alert("Setting Metadata");
}
This method calls the MT UI and i could save the metadata for the DCR.
But the problem is that i need to datadeploy the metadata saved. But the way of saving the metatagger UI is an asynchronous way of saving the metadata. If i try to call the data deploy script after calling this method, it goes and calls the tag method and opens up the MT UI and then goes ahead and displays the alert and then the data deploy script. The data deploy script does not wait for the metadata to be saved as opening MT UI and saving is an asynchronous task...
What extra i need to do so that data deploy script waits for the metadata save to be completed.
Thanx in advance!!
Find more posts tagged with
Comments
vanesh
Hi,
i have a similar requirement and want to know if you found some solution for this ?
thanks & regards,
Vanesh