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
------------------------------
Original Message:
Sent: Fri June 25, 2021 01:24 AM
From: vikash sharma
Subject: Integration for google map in BAW
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
------------------------------