Feb 21 2017 03:06 AM
Is it possible to localize provisioning templates with resx-file when XMLSharePointTemplateProvider is used?
Feb 21 2017 03:20 AM
According to the following blog by @Erwin van Hunen it should be:
"If you use your own coded solution the engine will retrieve the resource files from the FileConnector you specified"
Feb 21 2017 04:59 AM
Oh, half of my original message was cut off.
My purpose to ask was that is it possible to just upload those resx-files to same document library with templates?
I just looked through PnP Core code and noticed that resource files are referenced as by file name and those should be located at same location where my application is running. Am I correct?
Feb 21 2017 05:14 AM
When instantiating your XMLSharePointTemplateProvider you also specify a container. Based on what you specify here a FileConnector (SharePointConnector) is instantiated under the hood pointing to the location specified by the container. If I understand Erwin's blog correctly, the location this FileConnector is pointing to is where your resx files should be located.
Hope this helps