gpt4 book ai didi

SharePoint Online Nintex form SPGetCurrentUser()(SharePoint Online NINTEX表单SPGetCurrentUser())

转载 作者:bug小助手 更新时间:2023-10-24 21:02:49 27 4
gpt4 key购买 nike



I have migrated one SharePoint list from 2019 to 365. This list has Nintex Form and that Nintex form has few JavaScript files. In SP Online NWF$().SPServices.SPGetCurrentUser() is returning blank. Any idea how to fix it? Please keep in mind that this is for Nintex Forms (Not Nintex Workflow)

我已经将一个SharePoint列表从2019年迁移到365年。该列表具有NINTEX形式,而该NINTEX形式具有较少的JavaScript文件。在SP Online中,NWF$().SPServices.SPGetCurrentUser()返回空白。你知道怎么修吗?请记住,这是针对NINTEX表单的(不是NINTEX工作流)


更多回答

Please provide more information, how did you perform the migration? Which migration tool is used?

请提供更多信息,您是如何执行迁移的?使用了哪种迁移工具?

we used ShareGate to migrate. It might not have anything to do with migration. If you create new SP list and new Nintex form for SP-Online. And you have some custom JS associated with that form then you will notice that you cannot not use SPServices.SPGetCurrentUser() in that JS.

我们使用了ShareGate进行迁移。这可能与移民没有任何关系。如果您为SP-Online创建新SP列表和新NINTEX表单。并且您有一些与该表单相关联的自定义JS,那么您将注意到不能在该JS中使用SPServices.SPGetCurrentUser()。

优秀答案推荐

I used this workaround to solve this issue. I added some controls in the form. Now we have new runtime function called userProfileLookup. I used it to populate those controls (e.g user phone, department etc). I accessed value of those controls in JS.

我使用此解决方法来解决此问题。我在表单中添加了一些控件。现在,我们有了名为userProfileLookup的新运行时函数。我用它来填充那些控件(例如,用户电话、部门等)。我在JS中访问了这些控件的值。


更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com