Content Repository to JSPX

Hi all,
we have webcenter, UCM and JSPX pages. content in UCM is plain text and xml
we created connection to UCM. How do we plug the incoming UCM content in Jspx (*we are not typing the content in jspx*)? we put it under af:document tag or af:form ? more over how would this happen dynamically - Like content coming out of UCM goes to correct location in Jspx so that when we run page content shows up correctly in browser ?
thx
dd
P.S sometimes content is XML

Hi,
Your MDS store by default when running from Jdeveloper is file based. When deploying to WebLogic App Server the MDS store is DB based.
You can create and register MDS stores using Enterprise Manager. Refre this link for details: http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e12405/wcadm_deploy.htm#BABBACEF
Also if you are deploying the application directly from JDeveloper it prompts you for MDS connection and partition. You are building an EAR and manually deplying hence the step was skipped.
Regards,
Venkat

Similar Messages

  • Data control issue for content repository when running apps in webcenter .

    Hi All ,
    I have created content repository connection in my local jdeveloper and
    exposed it as a data control .
    from data control i am displaying some path and name based on some search criteria .
    Whenever i am runnig this application i am getting following exceptions and no datas are displayed .
    Since i have define connection for content server locally on my jdeveloper do i need to create some jndi
    on server side .
    TestContentServer is the content repository connection i have created in jdeveloper .
    if yes tell me how can i do it and how it will port to my data control .
    [2010-10-05T09:34:39.245-07:00] [wc_custom] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 0000IhxFdvi4ulWpTwp2ic1CemrZ0000fT,0:1] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] [APP: application1] [J2EE_MODULE.name: TestContentService-ViewController-context-root] [WEBSERVICE.name: WSRP_v2_Service] [J2EE_APP.name: application1] ADF: Adding the following JSF error message: TestContentServer[[
    javax.naming.NameNotFoundException: TestContentServer; remaining name 'TestContentServer'
    Thanks,
    Arun

    Hi Yanic ,
    1. code for my jspx page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:inputText value="#{bindings.path.inputValue}" simple="true"
    required="#{bindings.path.hints.mandatory}"
    columns="#{bindings.path.hints.displayWidth}"
    maximumLength="#{bindings.path.hints.precision}"
    shortDesc="#{bindings.path.hints.tooltip}" id="it1">
    <f:validator binding="#{bindings.path.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.type.inputValue}" simple="true"
    required="#{bindings.type.hints.mandatory}"
    columns="#{bindings.type.hints.displayWidth}"
    maximumLength="#{bindings.type.hints.precision}"
    shortDesc="#{bindings.type.hints.tooltip}" id="it2">
    <f:validator binding="#{bindings.type.validator}"/>
    </af:inputText>
    <af:commandButton actionListener="#{bindings.getItems.execute}"
    text="getItems"
    disabled="#{!bindings.getItems.enabled}" id="cb1"
    partialSubmit="true"/>
    <af:table value="#{bindings.Items.collectionModel}" var="row"
    rows="#{bindings.Items.rangeSize}"
    emptyText="#{bindings.Items.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.Items.rangeSize}"
    rowBandingInterval="0" id="t1" partialTriggers="::cb1">
    <af:column sortProperty="name" sortable="false"
    headerText="#{bindings.Items.hints.name.label}" id="c2">
    <af:inputText value="#{row.bindings.name.inputValue}"
    label="#{bindings.Items.hints.name.label}"
    required="#{bindings.Items.hints.name.mandatory}"
    columns="#{bindings.Items.hints.name.displayWidth}"
    maximumLength="#{bindings.Items.hints.name.precision}"
    shortDesc="#{bindings.Items.hints.name.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.name.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="path" sortable="false"
    headerText="#{bindings.Items.hints.path.label}" id="c3">
    <af:inputText value="#{row.bindings.path.inputValue}"
    label="#{bindings.Items.hints.path.label}"
    required="#{bindings.Items.hints.path.mandatory}"
    columns="#{bindings.Items.hints.path.displayWidth}"
    maximumLength="#{bindings.Items.hints.path.precision}"
    shortDesc="#{bindings.Items.hints.path.tooltip}"
    id="it8">
    <f:validator binding="#{row.bindings.path.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="URI" sortable="false"
    headerText="#{bindings.Items.hints.URI.label}" id="c5">
    <af:inputText value="#{row.bindings.URI.inputValue}"
    label="#{bindings.Items.hints.URI.label}"
    required="#{bindings.Items.hints.URI.mandatory}"
    columns="#{bindings.Items.hints.URI.displayWidth}"
    maximumLength="#{bindings.Items.hints.URI.precision}"
    shortDesc="#{bindings.Items.hints.URI.tooltip}"
    id="it7">
    <f:validator binding="#{row.bindings.URI.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="primaryType" sortable="false"
    headerText="#{bindings.Items.hints.primaryType.label}"
    id="c7">
    <af:inputText value="#{row.bindings.primaryType.inputValue}"
    label="#{bindings.Items.hints.primaryType.label}"
    required="#{bindings.Items.hints.primaryType.mandatory}"
    columns="#{bindings.Items.hints.primaryType.displayWidth}"
    maximumLength="#{bindings.Items.hints.primaryType.precision}"
    shortDesc="#{bindings.Items.hints.primaryType.tooltip}"
    id="it6">
    <f:validator binding="#{row.bindings.primaryType.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="title" sortable="false"
    headerText="#{bindings.Items.hints.title.label}" id="c1">
    <af:inputText value="#{row.bindings.title.inputValue}"
    label="#{bindings.Items.hints.title.label}"
    required="#{bindings.Items.hints.title.mandatory}"
    columns="#{bindings.Items.hints.title.displayWidth}"
    maximumLength="#{bindings.Items.hints.title.precision}"
    shortDesc="#{bindings.Items.hints.title.tooltip}"
    id="it9">
    <f:validator binding="#{row.bindings.title.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="docType" sortable="false"
    headerText="#{bindings.Items.hints.docType.label}" id="c6">
    <af:inputText value="#{row.bindings.docType.inputValue}"
    label="#{bindings.Items.hints.docType.label}"
    required="#{bindings.Items.hints.docType.mandatory}"
    columns="#{bindings.Items.hints.docType.displayWidth}"
    maximumLength="#{bindings.Items.hints.docType.precision}"
    shortDesc="#{bindings.Items.hints.docType.tooltip}"
    id="it5">
    <f:validator binding="#{row.bindings.docType.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="displayName" sortable="false"
    headerText="#{bindings.Items.hints.displayName.label}"
    id="c4">
    <af:inputText value="#{row.bindings.displayName.inputValue}"
    label="#{bindings.Items.hints.displayName.label}"
    required="#{bindings.Items.hints.displayName.mandatory}"
    columns="#{bindings.Items.hints.displayName.displayWidth}"
    maximumLength="#{bindings.Items.hints.displayName.precision}"
    shortDesc="#{bindings.Items.hints.displayName.tooltip}"
    id="it4">
    <f:validator binding="#{row.bindings.displayName.validator}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    2. code for binding .
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.56.60" id="Test1PageDef"
    Package="com.heiwip.cs.view.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables">
    <variable Type="java.lang.String" Name="getItems_path"
    IsQueriable="false"/>
    <variable Type="java.lang.String" Name="getItems_type"
    IsQueriable="false"/>
    </variableIterator>
    <methodIterator Binds="getItems.result" DataControl="TestDC1" RangeSize="25"
    BeanClass="com.heiwip.cs.view.TestDC1.getItems_return"
    id="getItemsIterator"/>
    </executables>
    <bindings>
    <methodAction id="getItems" RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="getItems" IsViewObjectMethod="false"
    DataControl="TestDC1" InstanceName="TestDC1"
    ReturnName="TestDC1.methodResults.getItems_TestDC1_getItems_result">
    <NamedData NDName="path" NDType="java.lang.String"
    NDValue="${bindings.getItems_path}"/>
    <NamedData NDName="type" NDType="java.lang.String"
    NDValue="${bindings.getItems_type}"/>
    </methodAction>
    <attributeValues IterBinding="variables" id="path">
    <AttrNames>
    <Item Value="getItems_path"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="variables" id="type">
    <AttrNames>
    <Item Value="getItems_type"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="getItemsIterator" id="displayName">
    <AttrNames>
    <Item Value="displayName"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="getItemsIterator" id="name">
    <AttrNames>
    <Item Value="name"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="getItemsIterator" id="path1">
    <AttrNames>
    <Item Value="path"/>
    </AttrNames>
    </attributeValues>
    </bindings>
    </pageDefinition>
    3. Table is displayed with no data .
    whenever i am trying to pass something in search criteria to get the result its
    throwing connection error .
    4. I am using oracle UCM (oracle content server) .
    for this i am using identity propogation .
    Thanks,
    Arun.

  • How to get SAP to use SSL for Content repository?

    I have defined a content repository in OAC0.  I would like SAP and the end user to use SSL when talking to the repository.  I have obtained a certificate for the repository, so that I can manually trference the repository via https... but in OAC0 when I press the Test Connection button I get "Connection Error:No SSLsupport available".  Do I have to import the content repository certificate into STRUST or something?

    Hi Ken,
    please have a look at the SAP note [712330|https://service.sap.com/sap/support/notes/712330].
    Best regards,
    Klaus

  • Error in Test Connection - Content Repository does not exist

    Hi, I have created a content repository which points to our own external HTTP content server which is a DMS through transaction OAC0.
    In transaction CSADMIN I can see our server's status as running, still it shows yellow icon "customizing missing" in CSADMIN and in transaction OAC0 whenver I click "Test Connection" it gives the message" Content Repository does not exist". CMS 106.
    Kindly help.
    Regards
    Neha

    Hi,
    We are using OACO as follows:
    Choose Tools ® Business documents, Environment ® Knowledge Provider® KPro® Content Repositories
    Enter the following fields in the u201CChange Content Repositories : Detailu201D :-
    1) Content Rep. :- ZO (Content Repository Name)
    2) Description :- Content Repository
    3) Storage type :- HTTP content server.
    4) Version no :- 0045
    5) HTTP svr:p :- IP or machine name of application server on which DMS has been deployed : Web port of the application server on which DMS has been deployed.
    1) Program :- sap/sapDocView.jsp
    Save the created Content Repository by clicking on u201CSaveu201D. We are working on SAP 4.7 versionon a SAP development server and the content repository has not been transported after creation. Will not transporting be causing this error ?
    Please reward points
    Thanks
    Vikranth

  • How to configure SAP ECC DMS content repository with CRM Services Object

    hi,
    we have SAP Document management system which is currently integrated with SAP R/3 Ecc system .
    with ref. to sap standard functionality i am able to upload the document in DMS content repository through SAP R/3 Ecc System as below.
    step-1 ,T.code:CV01n
    a.     create - DMS Documents
    b.     Oupload Scanned documents in DMS system
    c.     select content repository
    d.     Save Document
    now, in same manner i want to store business documents in SAP ECC R/3 DMS content repository using CRM services trnsaction"CRMD_ORDER". kindly guide me suitably.
    regards,
    sunil

    i am explaining your proble
    a.    create - DMS Documents
    b.     Oupload Scanned documents in DMS system
    c.     select content repository
    d.     Save Document
    after saving open to document in cv02n and track status of doc i.e. AR CR & RE
    if RE status is there the it will repositor at server
    Regards,
    Sanjeev

  • Issue in storing email & attachments in to content repository server.

    Hi  All,
    We have done the following for storing email & attachments in to
    content repository server.
    Transaction - Activity done
    1) OAC0 - Defined the content repository folder RQ
    2) OACT - Created a category( ZSOFFHTTP1) and associated it to RQ
    3) SKPR08 - Associated ZSOFFHTTP1 to SAP OFFICE Class SOFFPHIO
    Also, updated the entry in the table SDOKPHCL against the record having
    Docuclass value as SOFFPHIO and change the category value to ZSOFFHTTP1.
    Now, we went to transaction SBWP and created a test message and sent
    an email to ( recepient address) and recip type as
    interent address.
    But when we cross checked the entry in SOOD table for this email sent
    today, we find that the value in the field is 'K' and not "A".
    We have done all the steps as per the SAP Note 530792 still the issue
    persists.
    As per the sap note 904711,SOOD-EXTCT Storage <space> directly in table
    SOC3
    K using the KPRO
    A in an archive
    Any help on this , would be highly appreciated.
    Thanks & regards,
    Divya
    Divya

    Thanks for the answer, but my question was whether it is possible to store documents to an external content server using transaction OAOR (Business Document Navigator). Right now it is only possible to store documents to the R3 database with OAOR.
    Regards
    Thomas Hørlyck

  • Cannot find the Web Content repository in test system under KM Content

    Hi Experts,
    We have implemented Web Page Composer in our development landscape. I have created a web page with the required content in the development and now wish to transport this web page and its content to our test system.
    However when I navigate to Content Administration -> KM Content, inside the root directory I am not able to find the Web Content repository within which all WPC content resides.
    I want to know what configuration has to be done in the test system so that the Web Content repository becomes available within KM Content.
    Thanks and Regards,
    Saurabh

    Hi,
    I just want a confirmation on whether I will have to deploy the .SCA file for Web Page Composer in my test and production systems to be able to use the web pages I have created in the development environment.
    Regards,
    Saurabh

  • How to Upload Mutilple Images in content repository?

    Hi
    How to Upload Mutilple Images in content repository?
    I have a html which shd be displayed and it has 3 images which shd be displayed
    in the same page
    Here i am able to display the HTML uploaded in content repository
    but the images are not displayed,since the path is not valid for the images.
    Can any one hint me in this,
    wating for the reply
    Thanks in Adv
    Regards
    Suresh

    Suresh, your html specifies an image at resources/images/privacy.gif - is that
    image in your repository at the correct relative position to where yout html is?
    Your html and repository structure must match. So if the html you posted is at
    /BEA Repository/foo.html
    then privacy.gif must be at /BEA Repository/resources/images/privacy.gif
    James
    "Suresh" <[email protected]> wrote:
    >
    >
    >
    Hi James
    Here i have attached my sample html and image
    My Repository Structure is as follows :
    Virtual Content Repository
    BEA Repository
    MainImage type image
    Privacy type i created
    ----StartDate
    ----EndDate
    ----File Upload
    My HTML
    <HTML>
    <HEAD>
    <TITLE> New Document </title>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </head>
    <BODY>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="norBold"><img src="resources/images/privacy.gif"
    width="123"
    height="73">Privacy
    Policy</td>
    </tr>
    <tr>
    <td class="formHeadBack" height="19"><b> Privacy Policy</b></td>
    </tr>
    </body>
    </html>
    and
    one image
    Thanks in Adv
    Suresh
    "James Owen" <reply.to@newsgroup> wrote:
    Suresh, how is your content structured and what does your html looklike?
    If you
    could post examples, that would be helpful.
    thanks,
    James
    "suresh" <[email protected]> wrote:
    Hi
    How to Upload Mutilple Images in content repository?
    I have a html which shd be displayed and it has 3 images which shd
    be
    displayed
    in the same page
    Here i am able to display the HTML uploaded in content repository
    but the images are not displayed,since the path is not valid for the
    images.
    Can any one hint me in this,
    wating for the reply
    Thanks in Adv
    Regards
    Suresh

  • An error occurred while accessing the content repository from JDeveloper

    Hello,
    I'm using Jdeveloper Studio Edition Version 11.1.1.5.0
    I created Content Repository conection, following:
    RIDC Socket Type: socket
    Server hostname: localhost
    Content Server Listener Port: 4444
    Executing "Teste Connection" result "Success!"
    But, trying connect, I receive:
    oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
    An error occurred while accessing the content repository.
    and when I login to my portal and go to administration page, then I am getting this error
    "Messages for this page are listed below.
    Could not retrieve members from policy store.
    and when I go to services tab then i am getting this error "The Documents service is unavailable.
    Error contacting the content repository."
    Please help me to resolve this problem.
    Thank You,
    Muhammad Nasir

    can anybody help me to resolve this issue please.

  • No content Repository Found in OAOR

    Hello Gurus,
    I am using OAOR transaction for uploading documents in Content Server.
    After I upload the documents, In my program when I try to read the corresponding URL of the document, It could retreive it in my development system.
    But I am having a strange error in my Test system saying that " No Content Found" and its throwing an exception.
    When I tried to debug that  method, I founf that the actual error is " No Content Repository Found".
    Further in my investigation, I found the following:
    In Dev System: When i goto tcode CSADMIN and give the repository abject as "BDS_DB" it is found and i could login in to the server and check the settings.
    In Test System: When i goto tcode CSADMIN and give the repository abject as "BDS_DB" it says that there is no repository object found.
    And while debugging the method, I found that the respository being used is BDS_DB.
    Could you please do tell me where to maintain this Repository Object and how to correct this error as this is working fine in my dev sys and not working in any other system.
    Thanks,
    Naveen

    Hello Ravindra,
    Thanks for the reply and it solved a bit.
    As I see that those two configs are already maintained in my test system as it is in DHM but still I am facing the error.
    To be more precise, I am facing the issue while using the method,
    cl_sdc_bsp_utilities=>phio_get_url_for_get
    Its throwing the error, "No Storage Repository".
    Is there anything else that I need to maintain for this?
    Thanks,
    Naveen

  • How to Upload a file to KM Content repository from a Portal Application

    Hello All
    I have a urgent requirement where i have to upload a file to a KM Content Repository from my Portal Application which is a JSP DynPage Component..
    I am new to the area of Knowledge Management...Can anyone guide me of how to achieve this functionality from my component..
    I will be highly obliged..
    Thanks
    Sundeep

    Hello Sundeep,
    Check this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=241883
    One more important doc:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f7ced90-0201-0010-589f-8eff15a14072
    Sample coding for content creating and retrieval
    String out = new String(“my content”);
    ByteArrayInputStream data = new
    ByteArrayInputStream(out.getBytes());
    IContent newContent =
    new Content(data, “text/plain”,
    data.available());
    resource.updateContent(newContent);
    IContent oldContent = resource.getContent();
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

  • Extract & Store pdf SD billing document from archivelink content Repository

    Hello friends,
    Can some one give me a hint on this :
    I have a requirement to create a program which will extract the pdf SD billing document from archivelink content Repository and will save pdf files on application servers's directory.
    We have business Object, Content Repository ID, Document type know for this.
    thanks
    ashish

    use FM : ARCHIVOBJECT_GET_TABLE to get the content in bin format..
    then use open dataset, transfer dataset, close dataset to store that in OS level.. task done..
    you can even use GUI_DOWNLOAD if you want to download it to presentation server.

  • Document type to default content repository

    Is it possible to configure the DMS system so that when you create a document using CV01N and check in the original (using a KPro document type) it will enter it into a content repository by default, without using the pop-up box.
    For example a document of type DMO (if DMO it has KPRO checked in it's setup)  - always puts the original document in  DMS_C1_ST?
    Thanks for any advice.

    Dear Arthur,
    if I understood your latest information correctly your request is that
    the files are stored automatically to storage category if
    you add a file of a specific workstation application to a document info record and save it.
    This first setting enables the automatic start of the checkin
    process. But to have a specific storage category choosen for an
    original workstation application, you have to do another setting and
    create a profile in your system in the customizing under
    - Cross Application Components
         - Document Management System
             - General Data
                 - Define profile
    For this profile pleasee add your workstation applications under
    "Determine definitions for applications". Here you can maintain the
    default storage category for this application in field 'Storage cat.'.
    Since this profile is created assign it to all your users directly.
    Then if an user adds a new original file and chooses a workstation
    application the system should take the storage category automatically
    from the profile.
    To achieve an automatic checkin behavior the additional required setting here are the flags
    "Checkin" and "Checkin required" which must be set for the used document status in transaction DC10.
    Another proposal would be to use the BADI DOCUMENT_STORAGE01 which
    shoudl offer also methods to control which storage category should
    be taken for which workstation application.
    I hope that this information could be useful for you. To set up this
    scenario in detail I would recommend you to contact your local
    consulting organisation too which will help you in realising a solution
    that meets all your requirements.
    Best regards,
    Christoph

  • Linking DMS to a Content Repository for Recipe Management

    How do I link a document type to a content repository?
    This is for Recipe Management. When I look in DC10 I can see that there is a document type of RMS for Recipe Management.
    I assume this means Recipe Management is connected toDMS
    I have created a content repository ZRM using OAC0.
    How do I make the link between the document type RMS in DMS and the content repository ZRM?

    Thanks for the reply but it isn't really what I was after.
    I am only the basis guy so I am not sure of the application but my expectation is that users will save a document with a document type of RMS. This document should be saved to a Content Repository
    What you have described is how to save a type of document such as MS Word to a particular repository. I was hoping that Recipe Management documents (possibly MS Word, possibly not) would go to a Recipe Management Repository.
    There still might be the possibility that documents (possibly MS Word) for other projects e.g. packaging could be written to a different repository.
    What I am hoping for is a link from the document type RMS in DC10 to the Content Repository defined in OAC0.
    I have a suspicion this is via the category defined by OACT.
    The link from SAP DMS to Content Repository seems fundamental to me. I am surprised no one has the answer
    ...or perhaps I have completely missed the point?
    Tony

  • 5 doc type and 2 content repository

    Hi
    I have 5 document type in DMS and 2 content repository.
    Doc type QWE, ASD, JKL - pdf files must be in content repository X
    Doc type ABC, BNM -  pdf files must be in content repository Y
    How should I proceed to do this?
    Regards

    Hi,
    if I understood your latest information correctly your request is that the files are stored automatically to storage category if you add a file to a document info record and save it. To achieve this behavior the first important setting here are the flags "Checkin" and "Checkin required" which are already set for the used
    document status.
    This first setting enables the automatic start of the checkin process. But to have a specific storage category choosen for an original workstation application, you have to do another setting and create a profile in your system in the customizing under
    - Cross Application Components
        - Document Management System
            - General Data
                - Define profile
    For this profile pleasee add your workstation applications under "Determine definitions for applications". Here you can maintain the default storage category for this application in field 'Storage cat.'. Since this profile is created assign it to all your users directly. Then if an user adds a new original file and chooses a workstation application the system should take the storage category automatically from the profile.
    Another proposal would be to use the BADI DOCUMENT_STORAGE01 which should offer also methods to control which storage category should be taken for which workstation application. I hope that this information could be useful for you. To set up this scenario in detail I would recommend you to contact your local consulting organization too which will help you in realizing a solution that meets all your requirements.
    Best regards,
    Christoph

Maybe you are looking for