The web service calls categorized in this section are related to exporting and importing content. The web service API is restricted to exporting or importing the following types of content:
- Report
- Report category
- Report subcategory
- Data source
- View
- Dashboard
- Transformation flow
Web service calls related to exporting content involve an object called ContentResource. (Refer to the object definitions for more details on this object.) In order to import content using a web service, you would need a YFX or XML file. This is retrieved by calling the EXPORTCONTENT function, or using Yellowfin's export functionality. Note, however, that a file generated via this functionality will contain more content types, than those currently supported by the web service API.
Tips & Tricks
- The basic function for exporting is GETCONTENT that returns content details in the ContentResource object, which can further be used with other web service calls to import, export or validate content.
- Instead of searching for dependencies manually, use the GETEXPORTDEPENDENCIES to get a list of dependencies, and then pass them to another call.
- To retrieve a Yellowfin XML file, create an array of ContentResource objects and call the EXPORTCONTENT. You can proceed to import this file in another Yellowfin environment as well.
Limitations
Currently the a few types of content cannot be imported via web services: images, themes, storyboards, users and user groups.