Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Passing TOKENS with LINKS - Capure token passed

Featured Replies

is this possbile?

pass the token using link and then on the page that accpets it - > capture it again? or the passing is done only by forms?

Y or N

thankyouhardworkingpeople smile.gif

Y

Both Y

In Lasso this is 1000 times easier. The costs of Lasso will be saved after 1 month of Token programming.

  • Author

OK great! How do we do the passing with links ? smile.gif

Lasso...I know but my budget is controlled by The Big Man...my boss

so no Lasso for me unless I want to use it to hang myself for ever saying I can program. If it was up to me and my skills I would have just done (yes the other one) ASP+ Access since that's what I know and at "0" cost...but nooooo Boss likes FM so HE can make some Layouts.... on the other side I AM LEARNING CDML which is always a + regardless of techniques!

My Project is a temp solution and we have been using IWP but...you know the limitations of that...so here I am in Forum looking for a few concepts that Work and some Security with it...that's all smile.gif

" How do we do the passing with links ?"

Pretty much the same as we do passing with a Form Action.

An example of a link (a href) which sets a token is provided in the CDML Reference Database.

  • Author

OK I tryed that but there is still an error...

<a href="-DB=Contacts.fp5&-Format=format.html&-Token=The+Token&-View">Set a token</a>

[1] I am confused with "The+Token" part..should that be [FMP-CurrentToken] if I have just "accepted" it and want to pass it to the "format.html"?

[2] to follow up - is it better to use Forms or Links...what compiles faster?

thanx...again smile.gif

[1]Not necessarily. A token could be set as FMP-CurrentRecID or FMP-Field:fieldname or a variety of FMP tags.

[2]No compilation difference. Form or Link is a matter of choice/need/style.

  • Author

{1} I thought that the only way to Capture Arrival Token ( now that I said it sounds like Tokens have a life ..LOL) is to use [FMP-CurrentToken]

...passing a token with a link to next page where link grabs it....hm interesting!

(2) nice..good to know every bit of Compiling speed is usefell!

Thanx Unable!

Most commonly a token is grabbed from a db file's record. It can then be passed from format file to format file, and ultimately back to a db file. The RecordID is one of my favorites to pass around as a token in many navigations. Beginning with versions of FMPro 5 + we have ability to handle up to ten tokens.

  • Author

great thats what I have been using to construst so far

see post

(http://www.fmforums.com/threads/showflat.php?Cat=&Board=UBB22&Number=58748&PHPSESSID=&fpart=1#Post58748)

If you like tokens...you would be Very happy with SessionVariables in ASP ( I know not this forum's topic smile.gif)

since you do not have to remember them nor pass them and yet can call them at any page any time...server does it for you...if you use Dremweaver(MX or UD) you dont even have to type it but click-drag-drop...nice ha!.....just a programming moment here smile.gif

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.