API FOR ADDING PAGE TO WORKSET fro PDK

hi All,
IPage myPage =(IPage)iCtx.lookup( "pcd:portal_content/com.intelligroup.epPractice/page/ipage");
          myPage.addiView(iViewDescriptor,"sap_transaction_iview1");
//               //Ended By suresh.
i am assignig iView to page , i need to add page to work set please if any one knows send the Api fror pdk i will catch , this is very urget
Thanks & regards,
Suresh

Hi Praveen ,
pcdCtx.createDeltaLink(pageDeltaName, basePcdAttributes, pagePath);
wht is pcd Attributes ....
wht are the API u used
Hashtable env = null;
//                    InitialContext iCtx = null;
//                    try
//                         env = new Hashtable();
//                         env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
//                         env.put(Context.SECURITY_PRINCIPAL, request.getUser());
//                         //env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
//                         iCtx = new InitialContext(env);
//                         response.write("context--->"+iCtx);
//                         IPcdUtils pcdUtils = PcdAccess.getPcdUtils();
//                         IPcdAttributes basePcdAttributes = pcdUtils.createPcdAttributes();
//                         InitialContext pcdContext = new InitialContext(env);
//                         IPcdContext pcdCtx = (IPcdContext) iCtx.lookup("pcd:portal_content/v/g/workset3");
//                         pcdCtx.createDeltaLink("pcd:portal_content/v/g/page1", null , "pcd:portal_content/v/g/page1");
//                    }catch(Exception e)
  i tried the similar coding dng this but not added to page to workset ..
please tell me the result                    
Regards ,
venkat p

