Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subfolders #37

Open
jonathansteenbrugge opened this issue Sep 29, 2017 · 1 comment
Open

Subfolders #37

jonathansteenbrugge opened this issue Sep 29, 2017 · 1 comment

Comments

@jonathansteenbrugge
Copy link

Dear, is it possible to use this solution with Subfolders? This is because my different projects have tasks in different subfolders which are shared with different teams.
I would need (for example) the "Sales" folder as backlog (as this task folder is shared with the sales team) and in that folder I would need every subfolder needed for the Kanban...
I've tried to change the folder in the settings file 'Sales\Folder Name' but this doesn't work.

THANKS

@hochverrat
Copy link

hochverrat commented Sep 8, 2018

Hello! I was facing the same problem and did some search to solve it. I could reach the subfolders with a change in the app.js-File:

I changed following code-part:

var getOutlookFolder = function (folderpath, owner) {
    if ( folderpath === undefined || folderpath === '' ) {
        // if folder path is not defined, return main Tasks folder
        var folder = outlookNS.GetDefaultFolder(13).Folders("name of main folder");
    } else {
        // if folder path is defined
        if ( owner === undefined || owner === '' ) {
            // if owner is not defined, return defined sub folder of main Tasks folder
            var folder = outlookNS.GetDefaultFolder(13).Folders("name of main folder").Folders(folderpath);
        } else {
            // if owner is defined, try to resolve owner
            var recipient = outlookNS.CreateRecipient(owner);
            recipient.Resolve;
            if ( recipient.Resolved ) {
                var folder = outlookNS.GetSharedDefaultFolder(recipient, 13).Folders("name of main folder").Folders(folderpath);
            } else {
                return null;
            }
        }
    }
    return folder;

You could enter "Sales" as the "name of main folder" and the app will search for the subfolders in this main folder.

Hope this helps!

Greetings from Germany

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants