Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

QMSAPI: remove a path from SourceDocument Folder

I can get  list of the current folders with

  List<DocumentFolder> sourceDocumentsFolders =

     apiClient.GetSourceDocumentFolders(

        qdsServices[0].ID,

        DocumentFolderScope.General | DocumentFolderScope.Services);

Then do

  foreach (DocumentFolder sourceDocumentFolder in sourceDocumentsFolders.OrderBy(x => x.General.Path))

  {

     if (path == sourceDocumentFolder.General.Path)

     {

          sourceDocumentsFolders.Remove(sourceDocumentFolder);

          break;

     }

  }

How do I go about saving this change to the source folders back to QDS?

Community Browser