视频内容类型的编辑表单(新建/编辑) [英] Edit form for Video content type (New/Edit)

查看:69
本文介绍了视频内容类型的编辑表单(新建/编辑)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

在资产库中,我启用了两种内容类型:视频和音频.

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).

对于音频类型,没问题,添加新的或编辑现有的内容时,我们位于标准的EditForm.aspx页面上,因此我们可以编辑此页面并在其中添加任何Web部件. (http://domain/sites/mySite/MyAssetsLib/Forms/EditForm.aspx)

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)

但对于Video CT,该页面为http://domain/sites/mySite/_layouts/15/EditVideoSet.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)

我们无法编辑此页面来添加Webparts,因此我们无法自定义此表单.

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

关于如何修改此表格以进行Video CT的任何想法?

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

请注意,我没有使用SPDesigner的权限,也没有使用Visual Studio的后端解决方案,只有最终用户自定义(具有所有者权限)

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

谢谢!

推荐答案

Hi,

一种想法是,可以直接创建包含一些自定义JavaScript的自定义母版页,而不是直接自定义此页,此JavaScript会更改HTML源EditVideoSet.aspx页的代码 来实现您想要的样式.

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://blogs.perficient.com/microsoft/2012/08/design-manager/

最诚挚的问候,


这篇关于视频内容类型的编辑表单(新建/编辑)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