HPE Anywhere Developer Forum
Showing results for 
Search instead for 
Do you mean 

Is there any API to get value of general settings?

SOLVED
Go to Solution
Frequent Advisor

Is there any API to get value of general settings?

Hi All,

 

    Login into the admin console, switch to Settings tab, here is the general settings. 

    Now, I want to get the value of Common web context for apps, is there any API to get this.

 

    Thanks in advance.

Simple is best
4 REPLIES
Highlighted
Honored Contributor

Re: Is there any API to get value of general settings?

Hi

Yes, there as an HP Anywhere API to do it. Please use the getAdminSetting Method.

 

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
Frequent Advisor

Re: Is there any API to get value of general settings?

Thanks Gutin. But I don't know the categoryId and settingName. How can I get them? Actually, this value is not come from mini app, it is the framework configuration, I think.

Simple is best
Honored Contributor

Re: Is there any API to get value of general settings?

Hi
The category name is "diamond" and you are interested in the setting id "miniapp.common.context".

The full list of settings could be seen by executing REST:

http://localhost:8080/diamond/rest/api/V2/categories?nested=true

 

 

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
Frequent Advisor

Re: Is there any API to get value of general settings?

Thanks very much, Gutin. Works for me.
Simple is best