Uploading a TM1 Application through the REST API
Posted: Thu May 09, 2019 4:21 pm
Hi,
Currently I have the REST API configured for CAM security mode 5 and I'm able to execute various GET, PATCH, DELETE, POST API calls just fine. I am able to query cubes, update cells, etc.
However, I've turned my sights to trying to allow the non-Admin users the ability to update Excel based reports/workbooks within Perspectives. Currently without Admin, I believe the ability in Perspectives to Upload or Update is not allowed. Users can save, make changes to reports that are uploaded in the TM1, but then need an Admin to update those changes back to see them reflected in Perspectives.
I am trying to see if there is a way to provide the user with a solution to upload or update a report/workbook that would execute a REST API call or series of calls.
They would save the report to a local location, make changes, and then use a button/webpage to update or upload the report back. Credentials and nonAdmin rights shouldn't be a problem because we could encrypt and store a generic ID which is an admin to execute the REST API commands.
I have looked through the documentation and forums, but am not returning anything related to what I'm thinking about.
I see there are ways to perform a GET on reports and objects within the Applications folder. However, it'd be nice to see if there was a way to make changes to those objects and POST, PATCH them back in some fashion without asking for an Admin to update or upload back to TM1.
Currently I have the REST API configured for CAM security mode 5 and I'm able to execute various GET, PATCH, DELETE, POST API calls just fine. I am able to query cubes, update cells, etc.
However, I've turned my sights to trying to allow the non-Admin users the ability to update Excel based reports/workbooks within Perspectives. Currently without Admin, I believe the ability in Perspectives to Upload or Update is not allowed. Users can save, make changes to reports that are uploaded in the TM1, but then need an Admin to update those changes back to see them reflected in Perspectives.
I am trying to see if there is a way to provide the user with a solution to upload or update a report/workbook that would execute a REST API call or series of calls.
They would save the report to a local location, make changes, and then use a button/webpage to update or upload the report back. Credentials and nonAdmin rights shouldn't be a problem because we could encrypt and store a generic ID which is an admin to execute the REST API commands.
I have looked through the documentation and forums, but am not returning anything related to what I'm thinking about.
I see there are ways to perform a GET on reports and objects within the Applications folder. However, it'd be nice to see if there was a way to make changes to those objects and POST, PATCH them back in some fashion without asking for an Admin to update or upload back to TM1.