I got Grails CMS (Weceem) up and running. Through the admin screen I have been able to modify existing text or add new HTML pages. However I cannot add any resources folders.
When I click on New Content and select Folder and enter a folder name, checked under "Parent & Children" and it said Parent: resources(Server Directory) so I hit save. It looks like it completes but nothing is created. I refreshed the screen, expanded the resources folder and my newly created folder did not show under resources
However when I go into the actual server through ssh client I can see that the folder got created under
/root/weceem-uploads/WeceemFiles/_ROOT/resources
But yet it does not appear on the admin screen.
Anybody know why?
Thanks,
I guess I had to choose Server Directory instead of Folder. I guess it was misleading because if I choose folder it also puts it under the server directory (at least according to the Parent label under the Parent & Children section
Related
I have facing one problem. While connecting to the IMAP store, we can get the number of Folders in user email account. But some folders aren't exist.
Code :
Folder folder = store.getFolder("Sent Items");
System.out.println(folder.exists());
folder.open(folder.READ_ONLY);
System.out.println("Got Message Subject :" + folder.getMessage(2).getSubject());
Result :
false
Got Message Subject : Test Email
I can able to get many folder. But some folders are not exists eventhough i can read that folder. I don't know why its happening. Please advise
A folder doesn't have to be selectable in order to exist, and some are not. (A selectable folder is one that can contain messages.) For example, if a/b and a/c both are selectable folders, then some servers will present a parent folder called a, and depending on the server, a may be either unselectable or empty.
If a folder is selectable in general, that still doesn't mean you can select it. The access control list may be such that you're permitted to see the name of the folder but not its contents.
Currently I am using rails_admin gem. Everything is connected, and everything is working as it should.
When I go to /admin, I pick a product for example, going Add new and then in new window I have option like image url (which supposed to take name of image for example test.png and that's it).
What is bothering me, I would like to somehow enable that when I fill all options, and enter image url, also add a browse option near it, so when user/admin clicks on Add Product at the bottom of the page, image is loaded (from that PC) and added into folder in assets directory I created assets/images/MyFolder.
I see a number of routes to upload various files into D2L, including News, Content modules and the like - http://docs.valence.desire2learn.com/basic/fileupload.html however, is there a route to update a file into the "Manage Files" area of an org? For example to programmatically create a CSV for the CCB tool and upload it to the proper location?
The org that I have is one for "Course Branding" and the content path is something like
go to the course->edit course-Manage files and the Url /content/enforced/7974-ACB/ and there are 4 subdirectories there. I'd like to create a file in one of the subdirectories but not sure what the route should be. Any ideas?
Chris
Currently, you can only add files to an org unit's Manage Files area if that org unit has course content, because you must use the course content APIs to add the file data. You must also create a course content topic of type file in order to upload file data to the course's Manage Files area.
The Url property for the ContentObjectData JSON you send up indicates where in the course's Manage Files area the uploaded file will get stored: it must therefore be a legal path within your course's existing content space, and a file name that's not yet been used. Note that you can't update the underlying file you've already uploaded, or delete it, through the API. However, you can delete the content topic used to insert the file in the first place: the content topic will go away, but the underlying file will remain behind in the Manage Files area.
This is not a pleasant workaround, but it does seem to be a workaround.
I am using the SelectDirectory function in delphi in order to select a folder. I set the root to a default directory where the items a user is looking for should be. However if I want to be able navigate "above" where I am then I am unable to.
For example:
Lets say the default folder is C:\Program files\Default folder and when I am in there I can view all folders and select the one I want. However if I want to return to program file to look for another folder then I do not know how I do that.
Also I had considered using TOpenDialog but I found I wan unable to select a folder and see the files that are present in the folder (a setting which is important in SelectDirectory).
Is there a way to navigate above the root folder or possibly open the window cascaded down to the folder, as in it will display as though someone has navigated from computer to the root folder already?
Code:
SelectDirectory('Please select a directory', RootSearchLocation, ChosenDirectory,
[sdShowEdit, sdNewUI, sdShowFiles, sdValidateDir], self);
Where RootSearchLocation is C:\Program files\Default folder and ChosenDirectory is the directory the user chooses.
Any more information needed let me know.
It is not possible to navigate upwards from the specified 'root' folder in the browse for folder dialog. But you can specify an empty 'root', and fill in the 'directory' parameter with the directory you want the dialog to initially navigate.
I am using Web Part Connections to filter documents in a documents library in SharePoint. To do this, there's a column that is required, which I've named "related contact." Here's my problem: When I go add a New Folder (instead of just a document) SharePoint only asks me for a title for the Folder. The "related contact" column (which is required for the documents) doesn't even appear. Since the info on that column is empty, web part connections doesn't see the folder at all. Is there any way to make the Folder ask for another field at the time of creation?
Thanks
-V
Did you try creating a new folder content type with those required fields and trying to use that (and perhaps turn off the standard folders)?
Perhaps this page will help you: SharePoint folders and metadata.
Folders are one-dimensional. They are virtual containers for your documents, but aren't objects in your library that contain actual metadata.
Instead of using folders, I would recommend adding a column to your library that would mimic the names of the folders. From there, you can sort/filter/group/query the contents of that library. If users are sticklers for the folder structure, you could create a View that groups the documents by that new column, which would give you the appearance of folders.