Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Bulk updating external links in content


Is it possible to bulk update outgoing external links in Episerver content, including external links in the content of TinyMCE fields? We have some 1300 links going to an external service, of which the URL will change. These links are spread out over many Episerver pages.

Is there an existing tool for this, and if not, is it possible to do this programmatically? 

Apr 24, 2020 14:02

You can do this programmatically. The table `tblContentSoftLink`contains information about what pages has a link to your external URL. From code, you probably want to look at the SoftLinkRepository.

Load each page, loop through all xhtmlproperties and update the link.

Apr 24, 2020 14:16

Thanks very much Tomas!

Apr 24, 2020 14:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.