在托管元数据列上进行验证 [英] Validation on a Managed Metadata Column
问题描述
您好,我有2个托管元数据列,即主要主题" & 子主题"像这样的值:
Hello, I have 2 Managed Metadata Columns, "Prime Subject" & "Sub-Topic" with values like so:
-主要主题
广告
咨询
法律不当行为
-Prime Subject
Advertising
Consulting
Legal Mal Practice
-子主题
仲裁
替代业务结构
上诉实务
商业计划书
与客户开展业务
日历
补偿
能力
费用结构
国际法
联合防御
告密
证人准备
-Sub-Topic
Arbitration
Alternative Business Structures
Appellate Practice
Business Plans
Business with Clients
Calendaring
Compensation
Competence
Fee Structures
International Law
Joint Defense
Whistleblowing
Witness Preparation
我的要求是在主要主题"为某个值时在子主题"上设置一个验证.例如:
My requirement is to set a validation on Sub-Topic when Prime Subject is a certain value. So for instance:
如果主要主题"是=广告",然后是子主题";必须包含业务计划",日历"或与客户开展业务"
If "Prime Subject" = 'Advertising' then "Sub Topic" must contain 'Business Plans', 'Calendaring', or 'Business with Clients'
如果主要主题"是=咨询",然后是子主题";必须包含费用结构",与客户开展业务"或日历"
If "Prime Subject" = 'Consulting' then "Sub Topic" must contain 'Fee Structures', 'Business with Clients', or 'Calendaring'
如果主要主题"是=法律不当行为",然后选择子主题";必须包含上诉实践",能力"或举报"
If "Prime Subject" = 'Legal Mal Practice' then "Sub Topic" must contain 'Appellate Practice', 'Competence', or 'Whistleblowing'
如何实现此客户端或即装即用.我没有开发人员编写自定义C#.我们可以操纵一些JQuery或JavaScript.另外,我希望远离InfoPath,因为将来它会被弃用.
预先非常感谢您的帮助!
How can I achieve this client side or Out of the box. I do not have the developers to write custom C#. We could manipulate some JQuery or JavaScript. Also, I would like to stay away from InfoPath as this is getting deprecated in the future.
Thank you very much in advance for the help!
此致,
亚当
Regards,
Adam
推荐答案
嗨
最简单的解决方法
使用下拉列并配置级联
http://msreddysharepoint.blogspot.in/2012/12/infopath-2013-web-browser-creating.html
这篇关于在托管元数据列上进行验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!