Aller au contenu principal

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

Commentaires

1 commentaire

  • 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

Vous devez vous connecter pour laisser un commentaire.