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

Add subfolders and items into subfolders #24

Open
Anthorn opened this issue Sep 29, 2015 · 0 comments
Open

Add subfolders and items into subfolders #24

Anthorn opened this issue Sep 29, 2015 · 0 comments

Comments

@Anthorn
Copy link

Anthorn commented Sep 29, 2015

Im trying to add a subfolder to a existing folder in the root directory. But instead of appering in the folder, the subfolder appears in the root directory.

My code:
new_row = list.Row()
new_row.ContentType = 'Folder'
new_row.Title = name
new_row.BaseName = name
new_row._EditMenuTableStart = name
new_row.EncodedAbsUrl = self.complete_url+ "/" + url + "/" + name
new_row.ServerUrl = self.site_url +"/"+ url + "/" + name
new_row.LinkFilenameNoMenu = name
new_row.LinkFilename = name
list.append(new_row)
list.save()

Is this feature not implemented or am i doing something wrong here?

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

1 participant