Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
how to Close window generated by iwgenerate
Migrateduser
Hi All,
We have a requirment which is as follows :
if cms id is not generated , xml should not generate (iwgenerate should stop)
Right now we have cms id , which is basically a unique value , which is generated through call server.
Now the issue is that cms id is generated when the user clicks on generate button.On pressing the generate button the following happens :
Even is triggere :
IWEventRegistry.addFormHandler("OnGenerate",handleNameDCR);
which calls : function handleNameDCR()
This function has code for saving and regenrating the page , as the dcr is new after this function function handle_savedone() is called which is callin an call server and returning a cms id
Now the problem is that the callserver returns back value after we have done return true in handleNameDCR function which is basically triggered on pressing generate.
due to this i am not able to validate if the cms id is generated and make the handleNameDCR function return true or false according to return value of the call server for cms id .
Is there any way i can check the value which the callserver has returned before the control go to the handleNameDCR function which is triggered on pressing generate where i am setting the return value as true or false.
Second option :
Can i close the window which pops up after iwgenerate is completed(basically generated xml )
Regards,
Abhishek
Find more posts tagged with
Comments
There are no comments yet