How to create document in portal

Hi All,
I am new to portal development.
Please tell me how to Create a Document with the permission defined in Access Control List.
Your answer will helpfull in my development work.
Thanks

Hi All,
I got the way to create the Permission on a resource for the specific user.
// returnResourceInfo is of type IResource on which the permission need to create.
// Get the Acl Security manager.
IAclSecurityManager aclSecurityManager = (IAclSecurityManager) returnResourceInfo.getRepositoryManager().getSecurityManager(returnResourceInfo);
// Get the resourceAcl manager.
IResourceAclManager resourceAclManager = aclSecurityManager.getAclManager();
// Get the resource Acl
IResourceAcl rACl = resourceAclManager.getAcl(returnResourceInfo);
if(rACl == null)
rACl = resourceAclManager.createAcl(returnResourceInfo);
IUMPrincipal userPrinciple = WPUMFactory.getUserFactory().getUser(user);
// user is the id which is avaliable in the portal and for whom the Permission need to create.
rACl.addEntry(resourceAclManager.createAclEntry(userPrinciple,false,               resourceAclManager.getPermission(IAclPermission.ACL_PERMISSION_READ),0));
Edited by: Lokesh Malik on Nov 13, 2008 12:20 PM

Similar Messages

  • How to create document in process chain

    Hi,
    can u plz tell me how to create document in process chain and wat i need to edit the text for particular info package when document.

    Hi Anil,
    Goto Tcode:RSPC and select your load data process type where you have to right click on the process chain and select Select create message,there are three types of messages
    1>Successful
    2>Error
    3>Always
    If you already created message then go to maintain message
    Where you have two buttons
    1>is for Edit Document
    2>Maintain Recpiants
    Goto Edit Document and put your comment and set their mail address in Mail recipiants.
    Note there are 2 types of messages you can kept at execution of infopackage process type.
    If load is successful send the mesaage to recipients
    If load is failed send the message to mail recipt.
    It would help you.

  • How to create Document / Literal WSDL with axis 1.3

    Dear All,
    1. How to create Document / Literal WSDL from java interface ?? or how to create Java 2 WSDL using Document/ Literal.
    2. from document/literal WSDL to java classes(stub, skelton, serivces).
    I am using Axis 1.3 , tomcat-5.5.20 and eclipse.
    Please provide the command and arguments for java2wsdl and wsdl2java for doc/lit.
    is there any tool that help to generate java2wsdl and wsdl2java for doc/lit.

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • Give step-by-step procedure how to create  jspdy page portal component  app

    Hi All,
    Give step-by-step procedure how to create  jspdy page portal component  application.

    Check these for the steps.
    Building a JSPDynPage:
    http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/content.htm
    Tutorial III: Building a JSP DynPage:
    http://help.sap.com/saphelp_nw04/helpdata/en/44/471ce3617b14bce10000000a155369/content.htm
    Regards,
    Harini S

  • How to create 'Tab page' portal?

    Hi,
    The 'Portal' configuration page provides 3 types 'Dashboard', 'Standalone Portal' and 'Tab Page Portal'. According to help document, to add new 'Tab Page', needs to ask customer support. Does anyone know how to use 'Tab Page Portal'?
    Regards,
    Desmond
    Edited by: user783168 on 23-Oct-2012 19:02

    Similar to Patch 8608149 for 'User Portal' tab on User Transaction in FW 2.2 (default in 2.3.1)?
    Follow How To Create A New Multi-Tab Portal Using Configuration Tools (Doc ID 1356225.1)

  • How to create document type ?

    Hi experts
    We need assign document type to mateiral in material master. So we need create new document type background. How to create it ? Does it just copy one doc type from spro-> cross application componets-> document management-> define document type?  It seems it will also copy the following screen setup .... but dont' know anything else need be setup ?
    Thanks
    Alice

    Hi Alice,
    You have create document type from
    spro-> cross application componets-> document management-> define document type
    There are already standard document types available. You ca use that or copy and create new types and assign it on the material master.
    Thanks and regards
    Murugesan

  • How to create document whenever we enter F1

    hi guru.
    actually whenever we click f1 , we get the the regarding documents.
    how to create this things.
    is this possible by the help of se11 , we can create our document.
    with best regards.
    asis.

    creation of data element short text answers ur question

  • How to create Document Structure for existing project in Solution Manager

    Hi gurus
    We have all the project document saved using Solution manager . we have ended with Phase1.
    We are starting Phase2 and they are asking me to creat different folder as Phase to in existing project and store all the Documents
    Can any one please tell me how to create New folder and store the documents in Existing project
    Point will given for helpfull Answer
    Thanks
    Bhaskar

    Hi Bhaskar,
    Assuming you have full authorisations, the procedure is simple.
    Please go SOLAR_PROJECT_ADMIN transaction.
    From the menu please select Project -> Copy
    In the ensuing screen, key in your desired project name, scroll through the other checkboxes to see if you are happy with the default choices; if not, take corrective actions.
    In the last set of radi buttons "Desired behaviour at later version comparison", the default choice (2nd entry there - Adjust target project to the original of the source project) is fine.
    From your scenario, since you do not have a Template -> Implementation Project functionality and instead are copying from one Implementation to the other, this radio button is of little consequence.
    Execute the process.
    In the window that comes up, please choose Local Object, assuming that you do not want to capture the whole contents into a 'Transport'. This is more required if you are aiming to copy the project from one SolMan instance to another.
    It would give an information message "Generating in batch job (Name ......)
    In a few minutes, you'd receive an intimation of the Project being copied.
    That's pretty much about it. Have a check on the newly created project in SOLAR01.
    Please let me know if you have any doubts.
    Best regards,
    Srini

  • How to create document/literal web services with WLS7

    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried this yet
    - Is there another mechanism?

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • How to create 'system' in Portal for backend

    Hi Basis Gurus,
    Please let me know how to create a 'system' for a backend system in Portal 'system administration'       --> 'system configuration' --> 'system landscape'.
    i.e. which properties I need to fill up, assuming the backend system is release 700 ABAP system and Portal is at release 640.
    Thanks & Regards,
    Kunal.

    Hi,
    Please check the following links..
    [Creating Systems|http://help.sap.com/saphelp_nw70/helpdata/EN/ec/0fe43d19734b5ae10000000a11405a/content.htm]
    [Editing Systems|http://help.sap.com/saphelp_nw70/helpdata/EN/42/11e43d19734b5ae10000000a11405a/content.htm]
    Regards,
    Murthi...

  • How to create and deploy portal applications for WebLogic TP10

    Hi Friends:-) Thej here,
    I want to know, how to create weblogic portal applications for tech preview version 10.
    Thanks

    The Tech Preview of 10.0 contains only WebLogic Server. WebLogic Portal 10.0 functionality is not contained in this preview. Therefore, you cannot create portal applications in this Tech Preview.
    Thank you.

  • How to post document in Portal-KM

    Need info on how to post some document in the Portal KM for sharing it with all people accessing the document repository

    Hi Saurabh,
    If you want to share a document with all portal users, the best way is to put it on the Public Documents. For this, go to Content Administration > KM Content > root  >  documents  >  Public Documents then select Folder > New > Upload.
    You can also create a public room, and put your documents there. By this way, documents will be accessible by all portal users. Hope this will be helpful for you.
    Regards,
    Ganpati Jha

  • CRM: How to create document flow

    Hello together,
    In the process framework I defined a new process which can be started from a sales qutotation. This process loads my own compentent where the user can upload technical objects (such as connection objects or points of delivery) and create a new object set (IsuOrderBasketSet) with the uploades technical objects.
    The requirement is to link the quotation with the created object set and vice versa so that the user can see the object set in the quotations assignment block "transaction history" and the qoutation in the object sets assignment block "transaction history".
    Does anybody know how I can meet this requirement?
    Thanks in advance,
    Sebastian

    Hi,
    I found a solution using the following Code. I have successfully created a document flow between two quotations:
        DATA guid_a TYPE crmt_object_guid.
        DATA guid_b TYPE crmt_object_guid.
        DATA: it_activity_h TYPE crmt_activity_h_wrkt,
            ls_activity_h LIKE LINE OF it_activity_h,
            it_requested_objects TYPE crmt_object_name_tab,
            ls_requested_objects LIKE LINE OF it_requested_objects,
            it_orderadm_h TYPE crmt_orderadm_h_wrkt,
            ls_orderadm_h LIKE LINE OF it_orderadm_h,
            it_doc_flow TYPE crmt_doc_flow_wrkt,
            ls_doc_flow LIKE LINE OF it_doc_flow,
            it_header_guid TYPE crmt_object_guid_tab,
            ls_header_guid LIKE LINE OF it_header_guid.
      DATA: it_activity_h_comt TYPE crmt_activity_h_comt,
            ls_activity_h_comt LIKE LINE OF it_activity_h_comt,
            ct_doc_flow TYPE crmt_doc_flow_comt,
            ls_doc_flow_comt LIKE LINE OF ct_doc_flow,
            ref_guid TYPE guid_16,
            lt_doc_link TYPE crmt_doc_flow_extdt,
            ls_doc_link LIKE LINE OF lt_doc_link,
            ct_input_fields TYPE crmt_input_field_tab,
            ls_input_field TYPE crmt_input_field,
            ls_input_field_names TYPE crmt_input_field_names,
            log_handle TYPE balloghndl.
      DATA: lt_return TYPE TABLE OF bapiret2,
            ls_return LIKE LINE OF lt_return.
       guid_a = '0026B98B6AD11ED2B9F49BA972EC069E'
      guid_b = '0026B98B6AD11ED2B9E27FFF042682F6'
      REFRESH it_header_guid.
    * Append GUID_A to Header GUID Table
      APPEND guid_a TO it_header_guid.
    * What should we read
      ls_requested_objects = 'ACTIVITY_H'.
      APPEND ls_requested_objects TO it_requested_objects.
      ls_requested_objects = 'DOC_FLOW'.
      APPEND ls_requested_objects TO it_requested_objects.
    * Read Activity A
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = it_header_guid
          it_requested_objects = it_requested_objects
        IMPORTING
          et_orderadm_h        = it_orderadm_h
          et_activity_h        = it_activity_h
          et_doc_flow          = it_doc_flow.
      LOOP AT it_activity_h INTO ls_activity_h.
        MOVE-CORRESPONDING ls_activity_h TO ls_activity_h_comt.
        APPEND ls_activity_h_comt TO it_activity_h_comt.
      ENDLOOP.
    * Fill DOC_FLOW Structure
      ls_doc_link-objkey_a   = guid_a.
      ls_doc_link-objtype_a  = 'BUS2000115'."BUS2000126'.
      ls_doc_link-objkey_b   = guid_b.
      ls_doc_link-objtype_b  = 'BUS2000115'.
      ls_doc_link-vona_kind  = 'A'.
      ls_doc_link-reltype    = 'VONA'.
      ls_doc_link-brel_kind = 'A'.
      APPEND ls_doc_link TO lt_doc_link.
      CLEAR: ls_doc_flow_comt.
      ls_doc_flow_comt-ref_guid   = guid_a.
      ls_doc_flow_comt-ref_kind   = 'A'.
      ls_doc_flow_comt-doc_link[] = lt_doc_link.
      APPEND ls_doc_flow_comt TO ct_doc_flow.
    * Fill INPUT_FIELDS which indicate what Values where changed
    * and had to be updated
      ls_input_field_names-fieldname = 'OBJKEY_A'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'OBJTYPE_A'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'OBJKEY_B'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'OBJTYPE_B'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'VONA_KIND'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'RELTYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname  = 'BREL_KIND'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'BREL_MODE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'RELATIONID'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'RELATION_HANDLE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field-objectname = 'DOC_FLOW'.
      ls_input_field-ref_guid = guid_a.
      ls_input_field-ref_kind = 'A'.
      INSERT ls_input_field INTO TABLE ct_input_fields.
    * Update Document Flow
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        CHANGING
          ct_input_fields   = ct_input_fields
          cv_log_handle     = log_handle
          ct_doc_flow       = ct_doc_flow
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      DATA: it_saved_objects TYPE crmt_return_objects.
    * Save Changes
      CALL FUNCTION 'CRM_ORDER_SAVE'
        EXPORTING
          it_objects_to_save   = it_header_guid
          iv_update_task_local = 'X'
          iv_save_frame_log    = 'X'
        IMPORTING
          et_saved_objects     = it_saved_objects.
    * Commit Changes
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = ls_return.
    Regards,
    Saravanan.C

  • How to put documents in portal

    Dear Friends,
    I have an issue like, our client having some help documents, that they want to put in portal through worksets (role base access).
    help me
    Regards
    Suresh

    Hi Suresh,
    One way is,
    Content Management --> Documents --> Folder --> RightClick and New --> Folder --> Then Upload --> Upload Your Files.
    Create a KM Navigation Iview.
    Assign Your Iview To a Page > WorkSet > Role to Display
    Set the entry Point of your role as  "yes"
    Regards,
    <b>Ramganesan K</b>

  • How to create a Job portal in dreamweaver

    I want to create a job and recruitment website using mysql database
    Please how do i do that.
    thanks

    ernibe wrote:
    I want to create a job and recruitment website using mysql database
    Please how do i do that.
    thanks
    Hummm.... how much do yu know about html/css and a server language like php/mysql/phpMyAdmin???
    For someone who has little experience this is going to be a complete nightmare and best left to someone with more knowledge.

Maybe you are looking for

  • Output Control and Copy Control

    I have the following problem. My client has a copy control for transfering data from a quotation to a different type of quotation. The quotation (old one) has a sold-to-party and a ship-to-party. These two partners are copied to the new quotation. If

  • Quiz question formatting

    Is there any fix in the works for controlling how Quiz Manager formats quiz questions/answers? Every time we need to make an edit and go back into Quiz Manager, we have to reformat our quiz slides. This is extremely time consuming and frustrating. Pl

  • How to display just the unit of a number in a cell?

    Hi, I need to get the product of two numbers (e.g. 7x3 = 21) but have just the unit (1) appear in a cell. Can anyone help me achieve this please?

  • FIX: Having trouble opening extensions in the new CC 2014?

    Here's a link to the original post of this fix: Important: EB3 in Illustrator cc 2014 Are you experiencing blank extension panels when opening them in Illustrator CC 2014? Well - here's the fix. In a nutshell (on a Mac): 1. Navigate to /Users/<USERNA

  • Java Class path for Oracle package compilation

    Hello I am trying to send mail with file attachment, this part is done by java program, it is compiled & working fine. I am trying to compile the same java program at SQL prompt so that I can build a package to execute that Java program from Oracle.