User Tools

Site Tools


dev:app_store_-_create_services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:app_store_-_create_services [2016/06/03 14:16] – [Create service app] sudev:app_store_-_create_services [2016/09/30 12:43] (current) su
Line 1: Line 1:
-====== Create service hub app ======+====== Create a Service Hub App ======
  
 1.Log in into your account on [[https://appstore.intelligentplant.com/|Intelligent Plant Industrial App Store]] 1.Log in into your account on [[https://appstore.intelligentplant.com/|Intelligent Plant Industrial App Store]]
Line 22: Line 22:
  
 {{ :dev:1.png?direct&300 |}} {{ :dev:1.png?direct&300 |}}
 +
 +====== Modify Service Project ======
 +
 +1. Open web.config file and update //**ServiceAppId**// and //**ServiceAppSecret**// with the service app hub which you have created in the steps above.
 +
 +{{ :dev:service_app_vs.png?nolink |}}
 +
 +2. In the example a SQL repository is used to store user tokens, you could use the example model by modifying the connection string to use your SQL server or you could implement your own solution/ repository.
 +
 +3. Make sure you call app store debit api action to charge the user for the service.
 +
 +4. Modify the UI to fit your theme.
  
 ====== Create service app ====== ====== Create service app ======
Line 27: Line 39:
 1.Follow steps 2 to 4 above to create a service application. 1.Follow steps 2 to 4 above to create a service application.
  
-2.On "Add an Application Profile Step" (the one we skipped in step 5 above) add some screenshot and a description of your service you are going to provide.+2.On "Add an Application Profile Step" (the one we skipped in step 5 above) add screenshots and/or a description for your service you are going to provide.
  
 {{ :dev:3_servdev.png?nolink&300 |}} {{ :dev:3_servdev.png?nolink&300 |}}
Line 37: Line 49:
 4.On application settings page add "Application Redirect Url". The URL should be where your service hub is hosted, plus two parameters: 4.On application settings page add "Application Redirect Url". The URL should be where your service hub is hosted, plus two parameters:
 //"servicename"// - service name **must** match the name you gave your application //"servicename"// - service name **must** match the name you gave your application
-//cost// - how much your service cost+//cost// - how much your service costs
  
 For example if service hub is hosted on https://intelligentplant.com/servicehub, the "Application Redirect Url" would look like this: For example if service hub is hosted on https://intelligentplant.com/servicehub, the "Application Redirect Url" would look like this:
  
-https://intelligentplant.com/servicehub/?servicename=Alarm%20Report%20Service&cost=33+//https://intelligentplant.com/servicehub/?servicename=Alarm%20Report%20Service&cost=33// 
 + 
  
  
dev/app_store_-_create_services.1464963378.txt.gz · Last modified: 2016/06/03 14:16 by su