guid2Str Function [AX 2012]

Updated: January 18, 2010

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Converts the specified GUID object to the equivalent string.


str guid2String(guid _uuid)

Parameter

Description

_uuid

The GUID object from which to convert.

The string equivalent of the specified GUID object.

static void guid2StrExample()
{
    guid _guid;
    str stringGuid;
    ;

    _guid = Global::guidFromString
        ("{12345678-1234-1234-1234-123456789abc}");
    print strfmt("GUID is %1", _guid);

    stringGuid = guid2str(_guid);
    info("String GUID is " + stringGuid);
}
/**** Output to Infolog
String GUID is {12345678-1234-1234-1234-123456789ABC}
****/

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: