UCCX 7.0.1- need for a common flag or parameter to use more than one application

Answered Question
Aug 24th, 2010
User Badges:

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

Correct Answer by Anthony Holloway about 6 years 10 months ago

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.

Correct Answer by Aaron Harrison about 6 years 10 months ago

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...

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Aaron Harrison Wed, 08/25/2010 - 00:32
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

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...

Correct Answer
Anthony Holloway Fri, 08/27/2010 - 14:59
User Badges:
  • Purple, 4500 points or more

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.

Actions

This Discussion