Similar Messages

  • Changing properties for adding pages

    Hi,
    I have a problem, when i create a Workset and I'm not able to change its properties.
    For example I need to link it with some pages.
    Any clues?
    Regards,
    Dustin

    Hi,
    you must unlock objects before adding pages.
    Proceed as follows. Logon on the EP as Admin and go under <b>System Administration -> Monitoring -> (in the Detailed Navigation) Portal >  Object Locking</b>
    You would see the list of the lock objects and you can unlock them.
    Best regards,
    Gianluca Barile

  • Adding Page to Workset using Java

    i am trying to add a page to a Workset using java. Can any one help me do this.
    Also how can i retrieve the Worksets attached to a Role.

    I am to create a workset in the fashion mentioned below.
    IRoleService rSrv = (IRoleService)PortalRuntime.getRuntimeResources().getService("com.sap.portal.pcd.roleservice.roles");
    IWorksetDescriptor worksetDescriptor = rSrv.getWorksetDescriptor(env);
    parentCtx.bind(worksetName, worksetDescriptor);
    IPortalWorkset workset = (IPortalWorkset)parentCtx.lookup(worksetName);
    But adding pages to the workset is still not resolved.
    Do Pass on any info regarding this.

  • An API for help pages

    Hello
    is there an API for writing help pages in Java?
    I am talking about displaying help cotent such as one that is displayed when the user presses F1 on many windows applications.
    With Conent/Index/Search tabs...
    Or do I have to write everything from scarch???

    Have a look at JavaHelp:
    http://java.sun.com/products/javahelp/index.html
    (though I haven't used it yet)
    - Puce

  • API for adding external roles/parties to an organization in oracle projects

    Hi,
    I need a help on the API for creating external roles/parties to an organization in oracle projects. There are two APIs in oracle for roles - pa_project_pub.load_org_roles and pa_project_pub.load_key_members. load_key_members api is used to load team members which are employees to a project and load_org_roles is used to add an organization role to a project. But how to use these API to load a party/external role to the organization role (or) is there any other api to do this functionality. Please suggest me on this.
    Thanks,
    Ramky

    Hi all,
    The order of blogs is:
    /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
    and then
    /people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas
    Help me soon...

  • Java API for adding new User in OID

    I am search documentation for sample code to add a new User to the OID via Java API, I could not find any. Is it not possible to do so? if it is, can someone point me to the right location.
    Thanks

       * This method adds employee details into directory
       * @param emp Employee details to be added
       * @param password Password for the employee
       * @exception GroceryAppException if  directory operation fails
      public void addEmployee(Employee emp, String password)
        throws GroceryAppException {
        Map attrs = new HashMap();
        List  objclass = new ArrayList();
        // Object classes that the employee must use
        objclass.add("top");
        objclass.add("inetOrgPerson");
        objclass.add("orcluserv2");
        // create other attributes and their values
        // Add all attributes that you need to set
        attrs.put("uid",emp.getEmpId());
        attrs.put("cn",emp.getFirstName());
        attrs.put("sn",emp.getLastName());
        attrs.put("postaladdress",emp.getAddress());
        attrs.put("mail",emp.getEmail());
        try {
          // create the Directory Entry with the specified attributes
          dirManager.addDirectoryEntry("cn="+emp.getFirstName()+"cn=Users,dc=oracle,dc=com"
                                             , objclass, attrs);
        } catch (NamingException namingEx) { // for Directory errors
          throw new GroceryAppException("Error while adding employee entry to directory :" +
                                      namingEx.getMessage());
      }And the Directory Manager
       * Creates an entry in Directory with the specified attributes and objectclass,
       * with the specified Distingushed Name.
       * @param dn Distinguished name of the entry to be created
       * @param objCls Object classes that the entry must use
       * @param map Attribute,value mappings of the entry
       * @exception NamingException if adding entry fails
       public void addDirectoryEntry(String dn, List objCls, Map map)
         throws NamingException {
          // Create attribute list, ignore case of attribute names
          Attributes attrs = new BasicAttributes(true);
          if( !objCls.isEmpty()) {
            Attribute objclass = new BasicAttribute("objectclass");
            // Iterate thriough the collection and add the object classes to the attribute
            Iterator objclsIter = objCls.iterator();
            while(objclsIter.hasNext()) {
              // Add the object classes
              objclass.add(objclsIter.next());
            // Add the object class attribute to list
            attrs.put(objclass);
          // Iterate through other attributes and add to attributes list
          Iterator attrsIter = map.entrySet().iterator();
          while( attrsIter.hasNext() ) {
            Map.Entry attr = (Map.Entry)attrsIter.next();
            attrs.put(new BasicAttribute((String)attr.getKey(),attr.getValue()));
          // add the directory entry to the directory with the attributes
          dirctx.createSubcontext(dn, attrs);
       }

  • Permissions for adding pages

    We are trying to use Approvals in our Portal installation and have users who have Manage Items with Approval who should be able to add content, but not publish it without someone elses approval.
    However, these same people need to be able to add a page to the Page Group as well. But there is no corresponding access to give. The only available are Manage ALL, Manage Classifications, Manage Templates, Manage Styles, and View.
    Could someone please help me figure out a method of allowing people to add pages to a group without having Manage All.
    Thanks
    John

    Hi John -
    Check into using the wwsbr_api.add_folder function to create the page programatically and then once the page exists, the user can then manage content on the page.
    The API's are documented here:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML
    Hope this helps,
    Candace

  • Adding pages to workset??

    Hi all,
          Can somebody help me to add objects to a workset programmatically?
    Thanks in advance.
    Regards,
    M.Subathra

    Hi,
    What you want to do is similar to how you add iViews to a page, which is described in the following documentation: http://help.sap.com/saphelp_nw04/helpdata/en/fd/ea5c42da4de92ce10000000a1550b0/frameset.htm.
    You could, theoretically, do the same with role and workset objects, however, these objects are officialy not public.
    Hope this helps.
    Daniel

  • Adding page to workset

    Hi,
    in the PCD When adding a page to worket edit mode and save button is in disabled mode.
    is this any authorisation issue

    Dear SAPforum,
    have you tried with IE instead ?
    Please try that.
    I believe Firefox is not officially supported by SAP with their SAP Portals tool.
    I also prefer Firefox to IE, but when using with SAP Portals I always have to switch to IE to avoid surprises like the one you are facing.
    Give it a try with IE and let me know if you saw any difference.
    Kindest Regards
    /Ricardo Quintas

  • Process for adding a boolean option to the web service API

    Hey guys,
    Here's a little background:
    I'm currently working on adding an optional "strict" mode to some of the unmarshalling functions in SchemaMarshaller that will throw exceptions when receiving bad data for certain fields, and also improving the date handling while I'm at it (I want null instead of mangled dates when receiving bad data when strict mode is off).
    This is for my benefit at the moment as I'm tired of spending time debugging Flex code when XFire and Oracle are spitting out rubbish (like empty xsd:DateTime nodes, DateTimes in xsd:Date nodes, etc) - but I'm sure other people would like to use it too while we don't have a response validator, so I'd like to do it in a way that I can submit as a feature request (with patch) on Jira.
    My questions are about the procedure for stuff like this- where should this option be made public in the API, and who would I talk to about it? Or would it be best for it to always be strict? - That's how I'd like it :) Perhaps it should just log errors when it encounters bad data?
    This is the first thing I'd like to "add" to the SDK rather than a simple bug-fix, so I just want to do things in a kosher manner. Sorry if I come across like a total noob :)
    Cheers,
    -Josh
    "Therefore, send not to know For whom the bell tolls. It tolls for thee."
    :: Josh 'G-Funk' McDonald
    :: 0437 221 380 ::
    [email protected]

    Hey Josh,<br /><br />I'm swamped at the moment but appreciate your interest and your<br />contributions to Flex and WebServices thus far. I'll try and get some<br />time to look into your specific request and what you're hoping to do at<br />the code level, but to answer your question about test cases, you should<br />consider the NIST testsuite for XML Schema datatypes.<br /><br />BlazeDS has historically maintained the WebService implementation, so it<br />appears their test case for NIST based schema tests starts out here (and<br />refers to many data type test cases in the /nist subdirectory).<br /><br />http://opensource.adobe.com/svn/opensource/blazeds/branches/3.0.x/qa/app<br />s/qa-regress/testsuites/flexunit/src/tests/flexunit/xml/NISTXMLSchemaTes<br />t.as<br /><br />Pete <br /><br />________________________________<br /><br />From: [email protected] [mailto:[email protected]] On Behalf Of Josh<br />McDonald<br />Sent: Tuesday, July 08, 2008 8:21 PM<br />To: [email protected]<br />Subject: Re: Process for adding a boolean option to the web service API<br /><br /><br />A new message was posted by Josh McDonald in <br /><br />Developers --<br />  Process for adding a boolean option to the web service API<br /><br />Yeah I knew it'd have to be somewhere outside of SchemaMarshaller, as<br />it's [ExcludeClass] anyway so end users don't see it, nor is it<br />documented in the api docs. Just wasn't sure where it should be. I'll<br />have a think about it some more when I get some down time to work on it,<br />but webservice was where I was thinking it should be too. Didn't think<br />about having it settable on operation as well though, so thanks for that<br />:)<br /><br />Anybody know a good source of valid values for various XSI types (date<br />and DateTime mainly) for testing purposes? Or even who I should contact<br />to get access to that sort of thing? I assume the W3C will take 6 months<br />to answer me, and the answer will be "buy our $10,000 compliance testing<br />suite" or something along those lines.<br /><br />-Josh<br /><br />On Wed, Jul 9, 2008 at 9:46 AM, Matt Chotin <[email protected]><br />wrote:<br /><br /><br />     A new message was posted by Matt Chotin in<br />     <br />     Developers --<br />      Process for adding a boolean option to the web service API<br />     <br />     I think for a top-level user option I would put the new option<br />on the mx.rpc.soap.Operation class (I think that's the name).  You'd<br />then have that propagate through to the underlying schema classes as<br />they are used.  I'd then also add an option to the WebService class<br />itself, and basically in the Operation it should see if it has its own<br />value set and if not check the value on the WebService.  We do this for<br />a couple of other flags too I think.<br />     <br />     End users in general wouldn't look at any classes other than the<br />WebService and maybe the Operation classes, so asking them to set<br />options on the schema classes themselves probably wouldn't work.<br />     <br />     Matt<br />     <br />     <br /><br /><br /><br />-- <br />"Therefore, send not to know For whom the bell tolls. It tolls for<br />thee."<br /><br />:: Josh 'G-Funk' McDonald<br />:: 0437 221 380 :: [email protected] <br /><br /><br />________________________________<br /><br />View/reply at Process for adding a boolean option to the web service API<br /><a href=http://www.adobeforums.com/webx?13@@.59b5be89/1> <br />Replies by email are OK.<br />Use the unsubscribe<br /><a href=http://www.adobeforums.com/webx?280@@.59b5be89!folder=.3c060fa3>  form<br />to cancel your email subscription.

  • In iPhoto '11 I cannot change the book settings. For example, adding page numbers. There is no "option" button as is suggested by the help item.

    In iPhoto '11 I cannot change the book settings. For example, adding page numbers. There is no "option" button as is suggested by the help item. How can I change to book settings?

    The "options" button should appear at the bottom of the iPhoto window, when you view your book, then the Book Settings Button should be available and you can activate page numbers.
    But remember, that the settings available will depend on the Book Theme you selected. The above shows the settings for one of the "Travel" themes. In a Picture Book Theme, e.g. you cannot add page numbers.
    What theme and book size are you using?
    Regards
    Léonie

  • API for bulk loading of pages into UCM

    For Oracle Universal Content Management –
    Is there an API for use in bulk loading pages?
    Where is the documentation for this?
    If there is not API, what is the best way to bulk load 10’s of thousands of pages into UCM?
    Thanks in advance,
    Ram

    To easily bulk load files in UCM, you can use the BatchLoader utility described in chapter 7 (in release 10g or chapter 3 in release 11g) of the 'Managing System Settings and Processes' admin guide.
    We used it on our project to load some 60000 documents in UCM with associated metadata in just over 1 hour. Worked fine.
    Brgrds,
    Bob Marien
    (Ps: if you want to use an API instead, you can ofcourse invoke the UCM webservices)

  • API for clearing cache of page items

    Is there an API for clearing the cache of page items? I see there is a procedure called CLEAR_PAGE_CACHE in APEX_UTIL package to clear the cache of all the items on a page, but wanted the equivalent for an item. Maybe I'm making this harder than needed. No idea.
    I realize there is the option of creating a page process called "Clear Cache for Items (ITEM,ITEM,ITEM)" on a page, but I am trying to do this in an application-level process.
    Shane.

    FYI... I found that using [ apex_util.set_session_state ( 'item name', '' ); ] worked for me.

  • Instructions for adding a word to spell dictionary in Pages for iPad not worki g

    Instructions for adding a word to the spell dictionary in Pages for iPad say to double-tap the word. At that point you're supposed to be given the option to "define" the word, which I take to be adding it to the dictionary.
    Double-tapping only gives me alternative spellings of the word. I don't get an option to define.
    What am I overlooking?
    Thanks,
    Eric Weir

    Not working for me, Demo.
    Entering the words in settings would be cumbersome. I have a long document with many unfamiliar names and technical terms.
    In Pages with spellcheck on unrecognized words are underlined in red. Tapping once highlights they word in a pinkish box. Tapping twice brings up a list of alternative words in a graphic display rather a text suggestion with option to dismiss. Tapping outside the suggestions graphic cancels it but does not seem to reject the suggestions, I.e., not in the sense that you are then given the option of accepting the word into the dictionary.
    Help gives a procedure for doing this, but it does not work.
    The document I'm working on is a finished document. No composition or editing required. I just need to get it formatted for publication. Most of the words another recognized by spellcheck, and there are many, need to be enter into the dictionary.
    Thanks,
    Eric

  • API for positioning iviews in a page

    Hi all,
    i wud like to know the API for positioning iviews in a page...can any of you help me out regarding this..

    Hi Gayathri
    You have a file named layoutTemplate.jsp in the Page Layout Template. The following tags are part of the layout tag library:
    <b>1. Container
    2. Template
    3. taglib uri</b>
    A layout container represents a column of iViews. You use the <lyt:container> tag to position the layout container in the layoutTemplate.jsp file. When the HTML page is created, the container is rendered as an html <table>, with a row for each iview.
    Hope that answers your query.
    For further details please refer to this link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/72/25143eb7a4445ae10000000a11405a/content.htm
    Warm Regards
    Priya

Maybe you are looking for

  • Can I delete an e-mail account and reinstall it without losing all my old messages, folders, address lists etc?

    I can no longer send from email from my account and keep getting the message that the connection to the smtp server was lost or the settings are wrong. I would like to reinstall the account to make sure that the servers settings are correct, but I fe

  • Connecting and older AirPort Extreme to my MBPro Retina (MBPr)

    I have a older AirPort Extreme ( the round white saucer type) maybe 2005? Was give to me by a friend. I am trying to hook up the AirPort E and the airport Utiltiy see it. But when I click on the base station I get this "This version of AirPort Utilit

  • Playing back a PPT enhanced w/SWF's using Presenter

    Hey everyone, where I work we do a variety of training and we were hoping to enhance some of the powerpoint trainings by adding SWF's to them using Presenter. Here's my question though, can people who don't have Presenter installed still give the pre

  • Can't paste from Chrome

    Weird and annoying. Anyone else experiencing this? I saw a similar post in the Photoshop Mac forum about now being able to paste from other apps, and the answer was that it was a clipboard discrepancy. When do you think they'll fix this? Is it Adobe'

  • Why won't quicktimes and mpegs import into iTunes?

    I'm trying to make a playlist of videos in iTunes. Several of my movies won't import when I drag and drop them. Some were created in Final Cut Pro 7 as basic MOV. One is an MPEG I received frome someone. Why won't they import? thanks Scott