Solved

folder structure

Posted on 2014-04-07
7
117 Views
Last Modified: 2014-04-08
Hi There,

I need to create folder structure like this
 folderA
  folderAA
    file1
    file2
 folderB
  folderBB
    file1
    file2

etc..



Can you please give any idea, I'm new in Java scripting

Thanks
0
Comment
Question by:adnankh
  • 3
  • 2
  • 2
7 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39982835
You won't be able to create folders on the server using javascript as it is a clientside scripting language. You will also not be able to create folders clientside as this would be a massive securty flaw.

To create folders serverside would require a serverside language to do it. You won't be able to do it clientside.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39982845
Are you talking about just starting out?  Or on the fly as Lee is suggesting?  

Obviously you could simply ftp folders in that order or create on the server.  But unless you are  using serverside js, you do need to use a serverside language like asp, php etc.
0
 

Author Comment

by:adnankh
ID: 39984706
Hi Gurus,

I might did not explain properly, I've attached a file.. this is something I want to use in our Cognos Report .. and Only I can get this through javascript.
So if you have any code to share or guide would be great.

Regards,
folder-tree.png
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 200 total points
ID: 39984717
Gotcha!  You want to use a client side tree

http://www.jstree.com/
https://code.google.com/p/dynatree/
0
 

Author Comment

by:adnankh
ID: 39984736
Hi Gurus,

please have a look this attachement this is something I need for my Cognos Portal page.
Because I think here JavaScript & JQuery required to get this, due to my lack of expertise I'm bit stuggling here..

Regards,
folder-tree-final.png
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 300 total points
ID: 39985383
0
 

Author Comment

by:adnankh
ID: 39987426
Thank you all!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now