Skip to content

Commit

Permalink
Update simplifierConnectors.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyduncan committed Apr 15, 2016
1 parent e45d108 commit cdac744
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs_simplifier/simplifierConnectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ You can also create a connector for your own personal use or for publication and
3. Click on “Connectors” in the portal menu.
4. Click on “Create”.
5. Fill in the metadata for your connector under the "Properties" tab.
6. Use the “Script Editor” tab to write the actual script. **Note:** You have to write your script using Javascript. To find out more about writing the actual script visit the `Connector Scripts <http://docs.simplifier.net/en/latest/docs_simplifier/simplifierWriteConnector.html>`_ page.

6. Use the “Script Editor” tab to write the actual script. **Note:** You have to write your script using Javascript.


Example:
Expand All @@ -35,6 +34,8 @@ You can also create a connector for your own personal use or for publication and
window.location.href = "http://example.com/createExample?profile="+simplifierServer.ResourceEndpoint+"&callbackurl="+returnUrl;
This script sends the FHIR endpoint of the resource to example.com. Example.com then retrieves the profile and creates an example instance.

To find out more about writing the actual script visit the `Connector Scripts <http://docs.simplifier.net/en/latest/docs_simplifier/simplifierWriteConnector.html>`_ page.

7. Once you are satisfied with your input, click on “Save”. The connector is then created and will be visible in the “Connectors” tab of your personal portal.
8. To submit your connector for publication, open the connector from your "Connectors" tab and click on “Request Connector Publication” in the upper right. Your connector will then be submitted for review by the Simplifier administrator. Once the connector is approved it will be available in the shop for use by others. **Note**: The Simplifier Administrator reviews all connectors submitted for publication to ensure the quality and security of all content.
Expand Down

0 comments on commit cdac744

Please sign in to comment.