SharePoint 2

Previous Top Next




During migration to SharePoint some characters which were allowed in other file storage types might not be allowed any more on SharePoint (good article from ShareGate: https://help.sharegate.com/en/articles/10236480-special-and-illegal-characters).
ReplaceMagic offers option to convert special characters during links replacements. Available options:

  • Use illegal characters conversion during check of broken link? - by setting this ReplaceMagic will convert provided illegal characters during check of broken links. Keep in mind that by using this setting nothing will be persisted in affected links
  • Replace SharePoint illegal characters? - with this parameter illegal characters will be replaced with provided value and saved when document is saved. For replacements are used illegal characters from group "Must use illegal characters"
  • Use optional illegal characters? - in case that this option is also selected (it can be selected only if "Use illegal characters conversion during check of broken link?" or "Replace SharePoint illegal characters?" are selected, ReplaceMagic will use this set of characters also
  • Apply conversion in - here you can specify in which link area conversion of illegal characters should be done
  • Must use illegal characters (1-6) - set of illegal characters which will be always used for conversion
  • Optional illegal characters (7-18) - set of illegal characters which will be used only if "Use optional illegal characters" is selected
  • Position (Begins with / Anywhere) - the drop-down next to each illegal character says where in a folder or file name the character is replaced:
  • Anywhere - every occurrence of the character in the folder and file names of a link is replaced. This is the default and works as in earlier versions.
  • Begins with - the character is replaced only when a folder or file name starts with it, and only that first character. Example with ~ replaced by _: \\server\share\~Reports\Plan~2.xlsx becomes \\server\share\_Reports\Plan~2.xlsx, and ~~Temp becomes _~Temp. Use it when your migration tool replaced the character only at the start of a name.

The drop-down can be changed only when its illegal character can be changed: rows 1-6 when "Use illegal characters conversion during check of broken link?" or "Replace SharePoint illegal characters?" is selected, rows 7-18 only if "Use optional illegal characters?" is selected as well. A row without an illegal character is not used, whatever its position. As for all illegal characters, only folder and file names are converted - never the server or site address, the drive, the part after "?" or the sheet / range part of a link. An encoded character at the start of a name (for example %7E for ~) is replaced as well. The log of a run shows the position next to the character, for example ~ -> _ (begins with).