Friday, February 17, 2023

Get resource related file name in D365FO

  public static str getResourceFilename(str _resourceName)

    {

        resourceNode resource = new resourceNode(_resourceName);

        return _resourceName && resource ? resource.filename() : null;

    }


No comments:

Post a Comment

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...