I have a requirement to create a List view command set in SharePoint Online(no framework used) for a document set library. My document set has many folders based on year.

So , basically I need to create a root folder(Archive), iterate through the list, check for a specific field(say Departments), then check if field has value. If yes, check if the document set exists in root folder. If not create it with the same same as that of the field name. Then create sub folders(for each year) inside the folders based on the year selection and move them if document needs to be archived. I'm stuck in filtering the column and checking if column has value. Highly appreciate your quick responses. Thank you in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.