08-24-2010 07:23 PM - edited 03-14-2019 06:22 AM
Hello
I used create variable(s) as parameter then i can set this variable values in the Application.
Now my current requirement is more than one UCCX application how to use a common flag/parameter. Is there any way to achieve?
Please advice, it would be much appreciated.
Thanks
Regards,
Param
Solved! Go to Solution.
08-25-2010 12:32 AM
Hi
If you want to share info between applications, you have to store it in a common location. This could be:
1) An XML document, saved to the repository
2) A database if you have one handy (not the UCCX DB)
3) A session variable if it doesn't need to be 100% permanent
XML would be my choice in most deployments. There are examples in the CRS Script Repository of apps saving XML, take a look at those but bear in mind lots of them just write to disk which isn't a good thing. You want to save the XML doc to the repository by using a series of 'Get User', 'Auth User' and 'Upload Document' steps. There are a lot of posts on this forum about saving XML to the repository if you get stuck.
Regards
Aaron
Please rate helpful posts...
08-27-2010 02:59 PM
If you want it as a parameter because you like how that works and all that... then create a global application for this purpose, and use the Trigger Application step to read its values from within all other scripts.
Otherwise, listen to Aaron, that guy knows what he's talking about. I second the use of XML documents in the repo, or externally.
08-25-2010 12:32 AM
Hi
If you want to share info between applications, you have to store it in a common location. This could be:
1) An XML document, saved to the repository
2) A database if you have one handy (not the UCCX DB)
3) A session variable if it doesn't need to be 100% permanent
XML would be my choice in most deployments. There are examples in the CRS Script Repository of apps saving XML, take a look at those but bear in mind lots of them just write to disk which isn't a good thing. You want to save the XML doc to the repository by using a series of 'Get User', 'Auth User' and 'Upload Document' steps. There are a lot of posts on this forum about saving XML to the repository if you get stuck.
Regards
Aaron
Please rate helpful posts...
08-27-2010 02:59 PM
If you want it as a parameter because you like how that works and all that... then create a global application for this purpose, and use the Trigger Application step to read its values from within all other scripts.
Otherwise, listen to Aaron, that guy knows what he's talking about. I second the use of XML documents in the repo, or externally.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide