sql-server - 使用 Azure 逻辑应用在 Sharepoint Online 中插入缺失值

标签 sql-server azure sharepoint-online azure-logic-apps

我有一个 SQL Server 表,其中 Manufacturer 列有 4 行:

Integral Coach Factor
Bharat Heavy Electricals Limited
Chittaranjan Locomotive Works
Golden Work Railway Workshop

共享点列表中也提供相同的数据:

Integral Coach Factor
Bharat Heavy Electricals Limited
Golden Work Railway Workshop

我的任务是每 24 小时运行一次逻辑应用,并将缺失值插入到 Sharepoint 列表中。对于上面的示例,我只需要在共享点中插入 Chittaranjan Locomotive Works,因为共享点列表中缺少它。

我是 Azure 逻辑应用新手,需要一些帮助才能完成任务。

任何帮助将不胜感激。

最佳答案

对于您的要求,请引用我的逻辑应用程序,如下所示:

1. 现在我有一个表格,如下所示: enter image description here

2. 转到逻辑应用,使用“Get rows(V2) ”操作获取表的行。 enter image description here

3. 然后使用“Get items ”操作获取共享点列表中的所有项目。 enter image description here

4. 使用“Select”操作选择共享点列表中每个项目的“标题”。并输入“制造商”作为每个“标题”的“键”。 enter image description here

5. 之后,使用“For each ”循环“获取行(V2)”中的值。 enter image description here

6. 在“Foreach”循环中,添加“Compose”操作,其内容如下: enter image description here

7. 在“Compose”后面添加“Condition ”来判断共享点列表中是否存在。选择“Select”操作的Output作为第一个输入框的内容,选择“Compose”操作的Output作为第二个输入框的内容。 enter image description here

8. 如果为“false”,则创建以当前“制造商”作为“标题”的项目。 enter image description here

关于sql-server - 使用 Azure 逻辑应用在 Sharepoint Online 中插入缺失值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65573623/

相关文章:

sql-server - 无法将 Debezium 0.9.2 连接到 SQL Server 2008 R2

使用 listkeys 的 Azure Function ARM 部署导致 BadRequest 错误

sharepoint-online - MSAL AD token 对 SharePoint Online CSOM 无效

c# - 正则表达式按最后一个索引拆分

asp.net - 加载数据库图像的最佳方法

C# HDInsight MapReduce 将参数传递给映射器

javascript - 获取可细化字符串的内部 id

javascript - 在 SharePoint 中通过 Javascript 应用主题

mysql - 如何在没有典型数据库设置的情况下连接到 Rails 中的数据库并检索结果

azure - 无法使用我的 Microsoft 帐户使用 Active Directory 登录我的测试应用程序