none
Edit form for Video content type (New/Edit) RRS feed

  • Question

  • Hello,

    In an assets library, I've enabled 2 content types : Video and Audio.

    I have to customize the forms for both content types (New Document, and Edit Properties).

    For Audio type, no problem, when adding a new, et editing existing, we're on a standard EditForm.aspx page, so we can edit this page and add any webparts in it. (http://domain/sites/mySite/MyAssetsLib/Forms/EditForm.aspx)

    But for Video CT, the page is http://domain/sites/mySite/_layouts/15/EditVideoSet.aspx
    (with the video player, thumbnail selector, renditions, and form fields)

    And we can't Edit this page to add webparts so we can't customize this form.

    Any idea on how to modify this form for Video CT ?

    Please note i have no acces to SPDesigner, nor backend solution using Visual Studio, only end-user customization (with owner permissions)

    Thank you!

    Tuesday, April 4, 2017 7:17 AM

All replies

  • Hi,

    A thought is that, instead of customizing this page directly, you can create a custom master page contains some custom JavaScript, this JavaScript will alter the HTML source code of the EditVideoSet.aspx page to implement the style you want.

    About how to create custom master page using Design Manager:

    http://www.learningsharepoint.com/2013/03/25/sharepoint-2013-design-manager-tutorials/

    http://blogs.perficient.com/microsoft/2012/08/design-manager/

    Best regards,

    Patrick 

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, April 6, 2017 6:55 AM
    Moderator
  • Hi,

    Any update?

    Best regards,

    Patrick


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, April 10, 2017 6:44 AM
    Moderator
  • Hi,

    Have you found any solution for this? I'm also looking to customize the EditVideoSet.aspx form. Please suggest.


    Akram H Tamboli

    Saturday, August 5, 2017 3:06 PM
  • Hi,

    This is what has resolved the above concern.

    EditVideoSet.aspx is a system page and store in "15" folder in server, we can't modify it directly.

    If you use classic mode for SharePoint Online, as a workaround, we can add some JavaScript code into master page to achieve it.

    The following code for your reference, modiy the code below("VideoLib" is my library name, please change it) and add into <head/> tag in master page.

    <script src="//code.jquery.com/jquery-3.2.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    	var currentUrl=window.location.href;
    	var libraryName="VideoLib";
    	if(currentUrl.indexOf("EditVideoSet.aspx")!=-1&&currentUrl.indexOf(libraryName)!=-1){
    		alert("Dennis Test");
    		//add some jQuery code to customize this page.	
    	}
    });
    </script>

    Akram H Tamboli

    • Proposed as answer by Akram Tamboli Monday, September 25, 2017 6:50 AM
    Monday, September 25, 2017 6:50 AM