Bulk updating external links in content

Vote:
 

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? 

#221766
Apr 24, 2020 14:02
Vote:
 

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.

#221768
Apr 24, 2020 14:16
Vote:
 

Thanks very much Tomas!

#221769
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.