WebSite X5Help Center

 
Stephen C.
Stephen C.
User

Dynamic page - adding a document  en

Autor: Stephen C.
Besucht 649, Followers 2, Geteilt 0  

I have a page with Dynamic so that a named user can login and edit the text, and even add images.  Is there any way to allow them to add a link to a pdf document?

Gepostet am
4 ANTWORTEN - 2 NüTZLICH - 1 KORREKT
Paul M.
Paul M.
Moderator

Hello Stephen,

Your users will be able to use the button highlighted in the screenshot below to add links, not only to PDF files, but any publically accessible file on the web.

Kind regards,

Paul

Search the WebSite X5 Help Center

Mehr lesen
Gepostet am von Paul M.
Stephen C.
Stephen C.
User
Autor

Not quite what I was trying the achieve, as this assumes that the document is already online somewhere.  With images, the user can select an image on their local PC which is uploaded with the link. That's what I would like to be able to do with a pdf, but the standard link button which you highlight only permits a link to something already on the web.  MAybe it's not possible?

Mehr lesen
Gepostet am von Stephen C.
Paul M.
Paul M.
Moderator

Attaching/inserting PDF files is not currently possible in the Dynamic Content Object...  you can only link to them.

You could place a Contact Form Object with an Attachment File field somewhere on your site (perhaps even on the same page):

If you select 'Send data to a Database' on the Send tab of the Contact Form Object then any PDF files which users attach will be uploaded to the folder on your server which you have nominated as the Writing Access Folder in Step 1 Settings > Advanced > Data Management

Once the file is on your server then it can be linked to in the Dynamic Content Object, thus:

http(s)://your_domain_name/writing_access_folder_if_specified/name_of_PDF_file.pdf

Mehr lesen
Gepostet am von Paul M.
Stephen C.
Stephen C.
User
Autor

Thanks Paul - I'll have a look at that to see if it might offer some sort of solution.

Stephen

Mehr lesen
Gepostet am von Stephen C.