Show / Hide Table of Contents

    GetBCUrl Procedure

    Codeunit RunTime Management

    Creates an URL for a record.

    Overloads

    Name Description
    GetBCUrl(Variant; ClientType; Integer; Boolean): Text Creates an URL for a record.
    GetBCUrl(Variant; ClientType; Integer; Boolean; Boolean): Text Creates an URL for a record.

    GetBCUrl(Variant; ClientType; Integer; Boolean) Procedure

    Creates an URL for a record.

    Signature

    GetBCUrl(var Rec: Variant; TargetClientType: ClientType; PageId: Integer; UseFilter: Boolean) : Text
    

    Parameters

    var Rec Variant

    The Record, RecordRef or RecordId that the URL should be created for.

    TargetClientType ClientType

    The type of client that the URL should be formatted for.

    PageId Integer

    The Page Id that should be opened with the URL.

    UseFilter Boolean

    true if any filters on Rec should be added to the URL.

    Returns

    Text

    An URL that can be used to open BC with the selected client type.

    GetBCUrl(Variant; ClientType; Integer; Boolean; Boolean) Procedure

    Creates an URL for a record.

    Signature

    GetBCUrl(var Rec: Variant; TargetClientType: ClientType; PageId: Integer; UseFilter: Boolean; ViewMode: Boolean) : Text
    

    Parameters

    var Rec Variant

    The Record, RecordRef or RecordId that the URL should be created for.

    TargetClientType ClientType

    The type of client that the URL should be formatted for.

    PageId Integer

    The Page Id that should be opened with the URL.

    UseFilter Boolean

    true if any filters on Rec should be added to the URL.

    ViewMode Boolean

    true if the link should open the page in view mode (default is true).

    Returns

    Text

    An URL that can be used to open BC with the selected client type.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX