1

I'm wondering if there is a Code Display Webpart similar to what Microsoft have on thier Technet Galleries Pages as I am looking to implement a Script Versioning Display and would like to be able to display the Code on a SharePoint WebPart Page along with a section on the Script use and users etc.

I have tried to have a look around the web via Google however I have been unable to find anything that seems to match the requirements.

Ideally a user should be able to place this Web Part on the page and in the Web Part options link the Web Part to a script that is stored within a Document Library on the Site.

Many Thanks

1
  • Have you tried content editor webpart. Using that you can place HTML formatted text. Dec 16, 2014 at 14:25

2 Answers 2

0

I am not sure you can add code directly to SharePoint, rather you convert it to Html and then display it pages, blog, wiki etc.

I think you should check if their is any 3rd party tool who can convert you code into Html then you add that into your sharepoint.

-1

There is a great Addin to Powershell ISE by Gary Lapointe that copys any script to into Html formatted text

http://www.thelapointes.com/blog/Falchion.PowerShell.CopyAsHtmlAddOn.zip

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.