It's all about the answers!

Ask a question

need a service a client can call to get server parameters

sam detweiler (12.5k6195201) | asked Sep 06 '11, 12:14 a.m.
thanks to some help, I now have by server side parameters defined and configurable as part of the advanced properties on the Jazz server (ccm)

two of those parameters are needed by the web and rich clients as well.
I haven't found a direct api to access these kinds of parameters.

looking thru the source, I think I could create a 'service' that the client could interact with..

anyone have a sample service they created and the client access to same?

thanks for any info..

to store parameters on the server, you need to add parameters to your plugin extension definition.

you need to tell the system that you HAVE parameters
by adding a section to your plugin xml.

<component id="idididididi"

if your id string matches one of this already specified, then your parms will show up in that section too..

then in your plugins prereq section you need a definition for the parameters,
also see the link below.

description="the number of minutes defined for the Salesforce Org connection timeout"
displayableName="salesforce session timeout"

then u can access those parameters by calling
where the property name matches the parm 'name' in each section.

there are 4 types of parms,
string, int, boolean and long

as documented here

you can also provide a validator method to check when these parms are edited at the server UI.

2 answers

permanent link
sam detweiler (12.5k6195201) | answered Sep 09 '11, 10:08 p.m.
Ok, solved.. thanks for the help.., net was missing a plugin.xml for the interface plugin.



permanent link
sam detweiler (12.5k6195201) | answered Sep 07 '11, 12:17 p.m.
and I have the server side 'service' running, and callable from the server..
spent 3 days wasted using the samples which really don't apply anymore,
sure wish there was a good design doc and reference material on how this thing works... people send me links to the library and wiki, but I can't find these docs on my own.. I try to reverse navigate, but the links are not found in the material I see..

But, now I need to make a client call work..

is such a client accessible service. I just can't find where it is setup
and how to get a reference to it (from the client position I am in, in

anyone have any clues?



Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.