Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Starting a web app using params from the URL
Thu, May 28 2020 8:33 PMPermanent Link

Paul Coshott

Avatar

Hi All,

I have completed the main web app for our local tennis club. The captains use the app to generate matches (depending on the players rating, gender and the match type).

Now I need to create a companion web app that they can display on a smart display with no user input. It will simply sit there waiting for a tennis event to open, and then display the matches for the latest set that has been published.

So my question is, how do I start my app from a URL that includes parameters. The only thing I'll need here is the ClubId.

eg: matches.tennispro.cloud:449/modules?clubid=1

How should the above be formed, and in my app, how do I read the url params so I can use them?

Thanks,
Paul
Fri, May 29 2020 12:39 AMPermanent Link

Paul Coshott

Avatar

I played around with url's opening my main web app, and I think something like the following might work.

matches.tennispro.cloud:449/?clubid=1

But I'm not sure how to pick up the clubid param value in my app.

Cheers,
Paul
Fri, May 29 2020 5:15 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Hi Paul,

Try to see if you can use Address.Params to get the value you are
interested in Smile

Regards,
Hüseyin

Den 29-05-2020 kl. 06:39 skrev Paul Coshott:
> I played around with url's opening my main web app, and I think something like the following might work.
>
> matches.tennispro.cloud:449/?clubid=1
>
> But I'm not sure how to pick up the clubid param value in my app.
>
> Cheers,
> Paul
>
Fri, May 29 2020 9:43 AMPermanent Link

Paul Coshott

Avatar

Thanks so much for the help. So simple when you know how! Appreciate it.

Cheers,
Paul

=?UTF-8?Q?H=c3=bcseyin_Aliz?= wrote:

Hi Paul,

Try to see if you can use Address.Params to get the value you are
interested in Smile

Regards,
Hüseyin

Den 29-05-2020 kl. 06:39 skrev Paul Coshott:
> I played around with url's opening my main web app, and I think something like the following might work.
>
> matches.tennispro.cloud:449/?clubid=1
>
> But I'm not sure how to pick up the clubid param value in my app.
>
> Cheers,
> Paul
>
Fri, May 29 2020 10:30 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

You are welcome Smile

Regards,
Huseyin

Den 29-05-2020 kl. 15:43 skrev Paul Coshott:
> Thanks so much for the help. So simple when you know how! Appreciate it.
>
> Cheers,
> Paul
>
> =?UTF-8?Q?H=c3=bcseyin_Aliz?= wrote:
>
> Hi Paul,
>
> Try to see if you can use Address.Params to get the value you are
> interested in Smile
>
> Regards,
> Hüseyin
>
> Den 29-05-2020 kl. 06:39 skrev Paul Coshott:
>> I played around with url's opening my main web app, and I think something like the following might work.
>>
>> matches.tennispro.cloud:449/?clubid=1
>>
>> But I'm not sure how to pick up the clubid param value in my app.
>>
>> Cheers,
>> Paul
>>
Image