Can not create a content hierarchy inside a shared folder - sensenet

I followed the steps in this post successfully, but I cannot make a new text document inside the shared folder.
I can create a top level folders inside the the shared folder, but I cannot also browse the folder to create second level folders and so on!
--
Update 1
Screenshot of Folder's Browse page
Update 2
Screenshot of Folder's Copy of Browse page
Update 3
If we browse a folder from mike's My page ,like the one in below, we got a result as in the second screenshot

It is because the Folder content type has a separate custom Browse page and it is not the same as the one for the 'My page' which is a UserProfile. So if you want to make it work for folders:
Create a System Folder with the name (apps) into your 'shared folder' and a Folder in to the newly created (apps) folder with the name Folder
Copy the Browse page from the UserProfile folder (/Root/Profiles/(apps)/UserProfile) into the 'shared folder's (apps)/Folder folder
Change the list portlet on the Folder Browse page to display always the current folder (set CurrentContent as Bind Target and remove the path from the Custom Root Path input)
Check this article about sensenet smart application model which is strongly related to your question.

Related

Do I have to move my Dropbox folder to work with JupyterLab?

The File menu in JupyterLab has few options for saving and opening files. The menu items do let one browse the file system and search for a directory. For example, the File->Open from Path... menu item only allows entering a file on a path relative to /jlab/root. Questions:
What is the location of /jlab/root. Is there a command that shows it?
I like to keep files with code in a subfolder of my Dropbox folder. What do I do if my Dropbox folder is not a subfolder of /jlab/root?

Cant create new directory inside existing directory in IntelliJ

Im using IntelliJ community version for Spring project, and I have issue with creating new directory named images inside already existing directory resources -> static. When I right click on static and I add new directory images, instead of creating new directory this is created.
Someone could say that it is ok, this is a way new directory is shown, but I dont think that is correct. When I try to remove images directory I can remove only both directories static.images directory. If I try to add new directory into static directory, it goes into static.images and not into static.
So question is how to create directory inside another directory? There is no issue when I add new package inside another package in the src->main->java project structure.
The other person is correct. The directory was created as you desired, it is just displayed differently that you expected.
To verify this, open a shell and list the directories. The following shows all the directories under the current directory.
$ find . -type d
The directory parent is based on where in the path you click. If you click on the word static you will create a directory under the static directory. If you click on the word images you will create a directory under the images directory.

How do I include image directories and files in my JavaFX build using Intellij

I can not seem to figure this out.
I have marked some directories outside of my src folder as "resources" in the module settings of the project structure.
When I build the artifact those directories are not included or the files within them.
My directory structure is:
/myApp
-src/com/org/myapp
-theme //this is an image folder
-profilepics //this is an image folder
-genimages //this is an image folder
I have tried marking the directories as source folders as well as marking the myApp directory as source.
Had this same issue, here's how I fixed it:
Open up the project inside IntelliJ, click on Build -> Build Artifacts..
Select your artifact, and then on the 'Actions' submenu, click 'Edit'
In 'Output layout', click on '+', add then pick 'Directory content'
Select your images folder, click 'OK', and then save the changes
Also, check how the images are used in the .fxml files (if they are shown to be inside a folder, you may need to put the images inside a folder too -> after selecting the images folder in the artifact menu, right-click and select 'Surround with' and then pick 'directory'.

How Do I Know Change Directory System Watcher?

How do I change directory folder in system watcher?
I made a desktop app to upload file in database.
I set the root folder as C:\Users\x\Desktop\Test.
A user can copy/paste a file into that folder and that file will upload to database.
but sometimes, a user can upload not in that root folder. user can upload file to other folder in root.
Let's say in the root folder, there are folders called Hello and Hallo..
the user clicks on the folder Hello, directory change not C:\Users\x\Desktop\Test again but C:\Users\x\Desktop\Test\Hello
My question, how can I detect it?
Because system watcher can only handle created, changed, deleted, renamed. So I must change or create file first to get e.fullpath.
I want that if I click folder Hello, I get e.fullpath :)
Set the IncludeSubdirectories property on your FileSystemWatcher to true, e.g.:
fsw.IncludeSubdirectories = True
Ref: http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.includesubdirectories(v=vs.110).aspx

How to add folders and files in to MSI and how to access that added files in to custom action of MSI

Actually I want add some folders and files to MSI. Through custom action i want to copy that added folders and files to some destination/target folder.
Any Help please???
Surely you can add Folders as well as Files to MSI but its not using custom action Follow the steps to add Your Folders or Files.
Right Click the Project(Setup) in Solution Explorer.
Click View > Click FileSystem.
New interface will be opened.
Right Click on File System on Target Meachine > Click Add Special Folder.
You can choose any one of the folder that are listed or go for Custom Folder.
Right Click on the Custom Folder you created > Click Add > Click Folder.
Right Click on the newly created Folder > click Properties.
Set DefaultLocation Property to ("Destination") ie c:.
Right Click on the newly created Folder > Click Add > Click File.
Browse the file you wants to get added .
Build the solution.
Your are done.