Zum Hauptinhalt gehen

Is there any function in FirstSpirit API to get the UID Path

Kommentare

1 Kommentar

  • Zendesk API User
    Author: rednoss - 12/5/2013 7:49

    Hello Saurabh,

    if you got your folder you can use a combination of getParent() and getUid() and build the uid_path with a StringBuilder. For example:

    uid_path = uid_path.append(element.getUid());

    while(element.getParent() != null) {

         element = element.getParent();

         uid_path = uid_path.insert(0,"/");

         uid_path = uid_path.insert(0,idp.getUid());

    }

    Best regards,

    René Rednoß

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.