替代ContentTypeID以从具有多种内容类型的列表中打开Newform.aspx [英] Alternative to ContentTypeID to open a Newform.aspx from a list with multiple content types

查看:99
本文介绍了替代ContentTypeID以从具有多种内容类型的列表中打开Newform.aspx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我无法访问SharePoint Designer,因此无法为每种内容类型创建新表格页面。 我所做的就是设置这个:


https://server/sites/subsite/Lists/AcctMaint/NewForm.aspx?ContentTypeId = 0x010074789294F057B64D9B74F7C6BF1373EC052263E95973AB7B504181934149F3AC3F74


此链接(当然假冒上述内容和虚假内容类型)。


然后,我想用Source =重定向它。 所以URL现在看起来像这样:


HTTPS:?//server/sites/subsite/Lists/AcctMaint/NewForm.aspx ContentTypeId = 0x010074789294F057B64D9B74F7C6BF1373EC052263E95973AB7B504181934149F3AC3F74源= HTTPS%3A //服务器/网站/子网站/SitePages/MyPage.aspx


我的问题是ContentTypeId和其他所有内容都使得链接超过255个字符。


ContentTypeID的替代品是否更短,但仍会打开与内容类型相关联的表单? 









谢谢! Patti N。

解决方案

您好


如何在Source参数中使用相对URL。


Hello,

I do not have access to SharePoint Designer, so I cannot create a newform page for each content type.  What I've done is to set up this:

https://server/sites/subsite/Lists/AcctMaint/NewForm.aspx?ContentTypeId=0x010074789294F057B64D9B74F7C6BF1373EC052263E95973AB7B504181934149F3AC3F74

This link (fake one above of course and fake content type).

Then, I want to redirect it with a Source=.  So the URL now looks like this:

https://server/sites/subsite/Lists/AcctMaint/NewForm.aspx?ContentTypeId=0x010074789294F057B64D9B74F7C6BF1373EC052263E95973AB7B504181934149F3AC3F74?Source=https%3a//server/sites/subsite/SitePages/MyPage.aspx

My problem is that the ContentTypeId and everything else makes the link longer than 255 characters.

Is there an alternative to ContentTypeID that is shorter but will still open the form associated with the content type? 


Thanks! Patti N.

解决方案

Hi

How about use a relative URL in the Source param.


这篇关于替代ContentTypeID以从具有多种内容类型的列表中打开Newform.aspx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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