Create Link to a folder

Greeting Gurus,
is it possible to create a link in page, which will point me to a folder, instead of a page?
Coz from what i found in the peoplecode, they are transferring me to a page, and i did for an "External link" by setting up the definition in
PeopleTools > Utilities > Administration > URLs
and my value set to
"http://my_domain_c:8080/psp/shhruat/EMPLOYEE/HRMS/s/WEBLIB_PTPP_SC.HOMEPAGE.FieldFormula.IScript_AppHP?pt_fname=SH_EMPLOYEES&FolderPath=PORTAL_ROOT_OBJECT.SH_EMPLOYEES&IsFolder=true"
and set the hyperlink to point to a page object, but when i click on the link, it links to....
[http://img142.imageshack.us/my.php?image=scr10hp1.jpg]
Any idea how to resolve this? Thanks for your advise
Edited by: Weilies on Nov 4, 2008 1:07 AM

Hi Roy,
(a) If you are (much) below SPS18, maybe try to upgrade.
(b) Double-check the default trace. It is not impossible, but at least unprobable that there is no info inside.
(c) If (a) and (b) don't help, open an OSS message...
Hope it helps
Detlev

Similar Messages

  • Unable to create a folder link to a folder located at filesystem repository

    Hello,
    I have created a File System repository manager which is working OK.
    The problem is that when I try to created a link between a folder located inside the /documents repository to any folder located at the repository I defined I receive this error:
    "The item could not be created because an exception occurred in the framework". I couldn't find any meaningful info at the defaultTrace.
    Any ideas?

    Hi Roy,
    (a) If you are (much) below SPS18, maybe try to upgrade.
    (b) Double-check the default trace. It is not impossible, but at least unprobable that there is no info inside.
    (c) If (a) and (b) don't help, open an OSS message...
    Hope it helps
    Detlev

  • Creating links to folder resources in XDB repository

    Hi,
    I have a problem with creating links to folder resources in Oracle XDB repository, especially when I delete child resources from the linked folder or the linked folder itself.
    For instance, if I have the following two resources:
    /public/folder1/mydocument.xml
    /public/folder2
    and then create a link to folder1 within folder2 like this:
    begin
    dbms_xdb.link('/public/folder1', '/public/folder2', 'mylinkedfolder');
    end;
    and then delete the resource from the linked folder, like this:
    delete from path_view where equals_path('/public/folder2/mylinkedfolder/mydocument.xml') = 1;
    the resource 'mydocument.xml' is completely removed from the database, from both locations. The manual states that: "Deletion of a link deletes the resource pointed to by the link if and only if that was the
    last link to the resource and the resource is not versioned." Before executing the delete statement the following query gives two results (links):
    select path from path_view where resid = <<resid of mydocument.xml>>
    The statements:
    begin
    dbms_xdb.deleteresource('/public/folder2/mylinkedfolder/mydocument.xml', dbms_xdb.DELETE_RECURSIVE_FORCE);
    end;
    and:
    delete from path_view where path = '/public/folder2/mylinkedfolder/mydocument1.xml'
    result in the same behavior. Also, when I remove the folder '/public/folder2/mylinkedfolder', the document mydocument.xml is also removed from both locations.
    Is this behavior expected behavior? Is there another way to get the behavior that is described in the manual?
    Thanks,
    Maarten

    Removing the second link to the folder should not delete the contents unless you specify delete recursive when doing so.. See below
    SQL> var folderPath varchar2(246)
    SQL> --
    SQL> begin
      2    :folderPath  := '/public/398437';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xdb.deleteResource(:folderPath,dbms_xdb.DELETE_RECURSIVE_FORCE);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> declare
      2    res boolean;
      3  begin
      4    res := dbms_xdb.createFolder(:folderPath);
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> select path
      2    from path_view
      3   where under_path(res,:folderPath) = 1
      4  /
    no rows selected
    SQL> declare
      2    res boolean;
      3  begin
      4    res := dbms_xdb.createFolder(:folderPath || '/t1');
      5    res := dbms_xdb.createResource(:folderPath || '/t1/test.txt','Mary had a little lamb');
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select path
      2    from path_view
      3   where under_path(res,:folderPath) = 1
      4  /
    PATH
    /public/398437/t1
    /public/398437/t1/test.txt
    SQL> begin
      2    dbms_xdb.link(:folderPath || '/t1', :folderPath , 't2');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select path
      2    from path_view
      3   where under_path(res,:folderPath) = 1
      4  /
    PATH
    /public/398437/t2
    /public/398437/t1
    /public/398437/t2/test.txt
    /public/398437/t1/test.txt
    SQL> begin
      2    dbms_xdb.deleteResource(:folderPath || '/t2');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select path
      2    from path_view
      3   where under_path(res,:folderPath) = 1
      4  /
    PATH
    /public/398437/t1
    /public/398437/t1/test.txt
    SQL>
    SQL>
    SQL>
    SQL>

  • I can not open links on my desktop, says I need to create an association in folder options

    Ever since I switched from IE to Foxfire, I cannot click on desktop links to open programs. I get a message saying I need to create an association in Folder Options

    See this: <br />
    http://support.mozilla.com/en-US/kb/Managing+file+types

  • I can no longer drag a link to a folder -- a Windows folder -- to save it. This feature is (was) very useful as I could save links relevant to my work in the folder for the project.

    In previous versions I have been able to drag the icon from the address bar to a Windows folder, producing a clickable link in that folder.
    I even have FAQ and Help files on various web sites advising people to do that as it is very useful to have links to web sites in a folder relevant to the content of the folder.

    This is very frustrating -- this feature worked in ver. 3, not sure about 4, but now FF 5 has removed it. This is important enough to me to either revert to v. 3 or use Opera (see below).
    IE v. 8 has removed it too.
    Opera v. 11 will do it -- but it only saves to the desktop and not to folders, so you have to drag the icon to the desktop and then drag it into the folder.
    I use this regularly with presentations -- will be doing one next weekend -- and I take it on a USB memory stick to someone else's computer. I can click on a link in the presentation folder and have that page open in their default browser. It does me no good to have the link in my bookmarks back at my office.
    If you're going to remove the feature, you might ought to remove the suggestion to use it at:
    http://kb.mozillazine.org/Mouse_tips
    and
    https://support.mozilla.com/en-US/kb/Creating a desktop shortcut to a web page
    Please restore this feature!

  • Problem creating items in a folder owned by another user

    Hi
    Iam getting an exception when i try to create a folder owned (or shall i say) created by another user.Let me explain what iam doing :
    1. I have created a folder "INPRISE" under "/home".I have
    created an ACL "MyAcl" having group INPRISEGROUP
    as the ACE having all permissions.I have set the ACL "MyAcl" on the folder "INPRISE".
    2. I have created two users i1 and i2
    and placed them in the group INPRISEGROUP .Both these users have a link under thei home folder to "INPRISE" folder(achieved by using and addItem()).
    3. I could successfully login as i1 and create a folder "WebApps" under "INPRISE" and upload a document "A.txt" under "WebApps".
    4.But when i log in as "i2" and try to create a document "B.txt" under "WebApps" which was created by user "i1" i get the following exception :
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i1
    javawebserver: The home folder name is --> i1
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i1
    javawebserver: The home folder name is --> i1
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i1
    javawebserver: The home folder name is --> i1
    javawebserver: home folder
    javawebserver: **********Creating document in /home/i1/INPRISE/WebApps
    javawebserver: Created document..
    javawebserver: Setting permissions for the document....
    javawebserver: setting the access level
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i2
    javawebserver: The home folder name is --> i2
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i2
    javawebserver: The home folder name is --> i2
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i2
    javawebserver: The home folder name is --> i2
    javawebserver: home folder
    javawebserver: **********Creating document in /home/i2/INPRISE/WebApps
    javawebserver: Error while creating document.....
    javawebserver: oracle.ifs.common.IfsException: IFS-30002: Unable to create new
    LibraryObject
    javawebserver: oracle.ifs.common.IfsException: IFS-30048: Insufficient access t
    o add items to a Folder
    javawebserver: oracle.ifs.common.IfsException: IFS-30030: Permission not grante
    d on specified ACL
    javawebserver: at java.lang.Throwable.<init>(Compiled Code)
    javawebserver: at java.lang.Exception.<init>(Compiled Code)
    javawebserver: at org.omg.CORBA.UserException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.common.IfsException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.common.IfsException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.common.IfsException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.server.S_AccessControlList.verifyStandardPermissi
    onEnabled(S_AccessControlList.java:602)
    javawebserver: at oracle.ifs.server.S_PublicObject.verifyPublicObjectPermissio
    n(S_PublicObject.java:2169)
    javawebserver: at oracle.ifs.server.S_Folder.verifyCanAddItem(S_Folder.java:10
    05)
    javawebserver: at oracle.ifs.server.S_Folder.addReference(S_Folder.java:719)
    javawebserver: at oracle.ifs.server.S_Folder.addReference(S_Folder.java:697)
    javawebserver: at oracle.ifs.server.S_PublicObject.postCreateAddToFolder(S_Pub
    licObject.java:2753)
    javawebserver: at oracle.ifs.server.S_PublicObject.extendedPostInsert(S_Public
    Object.java:995)
    javawebserver: at oracle.ifs.server.S_LibraryObject.postInsert(S_LibraryObject
    .java:1341)
    javawebserver: at oracle.ifs.server.OperationState.executeAtomicOperations(Com
    piled Code)
    javawebserver: at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryOb
    ject.java:2348)
    javawebserver: at oracle.ifs.server.S_LibrarySessio n.newLibraryObject(S_Librar
    ySession.java:6596)
    javawebserver: at oracle.ifs.server.S_LibrarySession.newPublicObject(S_Library
    Session.java:6637)
    javawebserver: at oracle.ifs.server.S_LibrarySession.newPublicObject(S_Library
    Session.java:6619)
    javawebserver: at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_Libra
    rySession.java:6407)
    javawebserver: at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySes
    sion.java:6913)
    javawebserver: at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySessi
    on.java:4564)
    javawebserver: at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySe
    ssion.java:2562)
    javawebserver: at oracle.ifs.utils.common.PublicObjectUtilities.createDocument
    (PublicObjectUtilities.java:537)
    javawebserver: at oracle.ifs.utils.common.PublicObjectUtilities.putAsDocumentW
    ithVersioning(PublicObjectUtilities.java:163)
    javawebserver: at oracle.ifs.adk.filesystem.IfsFileSystem.createDocument(IfsFi
    leSystem.java:922)
    javawebserver: at dp.DPDocManager.uploadDocument(DPDocManager.java:374)
    javawebserver: at ifs.jsp_sbin._dp._dpDoc._jspService(_dpDoc.java:115)
    javawebserver: at oracle.ifs.protocols.http.jsp.pagecompile.jsp.runtime.HttpJs
    pBase.service(HttpJspBase.java:94)
    javawebserver: at javax.servlet.http.HttpServlet.service(Compiled Code)
    javawebserver: at oracle.ifs.protocols.http.jsp.IfsJspServlet.runServlet(IfsJs
    pServlet.java:865)
    javawebserver: at oracle.ifs.protocols.http.jsp.IfsJspServlet.processJspPage(C
    ompiled Code)
    javawebserver: at oracle.ifs.protocols.http.jsp.IfsJspServlet.service(IfsJspSe
    rvlet.java:240)
    javawebserver: at javax.servlet.http.HttpServlet.service(Compiled Code)
    javawebserver: at com.sun.server.ServletState.callService(ServletState.java:22
    6)
    javawebserver: at com.sun.server.ServletManager.callServletService(ServletMana
    ger.java:936)
    javawebserver: at com.sun.server.ProcessingState.invokeTargetServlet(Processin
    gState.java:423)
    javawebserver: at com.sun.server.http.HttpProcessingState.execute(HttpProcessi
    ngState.java:79)
    javawebserver: THE ERROR MESSAGE IS IFS-30002: Unable to create new LibraryObje
    ct
    javawebserver: Setting permissions for the document....
    javawebserver: setting the access level
    javawebserver: at com.sun.server.http.stages.Runner.process(Runner.java:79)
    javawebserver: at com.sun.server.ProcessingSupport.process(Compiled Code)
    javawebserver: at com.sun.server.Service.process(Service.java:204)
    javawebserver: at com.sun.server.http.HttpServiceHandler.handleRequest(HttpSer
    viceHandler.java:374)
    javawebserver: at com.sun.server.http.HttpServiceHandler.handleRequest(Compile
    d Code)
    javawebserver: at com.sun.server.HandlerThread.run(Compiled Code)
    javawebserver:
    javawebserver:
    javawebserver: Error during JSP page processing: /ifs/jsp-bin/dp/dpDoc.jsp
    javawebserver: java.lang.NullPointerException
    The Code is :
    package dp;
    import oracle.ifs.beans.*;
    import oracle.ifs.common.*;
    import oracle.ifs.beans.parsers.*;
    import oracle.ifs.adk.security.*;
    import oracle.ifs.adk.filesystem.*;
    import java.io.*;
    import java.util.Locale;
    import javax.servlet.http.*;
    * The document manager bean for the Deal Planner app.
    * <p>
    * This class provides a login session/creates a new account in the IFS. The class
    * implements the <code>IfsHttpLogin</code> interface so it can share login data with other
    * beans.
    * @author Srinivas Sampige
    * @version 1.0
    * @see IfsHttpLogin
    public class DPDocManager implements IfsHttpLogin
    private String userName = "";
    private LibrarySession ifsSession = null;
    private FolderPathResolver fPathResolver = null;
    private IfsFileSystem ifsFileSystem; // File System object
    public DPDocManager()
    {//does nothing
    *Creates a new account in the IFS for
    *a new deal when the deal code is passed in.
    *@ param dealCode The deal code of the deal for which an account has to be created
    *@ param password A system generate d password for the account being created.
    *@ return String Will return "SUCCESS" on creating the account or the reason if an
    * error occurrs.
    public String createDealFolder(String dealCode)
    String result = "SUCCESS";
    try
    ifsSession = getIfsConnection("system","manager","ServerManager","i5ifs");
    ifsSession.setAdministrationMode(true);
    //create a new folder for this deal
    Folder dealFolder = createFolder("/home",dealCode);
    //create a group for this deal;place the group as
    //an access control entry in an access control list.
    //Set the access control list to the folder.
    AccessControlList acl = createDealGroup(dealCode);
    dealFolder.setAcl(acl);
    ifsSession.setAdministrationMode(false);
    }catch(IfsException ie)
    int code = ie.getErrorCode();
    System.out.println("THE ERROR CODE WHILE CREATING DEAL FOLDER IS -- "+code);
    ie.printStackTrace();
    result = ie.getMessage();
    return result;
    }//createDealFolder
    public String createUser(String userId,String password,String dealCode)
    String result = "SUCCESS";
    System.out.println("Creating user and adding to a group "+userId);
    try
    this.ifsSession = getIfsConnection("system","manager","ServerManager","i5ifs");
    ifsSession.setAdministrationMode(true);
    System.out.println("Logged in successully");
    //form the XML necessary for creating the simple user;
    //the new user in the IFS will be the Deal.User id will be the deal code;
    //password is fetched from the DEALS table.
    String simpleUserString = "<?xml version = '1.0' standalone = 'yes'?>\n"
    + "<SimpleUser>\n"
    + " <UserName>"+userId+"</UserName>\n"
    + " <Password>"+userId+"</Password>\n"
    + " <HomeFolderRoot>/home</HomeFolderRoot>\n"
    + "</SimpleUser>\n";
    System.out.println("Parsing "+simpleUserString);
    //invoke the XML parser for creating the new user
    StringReader userDefinition = new StringReader(simpleUserString);
    SimpleXmlParser xmlParser = new SimpleXmlParser(ifsSession);
    xmlParser.parse(userDefinition,null,null);
    //a valid user for a deal must belong to the deals group;add the user
    //to the appropriate group for the deal
    String userToGroupString = "<?xml version = '1.0' standalone = 'yes'?>\n"
    + "<DirectoryGroup>\n"
    + " <Update reftype='Name'>" + dealCode+"Group" + "</Update>\n"
    + " <Members>"
    + " <Member reftype='Name'>" + userId + "</Member>"
    + " </Members>"
    + "</DirectoryGroup>\n";
    //invoke the XML parser for adding the new user to the group
    StringReader groupUpdate = new StringReader(userToGroupString);
    xmlParser = new SimpleXmlParser(ifsSession);
    LibraryObject lo = xmlParser.parse(groupUpdate,null,null);
    System.out.println ("The LO returned by parse is " + lo);
    //link this user's home folder to the deal folder
    Collection c = ifsSession.getDirectoryUserCollection();
    DirectoryUser du = (DirectoryUser) c.getItems(userId);
    System.out.println("The DirectoryUser created is " + du.getDistinguishedName());
    //Folder homeFolder = (Folder) getIfsFileSystem().findPublicObjectByPath("/home/"+dealCode);
    Folder homeFolder = du.getPrimaryUserProfile().getHomeFolder();
    System.out.println("Home folder is"+homeFolder);
    homeFolder.addItem((Folder)getIfsFileSystem().findPublicObjectByPath("/home/"+dealCode));
    System.out.println("Created a link to the deal folder... ");
    ifsSession.setAdministrationMode(false);
    }catch(IfsException ie)
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return result;
    }//public
    /* public String addUserToGroup(String groupName)
    try
    InternetFileSystem ifs = getFileSystem();
    ifs.findPublicObjectByPath(goupName);
    }catch(IfsException ie)
    ie.setVerboseMessage(true);
    System.out.println("Problem while adding user to the group "+ie.getMessage());
    ie.printStackTrace();
    }//addUserToGroup
    *This method creates a group that for a particular deal.
    *All members having access to this deal must belong to thi                                                                                                            s
    * group.
    public AccessControlList createDealGroup(String dealCode)
    AccessControlList acl = null;
    try
    DirectoryGroupDefinition def = new DirectoryGroupDefinition(ifsSession);
    def.setAttribute("NAME",AttributeValue.newAttributeValue(dealCode+"Group"));
    DirectoryGroup dealGroup = (DirectoryGroup)ifsSession.createPublicObject(def);
    AccessControlListDefinition aclDef = new AccessControlListDefinition(ifsSession);
    AccessControlEntryDefinition aceDef = new AccessControlEntryDefinition(ifsSession);
    AccessLevel aLevel = new AccessLevel();
    aLevel.enableAllStandardPermissions();
    aLevel.disableStandardPermission(AccessLevel.ACCESSLEVEL_ADDITEM);
    aLevel.disableStandardPermission(AccessLevel.ACCESSLEVEL_CREATE);
    aLevel.disableStandardPermission(AccessLevel.ACCESSLEVEL_ALL);
    aceDef.setGrantee(dealGroup);
    aceDef.setDistinctAccessLevel(aLevel);
    aclDef.addAceDefinition(aceDef);
    acl = (AccessControlList) ifsSession.createPublicObject(aclDef);
    acl.setName(dealCode+"ACL");
    }catch(IfsException ie)
    System.out.println("error while creating group for deal");
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return acl;
    }//createUser
    *makes a connection the the IFS and returns the LibrarySession object.
    *@param userName user name for a valid IFS account.
    *@param password password for a valid IFS account.
    *@param serviceName the IFS service name.
    *@param schemaPassword the IFS schema password.
    private LibrarySession getIfsConnection(String username, String password, String serviceName,
    String schemaPassword) throws IfsException
    LibraryService service = new LibraryService();
    CleartextCredential me = new CleartextCredential(username, password);
    ConnectOptions connection = new ConnectOptions();
    connection.setLocale(Locale.getDefault());
    connection.setServiceName(serviceName);
    connection.setServicePassword(schemaPassword);
    ifsSession = service.connect(me, connection);
    fPathResolver = new FolderPathResolver(ifsSession);
    ifsFileSystem = new IfsFileSystem(ifsSession);
    return ifsSession;
    }//getIfsConnection()
    public String loginToIfs(String userName,String password,String serviceName,String schemaPassword)
    String result = "SUCCESS";
    try
    getIfsConnection(userName,password,serviceName,schemaPassword);
    this.userName = userName;
    //getResolver().setHomeFolder("/home/"+userName);
    }catch(IfsException ie)
    int code = ie.getErrorCode();
    System.out.println("ERROR CODE "+code);
    result = "FAILED -- "+code+" -- "+ie.getMessage();
    System.out.println("Failed to login "+ie.getMessage());
    ie.printStackTrace();
    return result;
    }//loginToIfs
    public LibrarySession getSession()
    return ifsSession;
    }//getSession()
    public FolderPathResolver getResolver()
    return fPathResolver;
    public IfsFileSystem getIfsFileSystem()
    return ifsFileSystem;
    public Folder getHomeFolder()
    Folder homeFolder = null;
    try
    DirectoryUser user = ifsSession.getUser();
    System.out.println("Got the user");
    PrimaryUserProfile primary = user.getPrimaryUserProfile();
    System.out.println("got the primary user profile");
    homeFolder = primary.getHomeFolder();
    System.out.println("THE HOME FOLDER IS --> "+homeFolder);
    System.out.println("The home folder name is --> "+homeFolder.getName());
    }catch(IfsException ie)
    ie.printStackTrace();
    System.out.println("home folder");
    return homeFolder;
    }//getHomeFolderPath()
    * Called when this object is bound to the HTTP session object.
    * @param event The event when the object is bound to the Http session.
    public void valueBound(HttpSessionBindingEvent event)
    // do nothing
    * Called when this object is unbound from the HTTP session object.
    * @param event The event when the object is unbound to the Http session.
    public void valueUnbound(HttpSessionBindingEvent event)
    //release the reources like the ifsSession etc.
    fPathResolver = null;
    try
    if (ifsSession != null)
    ifsSession.di sconnect();
    }catch (IfsException e)
    e.printStackTrace();
    finally
    ifsSession = null; // release the resources
    }//valueUnbound()
    public Folder createFolder(Folder destinationFolder,String theNewFolderPath)
    Folder createdFolder = null;
    try
    System.out.println("<*---*> IN THE FOLDER "+destinationFolder);
    IfsFileSystem ifs = getIfsFileSystem();
    System.out.println("Creating the folder..");
    createdFolder = ifs.createFolder(theNewFolderPath,destinationFolder,true,null);
    System.out.println("Created the folder..");
    }catch(IfsException ie)
    System.out.println("ERROR CREATING A FOLDER IN THE DESTINATION FOLDER");
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return createdFolder;
    }//createFolder(String inTheFolder,theNewFolder)
    public Folder createFolder(String inTheFolder,String theNewFolderPath)
    Folder createdFolder = null;
    try
    System.out.println("<*---*> IN THE FOLDER "+inTheFolder);
    IfsFileSystem ifs = getIfsFileSystem();
    System.out.println("Creating ANOTHER folder for test");
    Folder destinationFolder = (Folder) ifs.findPublicObjectByPath("/"+inTheFolder);
    System.out.println("The destination folder is "+destinationFolder);
    /* Folder destinationFolderMyTest = (Folder) ifs.findPublicObjectByPath("/home/c6/COREL/MY-TEST/");
    System.out.println("The destination folder my test is "+destinationFolderMyTest);*/
    createdFolder = ifs.createFolder(theNewFolderPath,destinationFolder,true,null);
    /* System.out.println("Created folder in destination folder ");
    createdFolder = ifs.createFolder(theNewFolderPath,(Folder) ifs.findPublicObjectByPath(inTheFolder),true,null);
    System.out.println("Created folder in MY-TEST ");*/
    }catch(IfsException ie)
    System.out.println("ERROR CREATING A FOLDER IN THE DESTINATION FOLDER");
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return createdFolder;
    }//createFolder(String inTheFolder,theNewFolder)
    *Method creates a folder in the path specified(the path includes the name of the folder
    *to be created).If a parent of any of the folders in the path
    *is not found then that folder is automatically created.
    public String createFolder(String folderPath)
    System.out.println("*-*-*-*-* Creating folder *-*-*-*-*");
    String result = "SUCCESS";
    try
    //ifsSession.setAdministrationMode(true);
    IfsFileSystem ifs = new IfsFileSystem(ifsSession);
    Folder folder = (Folder) ifs.findPublicObjectByPath("home/"+userName);
    ifs.createFolder(folderPath,(Folder) folder,true,null);
    }catch(IfsException ie)
    result = ie.getMessage();
    ie.printStackTrace();
    return result;
    }//createFolder
    //Upload a document to the ifs
    public Document uploadDocument(String localPath,String destinationPath)
    Document document = null;
    try
    IfsFileSystem ifs = new IfsFileSystem(ifsSession);
    FileInputStream fis = new FileInputStream(localPath);
    System.out.println("**********Creating document in "+destinationPath);
    document = ifs.createDocument("B.txt", fis, destinationPath, null, false, null);
    System.out.println("Created document..");
    }catch(IfsException e)
    System.out.println("Error while creating document.....");
    IfsException.setVerboseMessage(true);
    e.printStackTrace();
    System.out.println("THE ERROR MESSAGE IS "+e.getMessage());
    catch(Exception e)
    System.out.println("File not found/io exception ");
    e.printStackTrace();
    return document;
    }//uploadDocument
    * Adds an access control entry to the public object passed in.
    *@param PublicObject the publicObject for which permissions have to be set.
    public void setAccessControlOnObject(PublicObject publicObject)
    try
    System.out.println("Setting permissions for the document....");
    AccessControlListDefinition aclDef = new AccessControlListDefinition();
    aclDef.setName(publicObject+"ACL");
    AccessControlEntryDefinition aceDef = new AccessControlEntryDefinition();
    //this sets the acceess control entry's granntee as the "user" who ha s loggen on
    aceDef.setGrantee(ifsSession.getDirectoryUser());
    aceDef.enableGrantToWorld(false);
    String[] permissions = {"ACCESSLEVEL_NONE"};
    System.out.println("setting the access level");
    AccessLevel accessLevel = new AccessLevel(permissions);
    /*PermissionBundleDefinition pbDef = new PermissionBundleDefinition(ifsSession);
    PermissionBundle pb = (PermissionBundle) ifsSession.createSystemObject(pbDef);
    pbDef.setAccessLevel(accessLevel);
    pbDef.setAccessLevel(accessLevel);
    aceDef.addPermissionBundle(pb);*/
    aceDef.setDistinctAccessLevel(accessLevel);
    aclDef.addAceDefinition(aceDef);
    AccessControlList acl = (AccessControlList) ifsSession.createPublicObject(aclDef);
    publicObject.setAcl(acl);
    }catch(IfsException ie)
    System.out.println("The error while settin access control is -0> "+ie.getMessage());
    ie.setVerboseMessage(true);
    ie.printStackTrace();
    }//createAccessControlList
    }//class DPDocManager
    Note : since iam still experimenting with the code please ignore any irrelevant/wrong commenting.Iam using method "CreateDealFolder()" to create the folder "INPRISE" and "CreateUser()" to create users "i1","i2"

    Iam not able to set the main folder's (i.e INPRISE) acl (MyAcl) on the subfolder "MyFolder" because the owner of MyAcl is "system" whereas the owner of MyFolder is user "i1" .Which is the best way of solving these ownership issue which iam running into ? I want to be able to create different folders ,assign a group of uers to each of the folders who can create as well as modify,delete each other's folders/documents (as i have mentioned in my first post in this thread) ?
    thanks
    Srinivas

  • Link to a FOLDER

    can i link to a folder with a button in captivate?
    a link to let show the content of a folder (and open the
    files there..)
    thx
    PS please answer me also a pair of topic under this one.
    :(((

    Hi aibiadobe
    I certainly didn't understand that last question. I'm also
    doubtful Larry (CatBandit) did either. What do you mean by:
    it's possible to link an extern exe from my exe within this
    one is opening in web browser?
    Are you trying to link from one .EXE to another? If so, is it
    a Captivate .EXE linking to another Captivate .EXE? Or is it a
    Captivate .EXE linking to a different .EXE such as Microsoft Paint
    or Windows Notepad? What do you mean by "this one is opening in web
    browser?"?
    On the folder bit, I just tested and it seems possible. I
    simply inserted a button with the On success action of "Open URL or
    file". Where you normally specify the URL or file, I just inserted
    a path to a folder on my hard drive. I then tested and sure enough,
    that folder popped open to display the files. I do suppose your
    mileage may vary as well as the results varying depending on how
    you are creating the Captivate movie and deploying it. I did
    perform a further test using a relative path. I simply linked to
    the word "help". This would imply a folder named "help". I then
    published the movie and placed it in a folder with a simple "help"
    folder. I also copied a few files to the "help" folder and tested.
    Worked that way too.
    Cheers all... Rick

  • Creating link to excel document within PDF portfolio

    i created a pdf portfolio and created links to pdf documents within portfolio but am unable to create a link to the excel documents.  I can't even create a link to direct them to a specific folder where the item is held.  HELP, New to pdf portfolio's!

    One option is to create a PDF from the Excel spreadsheet and link to that.
    If you want to update the spreadsheet, you could create a Web Content overlay (or HTML article) that links to a Google spreadsheet. I've played around with linking to a Google presentation, and it works fine. You can update the spreadsheet/presentation on the website and the changes automatically appear in the overlay. I've just dabbled at it, so I wouldn't be much help with sizing/formatting issues.

  • Creating links to Word, PDF and Powerpoint files

    I need advice on how to create links to Word, Powerpoint and PDF files in my Captivate project.  How do I also make sure that when my file is published, those links can be accessed by the reader.  I am new to this process.  Thanks!

    Yes. You can place the linked file in your zipped folder. Here is a recommended workflow.
    1. Add a button (Smartshape or regular button) to the slide.
    2. Assign the Open File or URL action to the button. In the URL field, specify the file name (say, Sample.PPTX) which you want to link to.
    3. Click the down arrow button next to the URL field and select New so that the file launches in a new window.
    4. Save and publish your project to a folder.
    5. Go to the published folder and place the linked Sample.pptx file in the folder.
    6. Zip the published folder.
    Absolute Path is where you give the full path of the file's location including the folder structure. For example, C:\<UserName>\Documents\My Adobe Captivate Projects\Sample.pptx. If you use this, then you have to maintain the same folder structure in the published folder as well, which is impractical.
    Relative Path, in this case, is where you just give the file name and make sure that the file is in the published folder. 
    Just Google and you will find several examples of absolute and relative paths. You will even see that you can define sub folders if required.
    Sreekanth

  • Creating Linked Resources

    Hi All,
      we have a J2EE project set up in SAP Netweaver Developer Studio 2.0.12 which is stored in the DTR.  When trying to create a linked folder we get the error "Project 'projectName' is mapped to repository type 'com.tssap.dtr.client.eclipse.DAVTeamProvider' which does not support linked resources."  We are attempting to create a link to a folder on the same file system where the actual webapp is found but obviously not in the webapp's own space.
    *How we are creating a new linked folder: File --> New --> Folder --> Clicked 'Advanced' button --> Check off 'Link to folder in the file system' --> Specify path ... that's the way we've done it in eclipse before.
    Has anyone been able to achieve this?  Can it possibly be done through the web.xml?
    Anyone at all?
    Message was edited by: Larry Chaput
    Message was edited by: Larry Chaput

    Hi,
    any updates on this one from Adobe?
    You get the infamous "not a valid location for linked resources" message, don't you?
    Thanks

  • How to view the input and output layouts created in the planning folder?

    Hi all,
    How to view the input and output layouts created in the planning folder in the bw 3.5?
    Thanks
    Pooja

    Hi,
    You can refer to this link. How to create planning folder and executing the planning folder.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
    Hope this helps

  • Emailing a link to a folder

    I was just trying to figure out how to send someone a link to a folder on a shared drive via email and thought I'd share my find. There were a few suggestions around, such as using afp:// or file:/// for a file, but nothing of those really worked well.
    The short answer is you need to send it using the smb protocol, such as
    smb://yourserver.corp.domain/Shares/Folder1/Folder%202/
    What I found is that there's no drag'n'drop solution, but you can use a little shortcut.
    If you want to send a folder drag that folder into Terminal (under Applications:Utilities) and you might get a path like
    /Volumes/Shares/Folder1/Folder\ 2
    Go to Finder and continue hitting Command-Up Arrow until you get to the top level. Alternatively hit Command while selecting the folder icon in the Finder window and go to the top level (which is at the bottom of the list). This top level is likely to be your computer's name. Once selected highlight the network share drive that you found out from the step above, e.g. 'Shares'. Then hit Command-I (Get Info). That will tell you the name of the server in the notation, e.g. smb://yourserver.corp.domain/Shares. Copy the server part, e.g. smb://yourserver.corp.domain/ and replace the /Volumes/ part from step 1.
    Replace any spaces (or "\ " if you take the Terminal result from step 1) with %20 (the hex character for spaces). There are some other hex characters for non-Latin character sets, such as %5B for [, or %5D for ] etc. Try http://www.ascii.cl/htmlcodes.htm for a full list of characters.
    You now have assembled the link. Not a comfortable, easy way, but something that works. Maybe someone has an AppleScript for that.
    Hope that helps.
    P.S.: I've tried that on SnowLeopard (10.6) only, but I assume it's the same on earlier and later versions of Mac OS X.

    ok... Website 101 lol
    When you Publish the files from iWeb, you ask the program (iWeb) to do the clever stuff and make the website you have designed, the easy bit done!! It creates a folder that is home to the pages and files for your site!!
    What you need to do now is get that folder of random stuff on the web, or get it to your sister.
    Your sister will be able to read the files as she will have something like internet explorer or some other 'web browser'. All a web browser is, is a program that turns that folder of random files you have, or those random files on the internet, into the pictures and words you read on the screen.
    iWeb has a habit of making big folders of stuff. This means you might not be able to E-mail the folder it makes because it is too big to send... Hmmm!!
    what you may need to do is get some webspace!! Basically this means, a big folder full of stuff on the internet. lol
    Then you need to get the files in your folder (the one made by iWeb) and copy them to the big internet folder. There are many ways to do this. The people that give you your internet (ISP) may have given a folder(webspace) when you joined them!!
    If not you will have to buy some!! You can get this from anywhere, just go to 'Google' and type in 'webspace'.
    Things can get complicated from here, so if you need any more info just post back or contact me on my profile email(click my name above my little picture on the left)
    Apologies if i seem patronizing, but i don't know what you do, or do not know!!
    Hope this is helping lol
    Seb.
    You can get this from anywhere really.

  • How to create a Taxonomy classification folder with KM or Index API

    Hi All!
    I'm developing an application that needs to create a taxonomy structure dynamically.
    The structure is something like
    -Taxonomies -> Index_MI ->Tax_MI -> Docs1 and Docs2
    I have already created the repositories and the index with no complication at all, and I can create a taxonomy under that index structure(same level as Tax_MI), the fact is when I try to create a new sub-folder inside the Tax_MI one I've got the error: can not create taxonomy folder: Invalid character in resource name: / - com.sapportals.wcm.repository.InvalidNameException: Invalid character in resource name: / . The parameter is "Tax_MI/Docs3"
    I'm using the following method to create the taxonomy:
    public void createTaxCategory(String taxCat, String IndexName, IResourceContext context) // name of the related index)
         throws WcmException {
              IIndexService indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
              IClassificationIndex classificationIndex = (IClassificationIndex) indexService.getIndex(IndexName);
              classificationIndex.addTaxonomy(taxCat, context);
    Has someone achived something like I'm trying to do?
    Thanks in advanced!
    Edited by: Zehcnasotrebor on Jun 2, 2009 12:02 AM

    Thank you Patricio, the link is useful but it says "The following prerequisite must be fulfilled:
    The taxonomies must be identical in both systems. To transport the taxonomies from the source to the target system the standard transport mechanism of the portal can be used" and the requirement is to create the taxonomy structure on the fly.
    I'm studying the AbstractClassificationIndex class, it has the addResourceToClassificationIndex method, but I have no success yet.
    Are there any other suggestions?

  • Having trouble when creating links

    Good afternoon,
    I use RoboHelp6 HTML, and i'm using the FlashHelp as the
    output layout.
    When I work on a topic in the WYSIWYG Editor, I try to create
    links between a Word document or even a webpage that I have created
    from the Word document.
    When I go to click on the link that I have created in the
    topic it shows that I have created a link but I can't actually
    visualize the link.
    When I go to generate the project, and see if the link works
    from there. It doesn't even show the letter in blue or something to
    show that there is a link attached.
    Can somebody please tell me how to create links step by step?
    Thanks,

    Hi there
    Woooowwww, that's some long path! Do you really have that
    many folder levels? ../ is shorthand that says Up One Folder. So in
    this case, you have a page attempting to link seven folder levels
    above where it lives. I don't suppose there is any way to screen
    capture your folder structure for this project and post to an image
    sharing site. Here is one:
    http://www.turboimagehost.com.
    Cheers... Rick

  • Is there a way to create a password protected folder for pictures or lock the photos app? For Ipad Air and Iphone 5s.

    Is there a way to create a password protected folder for pictures or lock the photos app? I want to do this for Ipad air and Iphone 5s. I have other family members that use my Ipad and Iphone and do not want some pictures to be able to be viewed.
    Thanks

    Use 3rd party apps like Photo Manager Pro.

Maybe you are looking for

  • How do I connect to the mobile database in c#?

    I am creating a application in c# for windows mobile 6 using Oracle Database Lite. The problems start by not understanding the tutorial in vb of the transports. I want to make the connection string and the program stops with an error. The way I am cr

  • How do i create a new user in visual basic

    hello all! I'm customizing TS Operator Interface and I'm trying to add a new user with VB code. is anyone has any idea how to do this? Advanced thanks,Avi.

  • XML over HTTP between client and server

    We are trying to pass XML between a client and servlet over HTTP.           We used the code from the StockClient/StockServlet examples as a           starting point but cannot get it to work. Basically we           have a simple command line java cl

  • Error activation imessage and facetime

    Hi, I can not activate iMessage and Facetime in my iPhone 5. In both applications it appeared "error activation, please try again" Thanks for your support

  • Is there a way to sort by artwork??

    I'd like to see ONLY the tracks that DO NOT have artwork in a playlist. Is there an (easy) way to do this? Thanks!