gumaction Posted May 2, 2002 Posted May 2, 2002 Hi. Does anyone know if it is possible to reference a field from the host page when writing an inline action. There seems to be very limited info on intratags and how you use them. I have entered the page under -db=db1 and are using the field rel1 to build the relationship to db2 where db1.rel1 = db2.rel2 (do you get what I mean??) I want to open db2 from inside the page that uses db1 - so I am using an inline action - but I need to use the field rel1 in the find request of the inline action. i.e. [FMP-inlineAction: -db=db2, -lay=lay2, rel2={field: rel1} - its this bit that I am not sure about. I hope some one can understand this and can help Thanks in advance Lewis.
The Bridge Posted May 2, 2002 Posted May 2, 2002 Your intratag looks fine. Have you tried the complete InlineAction on a page? If so, what were the results?
Jeff Spall Posted May 2, 2002 Posted May 2, 2002 Hi, I'm using fields to define inline actions: This one works for me: [FMP-InlineAction: -DB=days, month="{FMP-Field:month}",-lay="layout1", -Find] [FMP-RECORD] <IMG SRC="[FMP-Field:picturepath]" ALIGN=top><BR> [FMP-FIELD: picturecaption2] [/FMP-RECORD][/FMP-InlineAction] .....and it looks just like yours. You only need to define the layout if any of the fields in your inline are related or in a portal. regards, jeff
scratchmalogicalwax Posted May 2, 2002 Posted May 2, 2002 the general rule is that tags from an inline will be available in the opening tag of the nested inline eg [inline 1 db=db1] Values from DB1 are available here [inline 2 db = 2 Values from DB1 are available here] Values from DB2 ...........Values from DB1 are not available here unless they were set to tokens in the opening tag of this inline (or set to variables if you are using Lasso) [/inline2] [/inline1] hope this helps
Recommended Posts
This topic is 8233 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