From 435e60fbf8a7583e749adfb096f40cf2786c99b2 Mon Sep 17 00:00:00 2001 From: Onat Buyukakkus <55088871+onbuyuka@users.noreply.github.com> Date: Thu, 12 Mar 2026 18:10:22 +0100 Subject: [PATCH] [Shopify] Add "Incl. in Product Sync" field to Item Attribute Card (#7022) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - The "Shpfy Incl. in Product Sync" field was visible on the Item Attributes list page but missing from the Item Attribute Card (page 7503) - Added a new page extension (30128) for the Item Attribute Card with the same field and dynamic Shopify visibility Fixes [AB#624264](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/624264) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 --- .../ShpfyItemAttributeCard.PageExt.al | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/Apps/W1/Shopify/App/src/Products/Page Extensions/ShpfyItemAttributeCard.PageExt.al diff --git a/src/Apps/W1/Shopify/App/src/Products/Page Extensions/ShpfyItemAttributeCard.PageExt.al b/src/Apps/W1/Shopify/App/src/Products/Page Extensions/ShpfyItemAttributeCard.PageExt.al new file mode 100644 index 0000000000..092b7c2910 --- /dev/null +++ b/src/Apps/W1/Shopify/App/src/Products/Page Extensions/ShpfyItemAttributeCard.PageExt.al @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// ------------------------------------------------------------------------------------------------ + +namespace Microsoft.Integration.Shopify; + +using Microsoft.Inventory.Item.Attribute; + +pageextension 30128 "Shpfy Item Attribute Card" extends "Item Attribute" +{ + layout + { + addlast(content) + { + field("Shpfy Incl. in Product Sync"; Rec."Shpfy Incl. in Product Sync") + { + ApplicationArea = All; + Visible = ShopifyEnabled; + } + } + } + + var + ShopifyEnabled: Boolean; + + trigger OnOpenPage() + var + ShopMgt: Codeunit "Shpfy Shop Mgt."; + begin + ShopifyEnabled := ShopMgt.IsEnabled(); + end; +}