IBM / paxapi

This repository hosts the API documentation for IBM Planning Analytics for Microsoft Excel. For full product documentation, please visit the Knowledge Center:
https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/kc_gen/com.ibm.swg.ba.cognos.ipa.doc_using_planning_analytics_toc-gen2.html
Apache License 2.0
6 stars 5 forks source link

Improvement of example syntax for Publish function #28

Closed ericweissbrich closed 3 years ago

ericweissbrich commented 3 years ago

Bug Description The example syntax for publishing to a IBM Planning Analytics data source is misleading and contains a typo (function name, missing "'" and needless "/Contents").

Current code example is: ("https://myPAconnection.PlanningAnalytics.com", "C:\path\to\local\file.xlsx", "/tm1/Planning%20Sample/api/v1/Contents('Applications')/Contents('Planning %20Sample)/Contents", "PublishedFileName.xlsx", "My Description", "MyToolTip")

and should be changed to:

Publish ("https://myPAconnection.PlanningAnalytics.com", "C:\path\to\local\file.xlsx", "/tm1/Planning%20Sample/api/v1/Contents('Applications')/Contents('Planning %20Sample')", "PublishedFileName.xlsx", "My Description", "MyToolTip")

charliele-ibm commented 3 years ago

Documentation has been updated to reflect the suggested changes.