BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Integration for google map in BAW

    Posted Fri June 25, 2021 09:40 AM
    Edited by Stephanie Wilkerson Fri June 25, 2021 09:40 AM
    Hi Team

    My Requirement  is to  integrate google map in case when ever some open the case .please let me know how it can
    be achieve.

    Regards
    vikash Sharma

    ------------------------------
    vikash sharma
    ------------------------------


  • 2.  RE: Integration for google map in BAW

    Posted Mon June 28, 2021 09:53 AM
    Hi Vikash,

    Have you done your training in developing coach views in IBM BPM? if not please do and then read Googles docs to integrate https://developers.google.com/maps/documentation/javascript/adding-a-google-map#maps_add_map-html

    Regards,
    Thong Huynh

    ------------------------------
    Thong Huynh
    Sydney NSW
    ------------------------------



  • 3.  RE: Integration for google map in BAW

    Posted Mon June 28, 2021 03:30 PM
    Edited by DAVE PERMAN Mon June 28, 2021 03:30 PM
    If you are using the case widget pages as opposed to the new Client-side Human Service case page option recently added, you can do the following:

    • Script Adapter Widget on a Case Details Page wired to Page Container Controller Widget
      • Display a map in the Website widget based on a case property value
        • Add a Script Adapter and a Web Site widget to a Case Details page
        • Wire the Page Container's Send Case Information event to the Script Adapter's incoming Receive Event Payload event
        • Wire the Script Adapter's outbound event to the Web Site widget, passing a URL that contains address data from a case property
        • Enter the script below

        • var theCase= payload.caseEditable.caseObject;
        • var location= theCase.attributes[this.solution.getPrefix()+"_Location"];
        • var mapURL = "\/\/maps.google.ca/maps?output=embed&q=" + location;
        • /* alert (mapURL); */
        • return mapURL;

    Make sure your browser/server is happy with embedded content from other sources.

    ------------------------------
    DAVE PERMAN
    ------------------------------