0

嗨,我一直在尝试找出一种方法来替换常见的参考“项目 URL”显示文本,这样你就不会得到丑陋的 http:// 链接,我仍然希望链接能够正常运行,只是显示文本必须是某些东西像“点击这里”我的电子邮件代码如下(我知道代码很乱,但我会在它工作后清理它):

<p style="font-size: 10pt; font-family: arial">Dear User,</p>
<p><span style="font-size: 10pt; font-family: arial">A new form has been created, please click on the link below to view it.</span><br style="font-size: 10pt; font-family: arial"/><br style="font-size: 10pt; font-family: arial"/><span id="NWRTEReference1"><a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="javascript:void(0);" reftext="%7BCommon%3AItemDisplayName%7D" link="false" style="text-decoration: underline; color: red"><span style="font-size: 10pt; font-family: arial">Item Display Name</span></a></span></p>
<p style="font-size: 10pt; font-family: arial">Regards,</p>
<p style="font-size: 10pt; font-family: arial"><strong>SharePoint Team</strong></p>
4

1 回答 1

0

我想出了怎么做,“reftext”是链接的显示名称(我从一开始就猜到了),然后您需要将“link”更改为等于 true 并在此之后添加一个名为“reflink”的新位这是您要访问的链接,在我的情况下(因为我在 nintex 上使用公共变量)它是reflink="{Common:ItemUrl}"。希望这可以帮助任何陷入类似情况的人。

于 2015-04-09T09:03:56.980 回答