Kentico Xperience 13 documentation and ASP.NET Core

Most documentation about running Xperience applications under ASP.NET Core can be found in a dedicated section: Developing Xperience applications using ASP.NET Core. The rest of the documentation still applies, but some code samples and scenarios might need slight modifications for Core projects.

Certain pages allow you to switch between Core and MVC 5 content using a selector located under the page heading.

All major differences between the MVC 5 and Core platforms are summarized in Migrating to ASP.NET Core.

×

Attaching files to pages

You may want to attach files directly to pages when, for example, your site is set up to list files attached to pages on a page. If you want to upload larger files, such as videos, to the system, media libraries are usually a better choice.

An advantage of page attachments is that you can attach files related to a page directly to the page. This means that they also stay with the page when you are moving the page elsewhere.

Viewing page attachments

To attach a file to a page

  1. Open the Pages application. 
  2. Navigate to the page to which you want to attach a file.
  3. Switch to the Properties -> Attachments tab.
    Displaying page attachments
  4. Click on New attachment. A dialog window opens.
  5. Choose the file that you want to attach to the page.
  6. Click on Open.

The system uploads the file to the page.


Was this page helpful?