Returns the contents of a file as a single string.
Supported file types include:
SppReadFileContents([File Path])
Where:
File Path is the file name (including full path and extension) of the file to open.
#SPPREADFILECONTENTS!
will be returned.
Possible causes of this could be:
Rule | Result |
---|---|
SppReadFileContents("D:\DriveWorks\MyFile.txt") | This is the contents of the specified text file. |