Try our conversational search powered by Generative AI!

Adding attributes to files


Anyone got a suggestion on how to add an attribute to the HTML for all files from EPiServer?

I've got an issue with SiteSeeker where it will only group files with the parent page if they have the attribute rel="attachment" on them, so I am looking for a way to automatically add rel="attachment" to all files located in one of the VPP:s.

Sep 02, 2013 9:09

Could try and use Response.Filter and regex to look for the correct HTML and add the attribute.


Sep 02, 2013 9:29

Here´s also a good example on how to do this:

Sep 02, 2013 9:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.