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.

Increment a counter for each file dowloaded

Featured Replies

Hi

i use a field to store the path and name of files tha users can later download

i wan to [color:"red"] keep some trace of the visited pages an also the [color:"red"] files that has been downloaded

TO KEEP VISITED PAGES .. i sue

[FMP-InlineAction:

-db=visitedpages,

-lay=Detail,

page="{CurrentFormat}";,

Dbase=";{CurrentDatabase}";,

user=";{ClientUserName}";,

browser=";{ClientType}";,

date=";{CurrentDate}";,

time=";{CurrentTime}";,

ip=";{ClientIP}";,

-new]

[/FMP-InlineAction]

TO INCREMENT A COUNTER .. that`s the question

once the content of the fiel is showed in the page with

DOWNLOAD: <a href="[FMP-field:LocalPath]"><b>[FMP-field:FileName]</b></a>

( remark : that could be more that one link like that )

how i can increment one counter each time a user

select one of the available links to dowload ..

some ideas ?

thans in advance

Mon

If you look in the Sample Files forum for "CDML to Track browser hits on per record basis", you may find the answer. Then again, you may not.

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.