Hi guys,
Do you know if we can open a specific mimic using a specific URL?
I think we an do it but I don't remember how :S
Don't we have this feature implemented on our Web Portal demo?
Hello,
In order to specifiy a mimic we need to use the OpenCustomSession (see in the WST_DeveloperManual. Then you can give a specific mimic in parameters.
The problem is that OpenCustomSession will open a session, so it will be necessary to close it.
BR
Hi Florent,
I checked the WST_DeveloperManual and didn't find any example of the url to use.
Can you give us one please?
Hello Nicolas,
You asked one Florent, and it's another one who answers...
Our web services are ASMX web services, ASMX web services use SOAP, and SOAP requests use only POST to invoke methods. That means you can't call them through an Url with the parameters in it (GET method).
In addition, the OpenCustomSession uses a complex datatype (parameters), and which can't be described through the url.
What do you intend to do ? Which language are you using?
Hi Florent,
Thanks.
Checking on Internet how to make a POST request using a browser.
I found that you can make a HTML page containing a form. Here you can fill up the parameters and submit.
That's my form:
-
-
-
But when I submit it doesn't work too :unsure:
That question came from Nono. I will check with him what he wants to do exactly...
Here is a sample page I just made
UserName :
Password :
projectLanguage :
SessionId :
First line: it's mandatory to include this file
Form: you have to put the name of the function you want to call in the url
The CloseSession is working fine, but the OpenSession doesn't work on my side.
Ok thanks
Hi everyone,
I re-open this discussion. I have a question from one of my customer?
How I can open a specific WebVue Mimic (with automatic login/pswd) over a QR Code?
So my question is : How can I open a specific WebVue mimic with a specific URL.
or
Can we attached a specific URL to a Specific WebVue Mimic?
I try the Florent's example, but my skills are to low for this.
Thanks
Manu
Hi Manu,
I confirm that using SessionContext.OpenCustomSession() is still the only way to navigate a user to a specific mimic when opening WebVue.
In your case you could consider to create a database which associates the data encrypted in the QR-code to a mimic/branch combination (or you could probably also directly store the mimic/branch names on the QR-code). Then, after scanning the code, you pass the code to the database and get the mimic/branch names in return. Open a session over the web services toolkit by using SessionContext.OpenCustomSession() and pass the session id into WebVue. I have explained here how to achieve that.
By the way: We are also about to start working on a feature like the one you have described in the context of TouchVue. If your customer does not require graphical mimics, but pure data to be associated with the QR-code feel free to contact me for further details.


