How to create a folder dynamically in KM repository

Hi All,
Could you please let me know how to create the folder dynamically in KM...
Thanks in Advance,

>
Romano Bodini wrote:
> Hi,
>
> Search the forum. And the SDN. Then ask.
>
> [Creating folders in KM dynamically|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1761]
>
> Romano
Actually, "look at the API documentation" should be in that list.

Similar Messages

  • How to create the folder Dynamically?

    hello friends,
    I want to create a folder dynamically in the tomcat. how to do that in the java class.
    any ideas appreciated.
    thanx in advance,
    -bala

    bala,
    this is dheenathayalan.
    Plz add ur suggestions.
    Im want to upload contents (mp3, ringtones, �) on dynamically created folder which is placed inside Webcontent folder (mycontext/webcontent/contents/images..).
    I did the all operations to need. But I want to create the folders Dynamically inside Web folder. For that im using File to create new Folders. Nw my question is How to get the path. When im using File it accepts like D:�/�/. I dnt want like this.
    I wanna REAL Path, so im using like this..,
    String realPath = getServlet().getServletContext().getRealPath("/upload/images");
    File directory = new File(realPath + File.separatorChar + justFileName);
    directory.mkdirs();
    f1 = new FileOutputStream(contentpath);
    f1.write(filedata);
    f1.close();
    but im getting ERROR while REALPATH. Im using STRUTS2. plz tell me how to do it.
    Plz Do the needful.

  • How to create the folder in presentation server through pop-up(

    Hi Experts,
    Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
    regards
    ram.

    Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
    DATA: path TYPE string,
          rc TYPE i,
    dir_name TYPE string value 'HI'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        CHANGING
          SELECTED_FOLDER      = path
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    concatenate path '\' dir_name into path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
        EXPORTING
          DIRECTORY                = path
        CHANGING
          RC                       = rc
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to create a folder for a specific e-mail account?

    How to create a folder for a specific e-mail account?
    I'm using a POP e-mail account and I would like to create folders / sub-folders... how can I do this?

    You can right click on your Desktop and select New Folder.  In Finder File > New Folder should work too, not in front of my Mac.
    Welcome to back by the way.  You might find these websites helpful.
    Switch 101
    Mac 101

  • How to create a folder to store my mail?

    hi,
    can u tell me how to create a folder to store my outgoing mails using java mail.
    Million Thanks for u
    With luv
    kathir

    hi chiru,
    Thanks for ur reply.Can u tell me how to configure IMAP.I've tried to configure IMAP in outlook and then i run the program with the code u sent,but it throws
    " javax.mail.NoSuchProviderException: No provider for IMAP
    at javax.mail.Session.getProvider(Session.java:289)
    at javax.mail.Session.getStore(Session.java:363)
    at javax.mail.Session.getStore(Session.java:343)
    at MessageSend.main(MessageSend.java:61)
    Plz give me some soln for this excep.
    Thanks in advance
    Regs
    Kathiravan

  • How to create a folder (in unified folders) which contains all the messages of inboxes and outboxes

    Hi, i've searched without success how to create a folder (in unified folders) which contains all the messages of inboxes and outboxes (as it exists in Windows Live Mail).
    For me, it would be very useful to search in only one folder when i try to find something in sent and received mails.
    Thank's

    This is what Unified Folders does. I'm not sure what exactly you're trying to achieve.
    http://kb.mozillazine.org/Global_Inbox#Unified_Folders
    You might take a look at this article.
    https://support.mozilla.org/en-US/kb/global-search

  • How to create a folder in iphone3g

    Hiiiiiiiiiiiiiiiiiiiiiiiiiiiii !
       How to create a folder in iphone3g.............
    eg : utilities & game folders..........

    This works for me on an iPhone 3G  >  http://www.online-tech-tips.com/smartphones/create-folders-on-iphone/

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • How to create alv table dynamically by performing action on the button.

    Hi all,
    my requirement is to create alv table dynamically.
    that is i will create two buttons
    1) show alv table
    2) close alv table
    if user selects show alv table then the alv table should be displayed.
    and if user selects clsoe alv table then the alv table should be closed.
    to create alv table dynamically  i have followed this procedure.
    under view properties i have added salv_wd_table component. then under the action of showalvbutton i went to code wizard and i have selected instantiate used component component use salv_wd_table. the following code will be generated
    with this code i am unable to display alv table dynamically correct me where i went wrong kindly send me the necessary steps how to create alv table dynamically
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_salv_wd_table( ).
    if lo_cmp_usage->has_active_component( ) is initial.
      lo_cmp_usage->create_component( ).
      endif.
    to close table i have used the following code. with this code i am able to achieve the functionality to delete the alv table
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_salv_wd_table( ).
    if lo_cmp_usage->has_active_component( ) is initial.
      else.
      lo_cmp_usage->Delete_component( ).
    endif.
    Thanks & Regards,
    Naveen
    Edited by: naveen.webhelp on Feb 10, 2011 5:52 AM

    Hi
    ALV table will be shown in the viewcontainerUI element.
    it is shown there empty if you dont fill the node bound to the data node of the interface controller of the comp usage
    SALV_WD_TABLE.
    and if you are not getting the table filled in the first place.
    then check have you mapped the DATA node to some node in the comp controller
    wht basically is your requirment is that you want to show ALV gird on click of one button and delete it on click of other button.
    there are many ways to do so.
    best way is control the visiblity of the viewcontainer UI element which containes the TABLE view of SALV_WD_table comp.
    create an attribute of type WDUI_VISIBILITY name say VIS.
    now go to the layout and bound hte visible property of the viewcontainer to this attribute VIS.
    then in the showalv grid button's eventhandler write
    wd_context->set_attribute(
    name = 'VIS'
    value = '02'
    and in the wddoinit and delete alv grid button's event handler write
    wd_context->set_attribute(
    name = 'VIS'
    value = '01'
    thanks
    sarbjeet singh

  • How to create new folder on laundchpad?

    How to create new folder on launchpad? I am new, sorry

    Hi Amauri17,
    Launchpad works just like iOS if you're familar with the folder structure. Click, hold and drag one application onto another and it'll group them into a folder.

  • How to create shared folder between mac and windows

    how to create shared folder between mac and windows

    Us ean external drive formatted FAT32 or ExFat. Both OSx and Windows can read/write to the drive and both can use the same data files as long as you have a program that can open and save these files. For example, Word running both on OSx and on Windows will be able to work with the same document on the external drive.

  • How to create a folder under BEA Repository through code

    Hi All,
    We are trying to create a folder under the BEA Repository through Java code. Could you please post the right API for it.
    We have tried the InodeManger class and its addNode method, which is good for creating any content, but we are trying to create the folder itself from the code.
    Thanks
    Veera

    Hi Veera,
    You're on the right track. The INodeManager.addNode method is the way to go. You just need to specify an object class name of a folder object class. Out of the box there's one, and this is configurable for your given repository's configuration. Once you add nodes of this type they'll be badged as folders in the portal admin tools.
    -Ryan

  • How to create a viewobject dynamically without using wizard

    Hi,
    I am Using jDEV 11G, i need to create a viewobject dynamically without using wizard, without binding from any entity.
    Actually my intention is to make a grid like in .Net, when a user want to create a new row in RichTable without using DB.
    just like shopping cart.
    i have done thsi code:
    ViewObjectImpl view=new ViewObjectImpl();
    view.addDynamicAttributeWithType("Att1","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    Row rw=view.createRow();
    rw.setAttribute("Att1","First1");
    rw.setAttribute("Att2","First2");
    rw.setAttribute("Att2","First3");
    view.insertRow(rw);
    I have a RichTable , i need bind this viewobject into that.
    Edited by: vipin k raghav on Mar 10, 2009 11:39 PM

    Hi Vipin,
    You can create the view object with rows populated at run time.
    [http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGCGFCA]
    For reference of how to create an empty rwo at run time on button click
    [http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html]
    ~Vikram

  • How to create universe folder in BO XI via SDK

    Hi all,
    I'm just starting to use the BOXI SDK. I've used the sample to create new folders, it worked perfectly.
    But now I would like to create new universe folders but I have no idea how to do it. Here is the sample to create a folder :
    int addFolder (int parentFolderID, String folderName, String folderDescription, IInfoStore infoStore)
        int objectID = 0;
        try
         * Since folders are implemented using a plugin,
         * you will need the PluginManager to retrieve the folder plugin.
        IPluginMgr pluginMgr = infoStore.getPluginMgr();
         * Retrieve the Folder plugin by passing the plugin ProgID
         * to the PluginInfo property of the PluginManager.
        //IPluginInfo folderPlugin = pluginMgr.getPluginInfo("CrystalEnterprise.Folder");
        IPluginInfo folderPlugin = pluginMgr.getPluginInfo("CrystalEnterprise.Folder");
        // Create a new, empty InfoObject collection.
        IInfoObjects newInfoObjects = infoStore.newInfoObjectCollection();
         * Give the Folder plugin object to the Add method.  This
         * creates a new InfoObject based on the plugin type.
         * In this case, since the plugin is the folder plugin,
         * the object created is a folder object.
        newInfoObjects.add(folderPlugin);
           IInfoObject infoObject = (IInfoObject) newInfoObjects.get(0);
        // Specify the folder's details._ENDLOC   _
        infoObject.setTitle (folderName);
        infoObject.setDescription (folderDescription);
        objectID = infoObject.getID();
         * The next line indicates where in the folder tree the
         * folder is to be created.  It does this by setting the
         * parent ID property or, in other words, by telling the folder
         * which folder is its parent. If the parent ID property is
         * zero, then the folder has no parent and is thus a top-level
         * folder.
        infoObject.properties().setProperty(CePropertyID.SI_PARENTID, parentFolderID);
         * Use the infoStore to commit the new collection with the new folder
         * to the CMS database.
        infoStore.commit (newInfoObjects);
         }catch (SDKException e) {
              throw new Error("Impossible d'ajouter le dossier. Exception survenue : "
                                      + e.getMessage());
         }catch (NullPointerException e) {
              throw new Error("Impossible d'ajouter le dossier. Exception survenue : "
                                      + e.getMessage());
        return objectID;
    Could someone give me some clues or code sample (preferably in Java or C#) in order to solve this problem?
    Thank you in advance for all information and help you could provide.
    Best regards,

    I wouldn't expect the code to be any different for universe folders, you just need to find the id for the top level folder for the universes.  It might be easiest to add a folder there manually and check its properties.

Maybe you are looking for

  • Couldn't create Distiller Window, Error: 126

    I'm getting an error that says "Could not create Distiller window, Error: 126-The specified module could not be found" This happens when I first start up the machine, and also when I try to print a Word document to a PDF. Acrobat will not open to do

  • Using OT fonts in Encapsulated Postscript

    Hello, I'm writing an Ecapsulated Postscript file which inculdes text. I've found that any font name that includes spaces fail. For instance, the following PS command works fine: /Ariel findfont setfont While this does not: /Bookman Old Style findfon

  • There is whirling sound when my macbook starts up

    there is whirling sound when my macbook starts up

  • JSP 2.0 and OC4J 9iAS 9.0.4

    Does anyone know if the next release of 9iAS, specifically OC4J 9.0.4 support the JSP 2.0 standard? If not when will JSP 2.0 be supported in OC4J? Laith E.H.

  • Mail notifications in 10.9.2 open message window not Mail

    With yesterdays 10.9.2 update clicking on Mail notifications now opens new messege window with that email, instead of just highlighting it in main Mail wondow. This is amazingly annoying and nonproductive. Is there a way to switch it back?