SharePoint 2013列表项URL/超链接字段帮助 [英] SharePoint 2013 list item URL/Hyperlink field help
问题描述
我有一个SharePoint 2013自定义列表,该列表使用称为目录项"的URL/超链接字段.在此列表中,我使用标注来显示该列表中的信息(其他字段).在标注的顶部/标题处,我正在调用目录" 项目"每个项目的字段值.问题是,它正在显示实际的URL,但是我需要它来显示URL的文本值.我已经尝试了所有方法,从使用工作流将文本值推入标题"字段到尝试修改我的 代码,但没有任何效果.感谢您的帮助...这是我的代码
I have a SharePoint 2013 custom list that uses a URL/Hyperlink field called "Catalog Item" in this list I am using a callout to show information (additional fields) in that list. At the top/header of the callout I am calling the "Catalog Item" field value for each item. The problem is, it is showing the actual URL but I need it to show the text value of the url. I have tried everything from using a workflow to push the text value into the Title field to trying to modify my code but nothing is working. I appreciate any help...Here is my code
{"headerCss":",
" clickToView':false,
"hoverDelay":200,
" showEditBtn':true,
" editInDlg" ;:是的,
"hoverIcon":{
关闭":"fa-arrow-circle-o-right",
在…上":"fa-arrow-circle-down",
"css":"color:#FF6103;"
},
"dlgTitleField":"Catalog_x0020_Item",
"minHeight":400,
"maxWidth":600,
" dateFormat":"dd.MM.yyyy",
字段":[
{"fin":"Catalog_x0020_Item","label":true}, {"fin":"OSI_x007c_VERC_x0020_POC","label":true}, {"fin":"Resource_x0020_Type","label":true},
{"fin":"Primary_x0020_Functions","label":true}, {"fin":"Sub_x0020_Functions","label":true}, {"fin":"Modified","label":true},
{"fin":"Description","label":true}
{"headerCss":"",
"clickToView":false,
"hoverDelay":200,
"showEditBtn":true,
"editInDlg":true,
"hoverIcon":{
"off":"fa-arrow-circle-o-right",
"on":"fa-arrow-circle-down",
"css":"color:#FF6103;"
},
"dlgTitleField":"Catalog_x0020_Item",
"minHeight":400,
"maxWidth":600,
"dateFormat":"dd.MM.yyyy",
"fields":[
{"fin":"Catalog_x0020_Item","label":true}, {"fin":"OSI_x007c_VERC_x0020_POC","label":true}, {"fin":"Resource_x0020_Type","label":true},
{"fin":"Primary_x0020_Functions","label":true}, {"fin":"Sub_x0020_Functions","label":true}, {"fin":"Modified","label":true},
{"fin":"Description","label":true}
],
"页脚":{
" show":false,
" css":",
" dateFormat":"dd.MM.yyyy hh:mm",
字符串":{
默认":[[创建于",由",最后修改于",由"],
"1044":["Opprettet","av","Sist endret","av"]
}
},
"editFormUrl":空,
" listGuid':null,
" listBaseUrl':null
}
],
"footer":{
"show":false,
"css":"",
"dateFormat":"dd.MM.yyyy hh:mm",
"strings":{
"default":["Created at","by","Last modified at","by"],
"1044":["Opprettet","av","Sist endret","av"]
}
},
"editFormUrl":null,
"listGuid":null,
"listBaseUrl":null
}
推荐答案
超链接"列类型实际上具有两个值:URL和Description.您需要分别获取它们.有关详细信息,请参见参考.
The Hyperlink column-type actually has two values: URL and Description. You'll need to get these separately. See the references for details.
参考
- SHAREPOINT DESIGNER: SETTING A HYPERLINK FIELD FROM A WORKFLOW
- How do I set the value of a URL field in the SharePoint 2013 JSOM
这篇关于SharePoint 2013列表项URL/超链接字段帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!