Topic
2 replies Latest Post - ‏2013-07-09T04:19:07Z by XB3V_Keshav_Chauhan
XB3V_Keshav_Chauhan
XB3V_Keshav_Chauhan
31 Posts
ACCEPTED ANSWER

Pinned topic Getting Parent Folder

‏2013-06-27T06:01:19Z |

Greetings,

When a folder is clicked in the Folder , i want to get the ParentFolder of a Sub-folder.

Which function is to be used for that?

I have tried item.getParent() but not getting the result :

 

item.getParent()                     // error, getParent() is not a function             

 

Thanks & Regards,

Rajinder

  • BJOwings
    BJOwings
    185 Posts
    ACCEPTED ANSWER

    Re: Getting Parent Folder

    ‏2013-07-08T21:21:38Z  in response to XB3V_Keshav_Chauhan

    Although this is not documented, try item.parentFolder.  From looking through the code it seems to be what you are looking for.