I know how to set thumbnail or link to pdf on the advanced search and view tag.
is it possible to show the link on the list page and still show the preview on the view page?
Would it had to be something like disabling pdfobject on the list page? How can I do this?
Thanks in advance
in your list-page
Page_Render() {
$this->ExportOptions->HideAllOptions();
OR
$this->ExportOptions->Items[‘pdf’]->Visible = false/true;
}
It seems we’re talking about different things?..
It has nothing to do with exporting. I’m talking about pdf thumbnails/links that are a result of an upload field on the list table.
I would like to be able to see just the link and not the thumbnail AND see the image preview on the view page. These options separatly I can achive with no problems, but I would like to combine them.
on the list page… to display the object as a url or thumbnail…
[Fields Tab]-[View Tag]
2 options
IMG Tag Attributes
Div Tag Attributes
select the DIV Tag Attributes, that will display the link instead of a thumbnail.
As I mentioned before, i know how to do what you’re suggesting, but what I choose there replicates both on the List and on the View pages and I want them to be different.
Would like to:
- List page show link
- View record page show the preview
And I’m talking only about PDF’s and that’s why I mentioned PDFObject and possibly disabling it on the list page.
Any of those options work well separately, but I would like to combine them.
I really appreciate your help. Maybe it’s clearer for you now what I’m looking after
You may use Page_Load server event to set:
Config(“EMBED_PDF”, TRUE); // or FALSE according to the requirement of the page
Thank you! It worked great!