Folder creation in UCM

Hi All,
There is on security group eg:-New Profile,if any new profile check-in ucm automatically the folder structure will create on that perticular profile.
The folder structure should be ---root folder EMPID_EMPNAME(Emp001_ABC)
Inside root folder 5 sub-folders like -----Emp Resume,Education details, Experience Details,Salary,Administrator
Let me know is there any possibility to create automatic folder creation when the new profile check-in inside UCM.
Give me your valuable suggestions on this issue.
Thanks.

hi,
Actually through mine custom page of mine component in which suppose there is two text box like
Parent folder
Child folder
when i submit the name a new folder should be created under contribution folder with child folder name.
Scenario is that suppose a project comes and on mine custom page when i enter the project name a folder with same name should be created under contribution folder by calling new folder creation service.
Plz if u can help me out.
Thanks once again...

Similar Messages

  • Automating Folder Creation

    Here's what I want to do. I'm trying to automate client folder creation. I have a directory called clients. Every time I create a new folder in the clients folder, I'd like for it to automatically ask me what I'd like to name the folder, then I would like it to create 6 directories inside the created folder titled "legal" "spec files" "correspondence" "modules""graphic design" and "archived materials".
    How would I go about that with automator?

    A couple of options. The first uses automator and a shell script, but you would run the workflow which asks for a folder name instead of you creating it first, as you requested. The second uses Folder Actions so that when you create a new folder in your clients folder it will ask for a name and create the folders.
    Automator Method:
    1) From Files and Folders, drag over a "New Folder" action.
    2) Enter a default name for the folder in the Name: field (or leave blank)
    3) Select your Clients folder in the Where: field
    4) Click the "Options" button and tell it to "show this action when the workflow runs"
    5) From the Utilities, drag over a "Do shell script" action
    6) Select the /bin/bash shell
    7) in the Pass input field select "As arguments"
    8) Enter this code mkdir -p $1/legal/ $1/spec files/ $1/correspondence/ $1/modules/ $1/graphic design/ $1/archived materials/
    Save this workflow and run it when you want to create the new folder. If you have quick keys, launch bar, Quicksilver, or the like, you could set up a shortcut...or, you can use cmd-space to call up spotlight and search for you workflow name and launch it from spotlight.
    For the Applescript option:
    I had some glitches with it in that it seemed to re-run the script after I changed the name. I couldn't figure out if the name change drove the script to run again. Also, after creating the new folder, you have to wait a few seconds for it to trigger. Kind of annoying, I thought.
    First, copy this script to a new Script Editor script (Applescript folder).
    property dialog_timeout : 30 -- set the amount of time before dialogs auto-answer.
    on adding folder items to this_folder after receiving added_items
    try
    tell application "Finder"
    set theFolder to item 1 of added_items
    set response to display dialog "Please enter a folder name:" default answer "New Client"
    if button returned of response is not "Cancel" then
    set the name of folder theFolder to (text returned of response)
    make new folder at folder theFolder with properties {name:"legal"}
    make new folder at folder theFolder with properties {name:"spec files"}
    make new folder at folder theFolder with properties {name:"correspondence"}
    make new folder at folder theFolder with properties {name:"modules"}
    make new folder at folder theFolder with properties {name:"graphic design"}
    make new folder at folder theFolder with properties {name:"archived materials"}
    end if
    end tell
    on error theErr
    display dialog theErr
    end try
    end adding folder items to
    Save it as a script in your user/Library/Scripts/Folder Action Scripts/ folder. Run the Folder Actions Setup script in the Applescript folder and attach this script to your "Clients" folder:
    1) Click on the Enable Actions checkbox
    2) Click the "+" button in the left pane and find your clients folder
    3) Click the "+" button in the right pane and find your script you just saved.

  • Robocopy not copying the folder creation date

    We migrate the data between 2  Windowsfile servers using robocopy and it works finew ith issues. Only issue is it doesnt copy the folder creatiopn date from source to destination server, it does copy the file creation date without any issues. Command
    we use is as below.
    robocopy.exe %1 %2 /COPYALL /MIR /ZB /R:10 /W:2 /TEE /DCOPY /LOG+:robocopy_%3.log
    This command is called using a batch file where we specify the source and destination using the below syntax.
    call Robocopy_Module.bat "C:\Backup" "C:\Restore"
    Kindly advise if this is normal behaviour , if not what is the correct command used to copy the Folder creation dates.

    I was using like this
    Go to CMD prompt,
    RUN as Administrator
    Type  
    robocopy "source path" "destination Path" / MIR
    It will copy including time stamps.
    or create seprate folder in a destination place and copy everything into that folder.
    It will work.

  • Custom property not displaying at folder creation or Details screen

    Hello everyone
    I have created a custom boolean property that I need to have displayed both at folder creation and in the Details screen of a folder after it's created.  The property is in the default namespace, and is in the Custom group.  I have created a properties file for the label and created the necessary meta data extension.  The folder validity pattern is " / " and the Resource Type listed is "normalct" so that it's active for folders only.
    Then I went to Property Groups and listed my new property in the Group Items field of the Custom group.  The Custom group is a part of "all_groups" so that group is displayed both when a new folder is created in KM and when the Details screen of a folder is displayed.
    <i>However,</i> my custom property isn't displaying under the Custom tab when I go to create a new KM folder, nor when I view the Details screen of an existing folder.  What configuration am I missing?  Do I have to develop a custom property renderer for each new property I need to create?  I was hoping I could achieve this result with configuration changes only, but I must be missing something.
    Any help would be greatly appreciated and rewarded. 
    Thanks in advance,
    Fallon

    Hi Fallon,
    actualy, if you want this property to be displayed only for folders and not for documents, you don't need to specify the resource type for folders. Setting "/" or "/**" for "Folder Validity Patterns" and "" (empty) for "Document Validity Patterns" should be enough.
    If you sill experience problems, you have to check all settings, for example with the settings suggested in this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2654">weblog</a>. If you use the "default" Property Group in the property settings, you don't have to enter the <b>Property ID</b> in a special Property Structure Group that in turn is integrated in the all_groups Property Structure Group.
    Hope this helps,
    Robert

  • Home Folder Creation w/Active Directory

    If this has been asked a million times, just point me to the url for the answer...
    I have done the leg work and have the "magic triangle" working - I can login and auth to AD and get my preferences from OD. I want our user's home folders to reside on our Windows server. I have shared out \\server\students on the Windows server and in AD I am pointing their home folder to our Windows server, but I can't get the permissions right. When I point a new user's home folder in AD to our Windows server, it creates the folder \\server\students\jtest.
    When the user logs in, none of the subfolders are created. Can someone give me some pointers on how permissions need to be set so the subfolders are created on first login?
    This is all pretty new and I'm happy that I got the triangle to work - if I can get this all important piece, I'll be set.
    Thx in advance!

    Hi
    A lot of this depends on how many OUs you have; how deep they go; and how many directories you have nested in each OU or the particular OU the directory for home folder creation is within. The accepted 'recommendation' is not more than 3 deep - generally. Having said that I have made it work with OUs 7-10 deep. Gets trickier after that.
    In my experience the non-creation of expected directories is generally down to permissions not being assigned properly - as you've guessed. Essentially users must be given read/write access all the way down the nested directories. I have seen permissions assigned correctly to a parent folder, with a set of different permissions applied to the next folder down and the next one along again with the correct permissions applied. Folder creation fails when permissions are set in this way.
    What is interesting is the log-in does not fail though you are greeted with the usual "the home folder exists on an SMB or AFP Server etc" dialog box when getting to the desktop. You sometimes get this at the log-in window as well. Although you can also see the message for other reasons - usually down to poor DNS configuration.
    You should be able to log in as the local admin and look at the system.log in Console. You should see an error starting with 'NSurl etc etc. . . ' listed. If you do that's an indication it's a permissions problem.
    Beyond this and without being there it's difficult to tell?
    Hope this helps, Tony

  • Using iOS Folder Creation Function on OSX Desktop Dock?

    Just a thought, but I'd love to keep my clutter on the dock on my macbook low by using the folder-creation function on my iPhone and iPad. Anyone else know of a way to do this or think it's a good idea?

    Information about my computer is as follows:
    Machine Name:          iMac G5
    Machine Model:          PowerMac8,2
    CPU Type:          PowerPC G5  (3.1)
    Number Of CPUs:          1
    CPU Speed:          2 GHz
    L2 Cache (per CPU):          512 KB
    Memory:          1 GB
    Bus Speed:          667 MHz
    Boot ROM Version:          5.2.5f1
    It looks like this at the back:

  • Need New for Read Access except Folder Creation

    Hi,
       I have some problem which is as follows:
    I have created the folder <b>ABC</b> in KM Content -> documents -> ABC and given the Read Rights to the user <b>user1</b>, then created the KM Navigation iView.
    Now user1 can see the ABC folder and the documents under it. The problem is that now I want to have New in the context menu and in New except folder creation, all are needed.
    How I can achieve it, please help me on this.
    Regards,
    Deep

    Hi,
    From previlages perspective If user1 should create folders under ABC, then he need more than just READ rights!!
    If you need a context menu New Folder, then you should set <b>new_folder</b>
    UICommand to your KM Navigation iView's Layoutset's Collection Renderer. The Collection Renderer property is <b>Collection  Command Group  </b>
    So have a new UI Command group and add the <b>new_folder</b> UICommand to it.
    http://help.sap.com/saphelp_nw70/helpdata/en/87/3d48475ee8bd448c4031aa98d90524/frameset.htm
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • OfflineIMAP: Infinite Folder Creation Detected

    Hello Arch Forums!
    I'm configuring OfflineIMAP 6.5.6-1 with Gmail.
    I've added the gmail portion from the OfflineIMAP wiki page to my .offlineimaprc, and added in my own info.
    The wiki page says I also have to add the nametrans rule to my local repository:
    you may need a nametrans rule for your local repository too that reverses the effects of this nametrans rule
    To do so I just copied the one from my remote repository to my local repository, no changes:
    [general]
    accounts = [email protected]
    maxsyncaccounts = 1
    [Account [email protected]]
    localrepository = [email protected]
    remoterepository = [email protected]
    status_backend = sqlite
    autorefresh = 5
    quick = 10
    [Repository [email protected]]
    type = Maildir
    localfolders = ~/mail/[email protected]
    nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
    re.sub ('sent_mail', 'sent',
    re.sub ('starred', 'flagged',
    re.sub (' ', '_', foldername.lower()))))
    [Repository [email protected]]
    type = Gmail
    remoteuser = [email protected]
    remotepass = qwerty
    nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
    re.sub ('sent_mail', 'sent',
    re.sub ('starred', 'flagged',
    re.sub (' ', '_', foldername.lower()))))
    folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
    sslcacertfile = /etc/ssl/certs/ca-certificates.crt
    keepalive = 60
    holdconnectionopen = yes
    [mbnames]
    enabled = yes
    filename = ~/.mutt/mailboxes
    header = "mailboxes "
    peritem = "+%(accountname)s/%(foldername)s"
    sep = " "
    footer = "\n"
    However, the wiki page says I need one that counteracts the other nametrans rule, and I don't know if this does it.
    Now when I start OfflineIMAP I get:
    OfflineIMAP 6.5.5
    Licensed under the GNU GPL v2+ (v2 or any later version)
    Account sync [email protected]:
    *** Processing account [email protected]
    Establishing connection to imap.gmail.com:993
    ERROR: INFINITE FOLDER CREATION DETECTED! Folder '[Gmail].All Mail' (repository '[email protected]') would be created as folder 'bak/all_mail' (repository '[email protected]'). The latter becomes 'bak.all_mail' in return, leading to infinite folder creation cycles.
    SOLUTION: 1) Do set your nametrans rules on both repositories so they lead to identical names if applied back and forth. 2) Use folderfilter settings on a repository to prevent some folders from being created on the other side.
    *** Finished account '[email protected]' in 0:07
    Next refresh in 5.0 minutes
    Is there anything esle I should do to the local nametrans rule?

    I changed my local repository:
    nametrans = lambda foldername: re.sub ('bak', '^\[gmail\]',
    re.sub ('sent', 'sent_mail',
    re.sub ('flagged', 'starred',
    re.sub ('_', ' ', foldername.lower()))))
    Still, getting the same error
    I also tried using your nametrans rules, which led me to:
    OfflineIMAP 6.5.5
    Licensed under the GNU GPL v2+ (v2 or any later version)
    Account sync [email protected]:
    *** Processing account [email protected]
    Establishing connection to imap.gmail.com:993
    ERROR: INFINITE FOLDER CREATION DETECTED! Folder 'bak.spam' (repository '[email protected]') would be created as folder 'bak/[Gmail]/Spam' (repository '[email protected]'). The latter becomes 'spam' in return, leading to infinite folder creation cycles.
    SOLUTION: 1) Do set your nametrans rules on both repositories so they lead to identical names if applied back and forth. 2) Use folderfilter settings on a repository to prevent some folders from being created on the other side.
    *** Finished account '[email protected]' in 0:04
    Next refresh in 5.0 minutes
    Last edited by SwitchDhole (2015-04-04 18:18:38)

  • [SOLVED] OfflineIMAP Infinite folder creation detected

    I've upgraded offlineIMAP and got the following error message:
    ERROR: INFINITE FOLDER CREATION DETECTED! Folder '[Gmail].Sent Mail' (repository 'Severusweb-Local') would be created as folder '[Gmail]/Sent Mail' (repository 'Severusweb-Remote'). The latter becomes 'sent_mail' in return, leading to infinite folder creation cycles. SOLUTION: 1) Do set your nametrans rules on both repositories so they lead to identical names if applied back and forth. 2) Use folderfilter settings on a repository to prevent
    some folders from being created on the other side.
    My .offlineimaprc
    Last edited by pshevtsov (2011-11-26 09:31:28)

    yep, weird one. nuking my Mail dir would be a problem i believe for me due to archives (not all imap) and the huge think and not so huge brain.
    I'm gonna try some of this.
    http://francoismichonneau.net/2011/11/o … map-6-4-1/
    http://francoismichonneau.net/2011/06/e … flineimap/
    UPDATE: ahhh! i think i only need to delete the empty not needed folders in my Mail dir.
    thank you!!!
    Last edited by tweed (2011-12-08 07:46:07)

  • Linked Images : Automatic Folder Creation for linked images?

    Best Rgards
    Mac OSX 10.9.3
    InDesign CC (9.2.1)
    Presently: 120 page Blurb publishing with 190 images
    I have created a large number of INDD documents that I piece together from many sources,
    such as file folders, internet searches, external drives, emails...kind of grabbing things
    from all over the place. usually I publish this as a PDF for local and archival use. Sometimes
    using this also for newsletters and other ways to distribute documents as pdf and epub.
    I never really paid to much attention to LINKED FILES and where they might
    be located, as my intent was PDF and you can publish a very
    serviceable Pdf without verifying or correcting MISSING LINKS...
    NOW, I am working on a higher end 120 page Photo BOOK to have printed on paper.
    I did not organise my image assets into a folder, i should have first. Now as I go to
    upload to the publisher I find I have to many missing links to images. So I am going
    back through the whole project and organising the assets and re-linking...what a lot of work this is.
    I was wondering if InDesign supports automatic creation of assets folder?
    As you place images, with their links, the program creates a folder and puts a copy of the file there?
    I don't see anything about this subject.
    I am wondering why not? It would sure make the work flow speed up. Options for
    the format, size, pip etc. Does this exist in InDesign and if not
    wtf not?
    Sure would appreciate anyone's thoughts on this. It is to late now to save this
    relinking 190 images, but I realise I need to be better prepared with my assets in the
    future. I work on a number of publications, some spontaneously and others
    more carefully planned...some sort of auto process for asset-linked-folders
    seems a simple enough coding issue. It is 2014 already.
    ???....best rgards, Thanks for any input on this issue.
    WF Posey
    Pantelleria Italy

    Thanks to everyone for these answers. I guess the real answer is "no", Adobe software engineers see no reason to create a script which
    will place linked files into a folder. To bad. A really serious and lazy oversight in my view. The package function is helpful if one has already
    organised their assetts.
    As great as these programs are, this is an oversight of some frustration. As I said in my comments above, it seems an easy enough routine to program
    into the app. Why should a user have to worry about collecting details of resources/links for a document?
    Even after all these years?
    Best regards, thanks to everyone who contributed some thoughts.
    WFP

  • CProjects - cFolder collaboration folder creation

    HI Gurus,
    I am completely new to cProjects.
    My Query:
    I need to create a cFolder for the project at the time it is Released.
    So, i used the BADi <b>DPR_EVENTS</b> on method <b>ON_DPO_RELEASED</b>.
    for cFolder creation i used the FM: <b>CFX_API_COLLABORATION_CREATE</b> it creates a folder in cFolder but not in respective cProjects for the project i created. Is there any other FM or is there any solution so when user release project it creates a cFolder in both cProjects and cFolder ( Design collaboration scenario) which is interconnected with a link.
    If need more information then please let me know.
    Regards
    Giri

    Hi,
    Here is your code:
    DATA:
      o_project type ref to cl_dpr_project_o,
      ES_PROJECT_INT type DPR_TS_PROJECT_INT,
      collab_id type SYSUUID_C,
      name type string.
      o_project ?= ir_sender.
      o_project->get_data_ext(
        IMPORTING
         ES_PROJECT_INT = ES_PROJECT_INT
    name = es_project_int-project_id.
    CALL FUNCTION 'CFX_API_COLLABORATION_CREATE'
      EXPORTING
      I_TEMPLATE_ID            =
        I_NAME                   = name
       I_DESCRIPTION            = 'Test'
       I_IS_SYNDICATE           = 'no'
      I_DEADLINE               =
       I_SCENARIO               = 'collaboration'
       I_IS_TEMPLATE            = 'no'
    IMPORTING
       E_COLLABORATION_ID       = collab_id
    <b>The Field type for project definition GUID that the bapi accepts and one that you are passing donot match.
    One that you are apssing is of type RAW 16 and bapi accepts CHAR 32.
    Simply do this:
    data: lv_proj_guid type DPR_TV_BAPI_GUID_PROJECT.
    lv_proj_guid = es_project_int-guid.</b>
    CALL FUNCTION 'BAPI_BUS2172_COLLAB_ADD'
      EXPORTING
        PROJECT_DEFINITION_GUID       = <b>lv_proj_guid</b>
       IV_COLLABORATION_GUID         = collab_id
       IV_CFOLDERS_DESTINATION       = 'UFD400_TRUST'
    Hope this works
    Regards,
    Reema
    Message was edited by: Reema
            Reema Shahbazkar

  • Folder Creation On Server

    Dear All,
    I had created a web-application which allows a user to create a named folder with his/her choice on the server which works locally but when i deployed the war of it on the Godaddy it throws a exception as
    Caught Exception: java.security.AccessControlException: access denied (java.io.FilePermission /var/chroot/home/content/b/r/i/bringlifeto/html/MyDemoDirApp/demodir/testdir write)
    Here is the link, to give you a clear idea what exactly I am talking about,
    [Test Link|www.bringlife2.com/MyDemoDirApp/jsp/index.jsp]
    For your reference here is the code
    index.jsp
    <html> 
         <head><title>Custom Directory Creation On Server</title></head> 
         <body> 
            <center> 
                 <h1>Customized Directory Creation On Server</h1> 
                 <form method="post" action="/MyDemoDirApp/UserDirDemo"> 
                     <table> 
                         <tr> 
                             <td>Enter Name For Your Directory</td> 
                             <td> </td> 
                             <td><input type="text" name="dirName" /></td> 
                         </tr> 
                         <tr> 
                             <td><input type="submit" value="Create Directory"/></td> 
                             <td> </td> 
                             <td><input type="reset" value="Reset"/></td> 
                         </tr> 
                     </table> 
                 </form> 
             </center> 
         </body> 
    </html> 
    UserDirDemo.java
        import java.io.*; 
        import javax.servlet.http.*; 
        import javax.servlet.*; 
        public class UserDirDemo 
            extends HttpServlet 
            public void doPost(HttpServletRequest request, HttpServletResponse response) 
                throws ServletException,IOException 
               response.setContentType("text/html"); 
               PrintWriter out=response.getWriter(); 
               String param=request.getParameter("dirName"); 
               //System.out.println("Param Value="+param); 
               out.println("<html><head><title>Directory Creation On Server</title></head>"); 
               out.println("<body><center>"); 
               out.println("<h1>Directory Creation On Server</h1>"); 
               ServletContext servletContext=getServletContext(); 
               out.println("<br><h3>servletContext: "+servletContext+"</h3>"); 
               String realPath=servletContext.getRealPath("/"); 
               out.println("<br><h3>realPath: "+realPath+"</h3>"); 
               try 
                   //File f=new File(realPath+"/images/testdir"); 
                   File f=new File(realPath+"/"+param+"/testdir"); 
                   f.mkdirs(); 
                   out.println("<br><h3>Absolute Path="+f.getPath()+"</h3>"); 
               catch(Exception e) 
                   out.println("<br><br><strong><i>Caught Exception:\n\t"+e+"</i></strong>"); 
                   out.close(); 
               out.close(); 
       }  As I know, the only way to create folder is java.io package. Is there some thing wrong with my code. How can I sort out this issue.
    Any help is appreciated
    Thanks,
    Arpit
    Edited by: goldie_gold on Oct 4, 2009 12:30 AM

    Hey Balus,
    Thanks for replying. I have read on net that the Java Security Manager can set various permission in Policy file inside the tomcat/conf directory. Is the exception bcoz of the the SM of GoDaddy might not have granted permission for writing or say creating folder or uploading file at runtime to a particular folder inside my webapplication.
    I apologize, I might not have used correct technical terms above as I am a newbie and hope you will understand what i am trying to say.
    Awaiting your reply.
    Arpit

  • Automatic folder creation fails  ... trying to use the bulletin board tutor

    Hello,
    I would like to create a blog using KMC functionality. For this I found an sdn article on how to create an bulletin board an this tutorial has some functionality I need in the blog too.
    Unfortunately I have some problems when I want to have an folder created automatically. Here are the steps I am doing:
    Creating a folder in the km-content named  /documents/Blog
    In Content-Management > Repository Filters > Userhome Filter+ I created an filter:
    Name: Blog
    Priority:
    URLs: Postings
    Prefix: /documents
    Startpath: /Blog
    Then I created a folder for the km-navigation iview in the portal content. The path to the initial folder is:   /alias/documents/Blog/<user.id>/Postings
    But when I call the preview to see the newly created folder ... I get the error message that the object couldn't be found (translated it means something like):
    Object not found        /alias/documents/Blog/<user.id>/Postings
    Has someone an idea what the reason could be? Is it that the automatic creation of folders is only possible in special folders?Did someone faces the same or an similar problem and could help to solve it?
    Thanks a lot and have a nice weekend,
      Vanessa

    Hello,
    It worked perfectly fine for me.
    Of course only after the restart.
    Regards
    BP

  • Folder creation date concern.

    OS X 10.6.2 on a Mac Mini 2.66 GHz.
    I just received a new Mac Mini, and as I was browsing the hard drive, I noticed that the Created date for some of the system folders seem strange. Would some Mini users please check, and post, the *Created Date* of the folders I have listed below? To the get creation date, select the folder, then right click, and select Get Info.
    LIBRARY
    SYSTEM
    APPLICATION SUPPORT
    Thanks!

    time stamps can be wrong, if your clock had the wrong time when the files were installed. Also some of those files may not have been I have files in my system that have dates from the 90s

  • Advance Folio Creation in UCM 11g

    Hi,
    I want to create advance folio in 11g through java coding.
    Please let me know the steps of creation.
    Thanks.

    Show us what code you already have and we can help debug it.
    The same code that works for 10g should work for 11g.
    Here are a few threads that may help.
    Re: New Folio creation
    Re: How to Create programmaticly Folio from a Folio template using CIS API?
    UCM and folio servies
    http://forums.oracle.com/forums/thread.jspa?messageID=9301674
    Re: UPDATE_FOLIO service
    Create folio and add content to it using CIS 11g
    Jonathan Hult
    http://redstonecontentsolutions.com
    http://corecontentonly.com

Maybe you are looking for