replaceDataItemReferences( )


開発者プレビュー

このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。

Replaces references in a specified field of a specified data item.

This function replaces the existing reference or references contained in the field specified in options.referringItemFieldName within the data item specified in options.referringItemId. The function removes existing references and in their place it adds references to the items specified in options.newReferencedItemIds.

注: If you pass an empty array in options.newReferencedItemIds, all existing references are removed.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Write Data Items
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
optionsReplaceDataItemReferencesOptions

Options for replacing references.

リターン
Return Type:Promise<ReplaceDataItemReferencesResponse>
役に立ちましたか?
はい
いいえ