Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Remove "New Base Folder"
Last Post 07/11/2008 11:11 AM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Mathias Freudigmann
New Member
New Member
Posts:14


--
06/11/2008 12:40 AM

I ran the script "Insert Base Folder". As a result the folder "New Base Folder" was created below the absolute root. Now I would like to remove it now but I can't - the delete option doesn't apprear, neither in the context menu nor in the module's menu (I logged out and in with different accounts and roles... it didn't help)

?? Regards, Mathias

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/13/2008 10:53 AM
You can't delete the root of a DMX instance. That is prohibited. Set the root of the module to the absolute root or another folder first.

Peter
Mathias Freudigmann
New Member
New Member
Posts:14


--
07/10/2008 4:01 PM

The skript actually created the "New Base Folder" below the absolute root. And as you say, I set the local root = abolute root. So "New Base Folder" should not be a root folder at all. The DMX tree looks as follows:

- Document Exchange 

    + Project 1

    + Project 2

    + New Base Folder

However I still can't delete the "New Base Folder" because there is no menu available for this folder (neither context menu nor head menu). Is there a way to remove the folder manually in the DB and/or server?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
07/11/2008 11:11 AM

Hi Mathias,

The script should do the following:
1. Create a new folder under the absolute root (i.e. it has CollectionID=0). The name is 'New Base Folder' and the permissions are VIEW/EDIT/ADD for Administrators.
2. All content previously having CollectionID=0 should now be set to CollectionID= (EntryId of newly created folder)
3. The DMX module instance you're in should then be set to use the newly created folder as its base folder.

For any DMX instance you cannot edit/remove the currently defined base folder (cf. point 3 above) which I was outlining in my earlier reply. From your post it seems the script did not run well at all since 'Project 1' and 2 should have been moved to the base folder.

A quick fix is to remove it manually from DMX_Entries. Find out the EntryId by clicking 'Navigate' on the folder and reading the EntryId from the querystring. Go into SQL and remove the row by hand. Note that any content in it will be orphaned. But from your post I gather there is nothing inside New Base Folder.

Peter

You are not authorized to post a reply.