1 of 1 people found this helpful
- Using the data tab of the inspector, the container field object on your layout must be "optimized for interactive content".
- The interactive container cannot be located inside a portal row.
That was the problem, it is in a portal. Thanks
If you need the container in the portal, I suggest you put a pop-up button in the portal next to the container, and also place the container (interactive content) in the pop-up. It should then work from the pop-up.
But keep in mind that you will need to set up a script and possibly a relationship in order to get the correct file to appear in that popover's container field.
Assume I have the right relationship setup what might a script look like to accomplish this? Thanks
Let's not assume that as the right relationship and script go hand in hand.
Say you have this relationship for your portal:
LayoutTableOccurrence::PrimaryKey = PortalTableOccurrence::ForeignKey
You'll need to make a new occurrence of the portal's table and link it to a field in the layout's table to use with the popover:
LayoutTableOccurrence::SelectedRecordID = PortalTableOccurrence 2::PrimaryKey
Then your script to open the popover might look like this:
Set Field [LayoutTableOccurrence::SelectedRecordID ; PortalTableOccurrence::PrimaryKey ]
Go to Object ["PopoverPanelObjectNameHere"]
Then put a container field from PortalTableOccurrence 2 inside your popover's panel.
Hi. I'm having a problem with opening a PDF once it has been inserted into the container field. The option to insert a PDF is grayed out even though I have Adobe Acrobat XI Pro on my computer. I can insert the PDF with "insert file" and it shows up in the container box. However I can't open it.
I checked the data tab of the inspector, and the "optimized for interactive content" is selected.
And is it located inside a portal row? That won't work as I've pointed out at the beginning.
You would not use Insert File for a PDF if you want to view it's contents in the container field.
No, it's not in a portal row. How do I get the pdf into the container field?
Insert PDF should be the option to use to insert it if you want to view every page of the PDF in the container field and not by exporting a copy of the file to open in your system's default application for PDFs. (That's the other option you can use for this.)
The Insert PDF option is grayed out.
I know, but it's the step to use. I just can't tell from here why it's greyed out for a field optimized for interactive content and located outside of a portal.