WebSite X5Help Center

 
Stephen C.
Stephen C.
User

Dynamic page - adding a document  en

Автор: Stephen C.
Просмотрено 648, Подписчики 2, Размещенный 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?

Размещено
4 Ответы - 2 Полезно - 1 Корректно
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

Читать больше
Размещено От Paul M.
Stephen C.
Stephen C.
User
Автор

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?

Читать больше
Размещено От 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

Читать больше
Размещено От Paul M.
Stephen C.
Stephen C.
User
Автор

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

Stephen

Читать больше
Размещено От Stephen C.