Dear Formspider Team,

I would like to get URL in PreOpen event. Is there any API to do that ?

For example I have the following application url:

In API documentations I have found api_application.getbaseurl() but it gives me only:

How can I get whole URL?

Kindly waiting for your soonest response.

asked 26 Feb '14, 07:44

Khayyam's gravatar image

accept rate: 0%


If you need to get a parameter from the URL at application preOpen event, you can use api_application.getBookmark api. The bookmark part of the URL is everything after a #, so if you create your url like this: , then the getbookmark API will return msisdn=702000639. You can use this mechanism to give the application some startup parameters for example.

As far as i know there is no api to get the whole URL, but you could use a javascript function that you call using an external method to get it.
See this link to learn how to use external methods in Formspider:

Best regards,
Michiel A.


answered 27 Feb '14, 15:06

Michiel%20A's gravatar image

Michiel A
accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 26 Feb '14, 07:44

Seen: 1,644 times

Last updated: 27 Feb '14, 15:06

© Copyright Gerger 2017