Page last modified 14:36, 7 Aug 2015 by juhako

.decodeBase64()

    Table of contents

    Description of the method

     

    Description: Returns the decoded string form of base64binary field.
    Available for: string
    Parameters:  -
    Return type: string

    Example

     

    Context: AttachmentDetailsType
    OCL: self.AttachmentContent.decodeBase64().size() <= 1024
    Description: The example decodes the <AttachmentContent> field value and checks that the length of the decoded value does not exceed 1024 characters.

     

    Attached you can find example schema and files which you can use for testing.

    Menu