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.
Juggernaut

problem in 6 land?

Featured Replies

okay...i love it (er, not) when my clients jump ahead of me with better hardware and software. in this case, finished developing a site in 5.5 and they have 6. No problem, I thought. I'll just be able to add a little to it when I install, such as the cdml files folder. however, one of the cool features i've designed using inline action does not work using 6! i mean, the same EXACT files (DB and htm) and the inline action does not process in 6, only in 5.5. Here's the code, and if anyone can test it, that'd be super.

The link: FMPro?-db=calendar&-lay=master&-format=weekcalendar.htm&-view

The returned page's inline action: [FMP-InlineAction: -db=calendar, -lay=master, -findany][FMP-InlineAction: -db=calendar, -lay=master, -token={field:todayweek}, -view][fmp-currenttoken][FMP-InlineAction: -db=calendar, -lay=master, dateweek={currenttoken}, -token={currenttoken}, -find]

You don't need to see the rest of the code, just that there is the [fmp-currenttoken] tag sandwiched between the inlineactions. In 5.5, it returns the number of the current week (the field "todayweek") but in 6, it just returns: {field:todayweek}. Literally. No processing. The only relevant fields to test it out in a sample DB would be dateweek, which is the week associated with a particular record's date, and todayweek, which is the week of the current date. Thanks for any help! And are there new cdml tags in 6 that we haven't been told about? FMP techies didn't even seem to know...

Bevin

Do you have all updates?

  • Author

anatoli,

i tried, but the client had already sent the copy of the disk half-way across campus, and you need the disk to update in 6.0. i looked at the fix list, and it didn't mention any or provide an update to web companion, but i'll give it another whirl. thanks.

bevin

  • Author

Okay, have done the version 6 updater and still, no inline processing of the field. Any other advice?

I have been banging my head on the wall for the last few days with this exact same problem. Everything worked great working locally in v5.5 until I moved it all the files to the server running v6.0.

I installed 5.5 on the server, opened all my databases and guess what? My inline actions are all working again.

To clarify my situation, I have a page that has four separate inline actions on it. The first one on the page works, the next 2 didn't and the last on did. All of the inline actions are searching different databases. Go figure... confused.gif

  • Author

Okay, well I think I figured out the problem on my end.

It seems that FMP 6 renames all the files to end in .fp5, which is fine, but it throws off the inline actions, which interpret -db=central and -db=central.fp5 in much different ways. So, I just went back and fixed the affected inline action tags and I believe it has fixed everything.

Would this make sense to other inline action veterans?

Bevin

Thanks for the 'Heads Up'. smile.gif

Garry

Always use the full DOS or Windows names in all Mac solutions. One never knows when you will show that to PC client.

And use the full names for web in all CDML syntax.

Create an account or sign in to comment

Important Information

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

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.