Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何将UserId参数添加到SharePoint中XmlUrlDataSource的查询字符串中?_Sharepoint_Sharepoint 2007_Sharepoint Designer - Fatal编程技术网

如何将UserId参数添加到SharePoint中XmlUrlDataSource的查询字符串中?

如何将UserId参数添加到SharePoint中XmlUrlDataSource的查询字符串中?,sharepoint,sharepoint-2007,sharepoint-designer,Sharepoint,Sharepoint 2007,Sharepoint Designer,我有一个aspx,它使用查询字符串参数UserId返回XML数据。此用户ID应为SharePoint当前用户 我创建了数据源并拖动到页面,但我不知道如何将参数添加到数据源,因此,它发送当前用户Id。我尝试在数据源参数网格中添加参数,但当调用aspx时,它始终使用默认值而不是当前用户Id,您应该能够通过设计菜单中控件(即DataFormWebPart)的上下文菜单添加参数来完成此操作

我有一个aspx,它使用查询字符串参数UserId返回XML数据。此用户ID应为SharePoint当前用户


我创建了数据源并拖动到页面,但我不知道如何将参数添加到数据源,因此,它发送当前用户Id。我尝试在数据源参数网格中添加参数,但当调用aspx时,它始终使用默认值而不是当前用户Id,您应该能够通过设计菜单中控件(即DataFormWebPart)的上下文菜单添加参数来完成此操作