You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to read configuration settings from a workspace add-in

Received Response
19
Views
12
Comments
edited Nov 1, 2016 2:20PM in UI Extensibility 12 comments

Content

I'm trying to find the value of of a configuration setting (namely: EXT_CONSOLE_WS_PORT) so that I can use the REST webservice to do a screenpop:

WebRequest webRequest = WebRequest.Create("http://localhost:57575/screenpop?t=report&id=104152

The 57575 is the number I want from the configuration setting.

I can use ROQL to select it, but when I try:

SELECT * FROM Configuration WHERE Name = 'EXT_CONSOLE_WS_PORT'

from within Connect Object Explorer, I get:

There are no results for the provided query

That's what I get with or without the WHERE clause, so if seems that it is an empty table or access is restricted or it is the wrong table for this.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!