Launch an external website or call an external API in a context. In our case, the context is an application record we are in.
it means the LIC is used to integrate with other products.
let us discuss it with an example, in People appliation, WILSON's addresses (bill to and ship to) will be displayed on google map.
org's address
ibmbrasil
ibmpakistan
1. in people, filer WILSON
set WILSON's workplace as shipto billto addresses.
2. we will use google api to show marker on map for WILSON's addresses. B for bill-to and S for ship-to
(https://developers.google.com/maps/maps-api-list)
in LIC, new entry: LicPersonMap
URL: http://maps.googleapis.com/maps/api/staticmap?size=512x512&maptype=roadmap\&markers=color:blue|label:B|{BILLTOADDRESS.ADDRESS2},
{BILLTOADDRESS.ADDRESS3}\&markers=color:red|label:S|
{SHIPTOADDRESS.ADDRESS2},{SHIPTOADDRESS.ADDRESS3}&sensor=false
{} are used to call database values into url at runtime.
3. in application designer, create new signature option: SigPersonMap
associate with newly created LIC : LicPersonMap
4. in application desinger, create new Action: ActPersonMap
KEY VALUE: SigPersonMap
5. Grant newly created sig option
6. logout/login
we are done :)
to Test our example:
in people, filter WILSON,
see there is a new enty in select action ActPersonMap , click on it.
it will display a GOOGLE MAP with markers B and S for bill-to and ship-to respectively.
it means the LIC is used to integrate with other products.
let us discuss it with an example, in People appliation, WILSON's addresses (bill to and ship to) will be displayed on google map.
org's address
ibmbrasil
ibmpakistan
1. in people, filer WILSON
set WILSON's workplace as shipto billto addresses.
2. we will use google api to show marker on map for WILSON's addresses. B for bill-to and S for ship-to
(https://developers.google.com/maps/maps-api-list)
in LIC, new entry: LicPersonMap
URL: http://maps.googleapis.com/maps/api/staticmap?size=512x512&maptype=roadmap\&markers=color:blue|label:B|{BILLTOADDRESS.ADDRESS2},
{BILLTOADDRESS.ADDRESS3}\&markers=color:red|label:S|
{SHIPTOADDRESS.ADDRESS2},{SHIPTOADDRESS.ADDRESS3}&sensor=false
{} are used to call database values into url at runtime.
3. in application designer, create new signature option: SigPersonMap
associate with newly created LIC : LicPersonMap
4. in application desinger, create new Action: ActPersonMap
KEY VALUE: SigPersonMap
5. Grant newly created sig option
6. logout/login
we are done :)
to Test our example:
in people, filter WILSON,
see there is a new enty in select action ActPersonMap , click on it.
it will display a GOOGLE MAP with markers B and S for bill-to and ship-to respectively.
No comments:
Post a Comment