Codeunit 30322 Shpfy Mtfld Type File Ref

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 34 lines

src/Apps/W1/Shopify/App/src/Metafields/Codeunits/IMetafieldType/ShpfyMtfldTypeFileRef.Codeunit.allines 10 to 25 of 34, Copyright (c) Microsoft Corporation. MIT

codeunit 30322 "Shpfy Mtfld Type File Ref" implements "Shpfy IMetafield Type"{    procedure HasAssistEdit(): Boolean    begin        exit(false);    end;    procedure IsValidValue(Value: Text): Boolean    var        Regex: Codeunit Regex;    begin        exit(Regex.IsMatch(Value, '^gid:\/\/shopify\/(GenericFile|MediaImage|Video)\/\d+$'));    end;    procedure AssistEdit(var Value: Text[2048]): Boolean    begin

All 34 lines

Public procedures 4 in 29

HasAssistEdit(): Booleannew in 25
IsValidValue(Value: Text): Booleannew in 25
AssistEdit(var Value: Text[2048]): Booleannew in 25
GetExampleValue(): Textnew in 25