Skip to content

SAP-Custom-Widget/MyIpAddressWidget

Repository files navigation

SAP Custom Widget: My Ip Address Widget

SAC Custom Widget to get Ip address, country, city, zip etc

preview

Installation

To use this widget in your SAP application, follow these steps:

  • Download the MyIpAddressWidget.json file from the URLs specified in the webcomponents property of the JSON.
  • Go to your SAC Portal, select Analytic Application from the left side bar, and then go to the Custom Widget tab.
  • Click on the + icon on the right side and select the MyIpAddressWidget.json file that you downloaded.
  • You're done! You can now use it in your app.

Methods

The widget has the following methods:

get Methods

Method Return Type Description
getIpAddress() string return Current IP Address
getCountryName() string return Current Country Name
getCountryCode() string return Current Country Code
getCityName() string return Current City Name
getZipCode() string return Current City Zip Code

About

This widget is developed by Rohit Chouhan

About

SAC Custom Widget to get Ip address, country, city, zip etc

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors