REST API call in OpenText TeamSite
Is there any way to call REST API in TeamSite? For example in .Net application we can use visual studio solution and call REST API via HTTPClient but working pattern in TeamSite is completely different. TeamSite has one admin portal where we can see files organized in tree structure for example index.aspx but there is no VS solution to write any code. It keeps everything in admin portal. The only way is using inline code approach as explained in Write Inline code
Is there any better way that TeamSite support for REST API call. Basically we need to call REST API which will return data in JSON format and set data in JavaScript variable. We need to use returned data for further processing for all pages
TeamSite version: 20.2.0.5
Comments
-
I have asked @Venkataramaiah Pinnenty to review your inquiry @Sukhjeevan
0 -
Sure @Karen Weir @Venkataramaiah Pinnenty
I was able to implement REST API call by adding new .aspx page with
<script runat="server">
tag. Apart from this I want to know if there is any approach to maintain environment variable and access those per environment in TeamSite since REST API domain will vary per environment.0 -
@Karen Weir @Venkataramaiah Pinnenty
Is this forum active?
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.