API / Java Documentation

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

API / Java Documentation

Post by RussCraig »

Hi All,

I've read through a number of posts mentioning various Java functions and ProfoundUI API calls. Is there any form of documentation on these? Where could I find some more info?

For example, in the Version History I saw the following:
•Sessions can now be assigned a unique "workstation id" (i.e. job name) using query string parameter "workstnid".
•The session controller can automatically generate "suffixed" workstation ids when the "workstnid" and "suffixid" query string parameters are used. Similar to "Avoid duplicate names with other workstations" option in Client Access.

How would I go about implementing this?

Thanks.
There are 10 types of people in this world: Those who understand binary and those who don't.
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: API / Java Documentation

Post by Rob »

I have attached a PDF document describing how to use the new Workstation Id parameter in Profound UI.

You would use this to specify the workstation id within the link or shortcut that a user clicks on the start a Profound UI session.

I will post details of other Profound UI APIs to this forum shortly.
Attachments
Workstation Ids.pdf
(24.65 KiB) Downloaded 443 times
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: API / Java Documentation

Post by RussCraig »

Thanks for that info, that will help quite a bit.

I have a question though: I added the "workstnid" and "suffixid" to my URL, and the workstnid is functioning properly, but not the suffixid. Here is how my URL is formatted:

//myserver.com/client?workstnid=CLIENTX&suffixid=1

/client is a ScriptAlias that points to /profoundui/start.html.

I can open one session just fine, and it properly assigns the job name "CLIENTX". Now when I go to open a second session using the same link, it gives the error message PUI0031: Device not available.
Cause . . . . . : Device CLIENTX is invalid or in use by another Profound UI session.
Recovery . . . : Specify a unique device id for the session or use the option to prevent duplicate ids by appending a unique suffix.


Any ideas what could be wrong? Thanks.
There are 10 types of people in this world: Those who understand binary and those who don't.
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: API / Java Documentation

Post by RussCraig »

Currently using 2.1.2 and the suffixid is still not working for me. Again, the workstnid works fine, but I still get the duplicate device error. I have followed the directions in the PDF to the letter, but still cannot get this to work.

Are there any ideas as to why this is not working?

Thanks.


edit: I've tested this in IE8 v8.0.7600.16385, as well as Firefox v3.6.3. The error is identical in both.
There are 10 types of people in this world: Those who understand binary and those who don't.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: API / Java Documentation

Post by David »

We have been able to recreate this problem. It seems to work properly when using anonymous sessions, but not with system sign on sessions. We will advise when an update is available to correct the problem.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: API / Java Documentation

Post by David »

This issue is fixed pending release of version 2.1.3 in the coming days. Check your "Welcome" page from time to time -- you'll get an automatic notification of the update there when it's available.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests