CA Service Management

 View Only
  • 1.  ca_fd.js Custom script issue

    Posted Jul 07, 2020 05:20 AM
    I am facing a weird error in one of the Custom Javascript functions.
    We have an onboarding form that has multiple offerings and each offering have forms with custom scripts defined in the script section
    e.g.
    Restrict onboarding form has a function restrict_items
    Display Headset has a function get_selection_item
    and some more such function
    During the load only one of the custom script gets loaded, it is not consolidated. 
    Any way to fix this?
    is there a workaround for this?

    Or is this the restriction


    ------------------------------
    Pre-Sales Consultant
    CA Southern Africa
    ------------------------------


  • 2.  RE: ca_fd.js Custom script issue
    Best Answer

    Broadcom Employee
    Posted Jul 07, 2020 06:23 AM
    How are you loading these scripts - from a custom scripts javascript file, or embedded in the form itself? Either way, even if the scripting is loaded, the scope of the script is its own form, not any other one; you'll need to perform manual scope changes to reference the others.

    regards
    Iain