Legacy Dev Forum Posts

 View Only

Sign Up

Dynamic icon from different Org in one html page

  • 1.  Dynamic icon from different Org in one html page

    Posted 06-05-2025 18:36

    SeowLengNg | 2022-12-20 09:34:43 UTC | #1

    Hi,

    Good day! I would like to know is there any way we can dynamic launch the Web Messaging window/flows which are from different organizations setup in one html page? I have tried to use the Launcher plugin method but it only works for one html deployment code. I have 2 deployment codes need to add into same html page in order for me to auto launch the Web Messaging flows.

    My scenario is:

    When user select English language in html page, we need to launch the message flow from US Org whereas if user select Japanese language, we will launch the other messaging flow which is from APAC Org?

    Kindly advise?

    Best Regards,

    Seow Leng


    Angelo_Cicchitto | 2022-12-20 09:54:24 UTC | #2

    Hello - it might be easier to use a single Deployment, and just pass the selected language a participant attribute into the Flow: then your flow logic can part the attribute and determine language of choice.


    SeowLengNg | 2022-12-20 10:14:10 UTC | #3

    Hi Angelo,

    We can't as the agents are from different Org.

    Is it possible to transfer message flow to different org?

    Best regards,

    Seow Leng


    Angelo_Cicchitto | 2022-12-20 14:00:33 UTC | #4

    Are you sharing the same website and domain across different geographies and GC orgs? Typically I see either domain or URL to update based on end-user's location, in case GC orgs are used across different brands/businesses: in that case it would be easy for your tag-manager to trigger the correct script (based on domain or page-url).


    SeowLengNg | 2022-12-21 06:43:05 UTC | #5

    Hi Cicchitto,

    Yes, they are sharing the same URL & domain. They only have one URL web portal. Is there any method we can try via Genesys API, is it possible to trigger the deployment code in html after the user selection?

    Best regards,

    Seow Leng


    Angelo_Cicchitto | 2022-12-21 13:22:08 UTC | #6

    If you are somehow forced to use different deployments / orgs, you could consider to detect the language of choice, store that language preference in browser then reload page: upon page load & page transitions, your custom logic/tag-manager can easily detect preferred language (stored in browser) and execute the corresponding script. This is all custom development, all outside the product.


    SeowLengNg | 2022-12-22 02:05:51 UTC | #7

    Hi Cicchitto,

    Noted with thanks!

    Best regards,

    Seow Leng


    John_Carnell | 2023-01-03 15:02:01 UTC | #8


    This post was migrated from the old Developer Forum.

    ref: 17705