【问题标题】:how to add hyperlink in Sharepoint online with default value in it?如何在 Sharepoint Online 中添加带有默认值的超链接?
【发布时间】:2020-11-09 23:55:42
【问题描述】:

在创建列表时,我希望超链接列上应该有默认值

【问题讨论】:

    标签: sharepoint sharepoint-online sharepoint-2016 sharepoint-2019


    【解决方案1】:

    测试演示:

    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script>
    $(function(){
    $("input[aria-describedby='link']:first").val("http://www.google.com");//link is my column name,yo need to change to yours
    })
    </script>
    

    link是我的超链接列名,你需要改成你的。

    【讨论】:

    • 以新形式添加脚本编辑器,将代码直接添加到脚本编辑器中,不同版本的共享点可能不同,代码在SharePoint Online中运行良好。
    猜你喜欢
    • 1970-01-01
    • 2017-01-30
    • 2019-05-26
    • 2020-10-14
    • 1970-01-01
    • 2013-01-21
    • 1970-01-01
    • 1970-01-01
    • 2015-02-22
    相关资源
    最近更新 更多