SharePoint中的webpart内的自定义选择链接 [英] Custom select links within webpart within SharePoint

查看:54
本文介绍了SharePoint中的webpart内的自定义选择链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我需要在客户端的SharePoint Intranet中构建一组5个链接。站点内的用户可以选择他们想要在主页上看到的这5个链接并添加它们。选择应该是一个简单的复选框选项,使用户可以灵活地添加/删除他们想要在主页上看到的链接。



我做了一些发现,似乎jquery可以在这方面取胜。但不知道如何继续,因为我以前没有在jquery上工作过。如果有人能指出我正确的方向,那将会很有帮助。



提前谢谢。

Hello,
I have a requirement to build a set of 5 links within the SharePoint intranet of the client. Users within the site can select of these 5 links which ones they want to see on their home page and add it. The selection should be an easy checkbox selection which gives users the flexibility to add/remove links they want to see on the homepage.

I did some finding and seems jquery could be a win in this. But not sure how to proceed as I haven''t worked on jquery before. If someone can point me to right direction, it will be helpful.

Thanks in advance.

推荐答案



首先,你最好将复选框id(或SharePoint)推入数组;

然后使用ajax将数组值传递给(php,aspx)方) - > Mysql

上次读取Mysql,用户将在主页上看到SharePoint。

Hi,
first,you''d better push the checkbox id(or SharePoint) into an array;
then use ajax pass the array value to(php,aspx side)->Mysql
last read Mysql,the users will see the SharePoint on the homepage.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">


function (){


#abv)。click( function (){
var ar = new 数组();
("#abv").click(function(){ var ar=new Array();


这篇关于SharePoint中的webpart内的自定义选择链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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