CyberSport Posted August 29, 2002 Posted August 29, 2002 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
CyberSport Posted August 29, 2002 Author Posted August 29, 2002 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
CyberSport Posted September 5, 2002 Author Posted September 5, 2002 Okay, have done the version 6 updater and still, no inline processing of the field. Any other advice?
skuli Posted September 7, 2002 Posted September 7, 2002 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...
CyberSport Posted September 9, 2002 Author Posted September 9, 2002 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
Anatoli Posted September 9, 2002 Posted September 9, 2002 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.
Recommended Posts
This topic is 8187 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now