Adding HTML from an internal file to a Web Part on SharePoint

%3CLINGO-SUB%20id%3D%22lingo-sub-1459086%22%20slang%3D%22en-US%22%3EAdding%20HTML%20from%20an%20internal%20file%20to%20a%20Web%20Part%20on%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459086%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%26nbsp%3B%3C%2FSPAN%3Ehave%20developed%20a%20SharePoint%20Web%20Part%20where%20I%20have%20an%20iframe%20that%20I%20need%20to%20load%20with%20several%20pages%20depend%20on%20different%20values.%3C%2FP%3E%3CP%3EFor%20instance%2C%20I%20have%20this%20files%3C%2FP%3E%3CUL%3E%3CLI%3Efile1.html%3C%2FLI%3E%3CLI%3Efile2.html%3C%2FLI%3E%3CLI%3Efile3.html%3C%2FLI%3E%3C%2FUL%3E%3CP%3EAnd%20I%20need%20to%20pass%20the%20path%20of%20one%20of%20this%20elements%20to%20an%20iframe%3C%2FP%3E%3CP%3EWhere%20can%20I%20put%20this%20files%20and%20How%20can%20I%20retrieve%20the%20right%20path%20of%20this%20pages%3F%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1459086%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Einternal%20file%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWebPart%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

have developed a SharePoint Web Part where I have an iframe that I need to load with several pages depend on different values.

For instance, I have this files

  • file1.html
  • file2.html
  • file3.html

And I need to pass the path of one of this elements to an iframe

Where can I put this files and How can I retrieve the right path of this pages?

Regards

0 Replies