Dynamically Creating Sub Folders using ECMA

Hi,
I have a requirement to create a a folder and then  a sub folder in that and set its Name and Title dynamically. I am able to crate the folder however not the sub folder. Please suggest any technical way.
Thanks,
Debasis Roy

No worries - I located another thread that provided the answer.  I rather think it may be better for me - with the number of folders and sub-folders I have in my Pictures Library - to use the tree facility under Folders in Organizer. 

Similar Messages

  • HT201320 Does my email service provider have to provide the ability for me to create an IMAP email account in order for me to create Sub-folders within Apple Mail?

    Hi, Apple Mail provides a function to create sub-folders within my mailbox so that I can group emails of similar subjects or from the same sender. My service provider only provides POP email protocol and the New Folder button does not appear in my Apple Mail account for that service provider. Icloud provides the opportunity for the iPad user to select between POP and IMAP. I can select IMAP and the New Folder button appears allowing me to create sub-folders within the icloud email account. Does this mean I cannot create sub-folders in my email account unless my service provider provides customers with the option of creating an IMAP email account?
    This appears to be a problem for quite a few Apple Mail users, but service providers appear reticent to provide a response other than 'use Microsoft Exchange / Hotmail, Google GMail, or some other third party email service provider'. This is why I have chosen icloud as my email service provider. It is Apple and therefore Apple supports it. I have been a Telstra customer for over 15 years and they informed me today, strongly, that they support their own products and services, not Apple products, even though Telstra sell them. When I asked the Telstra Customer Support Manager whether they support Telstra customers, I was informed 'no, because the Telstra customer is not a Telstra product or service'. I have since cancelled my Telstra email account and am in the process of cancelling all of my Telstra services.

    Apple Sceptic wrote:
    Does this mean I cannot create sub-folders in my email account unless my service provider provides customers with the option of creating an IMAP email account?
    Yes. That is what it means. You need an IMAP account in order to create sub folders on the iPad.

  • Create sub folders in "local" - Map a network drive.

    I am using Docs2Go and when I save a document, a see an option to save on "local"; thats where I save them. finding these documents is becoming difficult. How can I create sub folders in local disk so that documents can be organised.
    Secondly, after connecting through VPN, Can I map a network shared drive.

    Can't be done.

  • When importing photos it always creates sub folders.  I do NOT want that.

    How do I stop it from creating sub folders every time I import photos?

    Have a look at thei video on importing: http://tv.adobe.com/watch/getting-started-with-adobe-photoshop-lightroom-5/lightroom-5-imp orting-your-images/

  • How to create sub domain using java ?

    how to create sub domain using java ?
    for example:
    name1.domainname.com
    name2.domainname.com
    is it possibe ?

    You don't do that using Java.
    Consult the documentation of the application server in question how to configure it. If you're using for example Tomcat 6.0, then you should be consulting this document: [http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html].

  • Pages cannot create Sub- folders!

    Boy! Ami disappointed! Apple's Pages software cannot support Sub-folders! I wanted to use ipa for everything and now I realize I cannot. I wanted to create a folder for Recipes with sub folders for desserts entrees etc. but since Pages does not support the sub folder I guess I will have to go back to my PC and Word! Anyone else had this dilemma ? That's a bad oversize by the software fols!

    Can't be done.

  • FTP_COMMAND: creating sub folders

    Hi groups
    Iam using FTP_Connect, FTP_command , FTP_R3_TO_SERVER and FTP_disconnect to transfer dat file to FTP server.
    to create sub folder in ftp server
          CONCATENATE 'mkdir'
                     p_filpth
                     INTO l_dir
                     SEPARATED BY space.
          CALL FUNCTION 'FTP_COMMAND'
            EXPORTING
              handle        = g_handle
              command       = l_dir
            TABLES
              data          = i_result
            EXCEPTIONS
              tcpip_error   = 1
              command_error = 2
              data_error    = 3.
    using FTP_COMMAND can we creater 2 or more subfolders at a time? 
    Ex: In p_filpth let the file path be like this 1/2/3. 1 and 2 subfolders already exist.now by using the above code iam able to create folder '3'.
    but if the filepath is 1/2/3/4. then iam not able to create subfolders 3 and 4. At a time only one sub folder is created.
    please suggest me how to create 2 or more subfolders at a time? it's urgent

    thank u for the response  
    let p_filpath be '/new/efmp/filo/fi/'
    Already folders new, efmp are present in the server.
    Now  iam trying to created two new folder 'filo' and 'fi' at a time.
    CONCATENATE 'ls'
                     p_filpth
                     INTO l_dir
                     SEPARATED BY space.
    CONCATENATE l_dir 'struct' into l_dir.
          CALL FUNCTION 'FTP_COMMAND'
            EXPORTING
              handle        = g_handle
              command       = l_dir
            TABLES
              data          = i_result
            EXCEPTIONS
              tcpip_error   = 1
              command_error = 2
              data_error    = 3.
    if sy-subrc eq 0.
    ***l_fname = '/new/efmp/filo/fi/test.csv'
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          handle               = g_handle
          fname                = l_fname
      BLOB_LENGTH          =
         character_mode       = c_x
       TABLES
      BLOB                 =
         text                 = p_i_final_csv
       EXCEPTIONS
         tcpip_error          = 1
         command_error        = 2
         data_error           = 3
         OTHERS               = 4
    endif.
    after using ftp_command, filepath('/new/efmp/filo/fi/) is being created (i.e 2 new folders 'filo' and 'fi' are created but  CALL FUNCTION 'FTP_R3_TO_SERVER' is failing.

  • How do I create sub folders for imported pictures in iPad albums?

    I have imported some photos to my iPad for a presentation. The pictures were in different folder under the main folder. After I import the main folder the sub folders are deleted and now all the picture are in one folder. How can I keep the original main folder with sub folders when importing pictures in iPad photo?

    Not within the Photos app, but there are other photo management apps in the App Store which allow you to create albums within albums e.g. Photo Manager Pro - that app lets you copy photos to/from the Photos app and copy photos via iTunes : Photo Manager Pro help pages.

  • I have created sub-folders under one email address but can't find the sub-folders. Can you tell me where they are please.

    The sub-folders aren't visible but when I created a second sub-folder with the same name, a box appeared advising me that a sub-folder of the same name had been created so could not be called that. Please let me know where I can find it.

    Are you describing "mailboxes" in Apple's Mail app?  That's odd, since this is the forum category for iPods.
    The location of a new mailbox is determined by your Location selection when you created the new mailbox.  In the panel that appears when you give command to create a new mailbox, there is a drop-down selection field for Location.  Click that field.  That is probably where you put your previous mailbox, so if the new one with the same name is duplicated at that location, that's the location you need to look.
    If this question is about iPod (or iTunes), please post back with more details.

  • Is there a way to create sub-folders or sub-events

    I like iPhoto very much but my big complaint has always been that there is no way to create a sub folder or sub event. Or has this changed and I just can't see how to do it.
    I have about 6,000 pictures in my iPhoto library and a large number of them are "Home and Family". What I really want is to be able to create folders or events within the "home and Family" folder or event. So for example I open the Home and Family event (or folder) and there are sub folders for each year or each part of the family etc. Organizing and looking for photos would be far easier if this is possible.

    I think I must be going senile. I tried dragging an existing album/folder into another but it will not go in. I tried creating a new folder then dragging it to an existing folder. That wouldn't go in. I tried selecting the folder I want as the parent folder then creating a new folder. That was created outside and I can't get it into the parent folder. I tried creating an empty folder on the desktop and dragging it into the pictures of the parent folder. That didn't work.
    I don't know what else to try.
    I realize I may be asking a stupid question but can somebody please tell me how to actually put one folder inside another?

  • [Mac OSX / JS] How to find images inside sub folders using getFiles?

    Hi,
    My script uses the variable myFolder to store the path for the images Folder. But when I try to use myFolder.getFiles() to retrieve images that are in sub folders the script fails. The result is null. What can I do to force myFolder.getFiles() to search inside all sub folders?
    var myFolder = Folder().selectDlg("Select images Folder");
    var myFiles = myFolder.getFiles();
    I will appreciate any help.
    Thanks,
    Candido

    Hi John,
    Thanks for your help.
    I'm rushing to my work  so I don't have enough time to sort it out at the moment.
    If I understand you correctly, it should be something like so:
    var files;
    var folder = Folder.selectDialog( "Select a folder with images" );
    if (folder != null) {
         files = GetImages(folder);
         if (files.length > 0) {
              alert("Found " + files.length + " image files");
         else {
              alert("Found no image files");
    function GetImages(theFolder) {
         var imageFiles = [],
         fileList = theFolder.getFiles(),
         i, file;
         for (i = 0; i < fileList.length; i++) {
              file = fileList[i];
              if (file instanceof Folder){
                   GetImages(file);
              else if (file instanceof File && file.name.match(/\.(jpg|psd|tiff|pdf|eps)$/i)) {
                   imageFiles.push(file);
         return imageFiles;
    But it doesn't work.
    Regards,
    Kasyan

  • Create document set using ECMA Script

    Hi,
    I want to create a document set in SharePoint 2010 document library where i have already included document set content type.
    Is there any way to create a document set using ECMA Script?? If yes, then please provide the sample code for this...
    Thanks.
    -Prashant

    Hi Prashant,
    Although this post is aimed at SP 2013 and the App model, it should give you the object model references you need to complete your goal:
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    In particular the following function should be of use:
    function CreateDocumentSet() {
    var ctx = new SP.ClientContext("http://yourSharePointSite");
    var parentFolder;
    var newDocSetName = $('#txtGetDocumentSetName').val();
    var docSetContentTypeID = "0x0120D520";
    var web = ctx.get_web();
    var list = web.get_lists().getByTitle('DocSetLibrary');
    ctx.load(list);
    parentFolder = list.get_rootFolder();
    ctx.load(parentFolder);
    var docsetContentType = web.get_contentTypes().getById(docSetContentTypeID);
    ctx.load(docsetContentType);
    ctx.executeQueryAsync(function () {
    var isCreated = SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
    ctx.executeQueryAsync(SuccessHandler('Document Set creation successful'), FailureHandler("Document Set creation failed"));
    }, FailureHandler("Folder loading failed"));
    ctx.add_requestSucceeded(function () {
    $('#txtGetDocumentSetName').val('');
    alert('Request Succeeded');
    ctx.add_requestFailed(function (sender, args) {
    alert('Request failed: ' + args.get_message());
    // Failure Message Handler
    function FailureHandler(message) {
    return function (sender, args) {
    alert(message + ": " + args.get_message());
    // Success Message Handler
    function SuccessHandler(message) {
    return function () {
    alert(message);
    Keith Tuomi | Twitter: @itgroove_keith | Blog:
    http://yalla.itgroove.net
    Please click "Propose As Answer" if a post solves the problem or "Vote As Helpful" if a post has been useful to you.

  • Dynamic creating SAPBobsCOM objects using reflection

    Hi All,
    I'm writing a tool (C#) for SBO for exporting object (oItems, oBanks etc.) to XML files. And I have a problem how to dynamically create object by it's string description. I'm trying to create it using System.Reflection, but cant't find right way to create it.
    It must be like that, but it doesn't work:
               Type  sboObject = System.Type.GetType("SAPbobsCOM.Items, Interop.SAPbobsCOM", true, true);
               object ibaseObject = Activator.CreateInstance(sboObject);
    Any ideas?)

    Hi
    I've writen this code for instantiating DI API objects using .NET reflection
            private object getObjectBo(int tipo) //tipo: integer representing the object type
                object o = null;
                try
                    Type tipoComp = kernel.Company.GetType(); //Type SAPbobsCOM.Company
                    MethodInfo info = tipoComp.GetMethod("GetBusinessObject");
                    object[] parametros = new object[1]; //Parameters of GetBusinessObject
                    object tipoObj = Enum.ToObject(typeof(SAPbobsCOM.BoObjectTypes), tipo);
                    parametros[0] = tipoObj;
                    o = info.Invoke(kernel.Company, parametros);  //Calling GetBusinessObject           
                catch (Exception ex)
                    kernel.Application.MessageBox(ex.Message, 0, "", "", "");
                return o;
    The object returned is COM object (not managed code) then we can't use .NET reflection directly for exploring its methods and attributes .. I think we should use C++ and IDispatch interface, but i don't know how do this yet.
    Hope it helps.
    Regards

  • Creating Sub-folders

    I have two email accounts, call them email A and email B. There are sub-folders for each for inbox, sent, drafts and trash.
    I would like to create a saved folder for each of the two accounts; however, it seems that in can only be attached to "On My Mac". Is there no way to "attach" one to each of the two accounts?

    That's what I thought. After a few months of Mail and now that Thunderbird has released v3.1 I'm back to TB.
    Thanks

  • How do you create sub-folders in Mail?

    Hello, thanks for reading.
    I have several domains and email accounts relating to different businesses and each account needs various associated archive folders for receipts, licences, customers, sales, newsletters, and so on...
    With a sub-folder for each email kept for future reference on each account, this is a total of around 100 folders over 4 email accounts. Mail folders treat emails like songs in iTunes and that just doesn't work. The ideal solution is to have sub-folders within each mailbox.
    If sub-folders aren't an option, can anyone suggest a way around this?! I might be able to slim it down to 20 folders but that would make finding an old email a little harder, especially if I don't know the email account it relates to or the sender.
    I did all this easily on Outlook Express, which I think is available for Mac, right?

    I've got tons of sub-folders in Mail.
    I think the key is to understand that a mailbox is represented by a folder icon.
    If you select a folder (mailbox), when you choose Mailbox/New Mailbox, the new folder appears inside the folder you highlighted. If not, you can drag it inside another folder as mentioned previously.

Maybe you are looking for

  • Birthday calendar and list view

    Hey, I'm loving my iPhone and have been very lucky in avoiding issues others have had. I do have a slight problem, though. I enabled birthdays in iCal and allowed them to sync over to iPhone. The only problem is that these birthdays from last year ar

  • Vi runs slower on other pc

    Hi, I created a vi which simply reads data from the CAN-bus an displays the data each 500ms. It works perfectly until I put the vi on another pc. The vi works nearly 10 times slower as on the original pc. Both computers have almost the same configura

  • Basic access authentication

    Hello, I'm trying to use a webview to display a web site using Basic access authentication. I've downloaded the samples. With SwingInterop_browser.jnlp a popup ask the username/password and everything is working fine With SwingInterop.jar i get an 40

  • Change validity end date on activity type

    Is there a way to change the validity end date of an activity typre. Currently it is 9999 we would like to change it to 2011. We would like to use a particular activity to cost current standards but dont want to use it for planned estimates that we w

  • Transaction over IIOP ?

    Hi,           I read in the e-docs that WLE does not support transactions over IIOP, because           "the requirement for transaction propagation from the client is in question".           There is the OTS (currently, we are talking about version 1