How to retreive contents ?

We have used with most of the services available in the workbench but we are still not able to implement the following use case.
1- Store a document into the Content management system, along with custom attributes (example: attach the "myAttribute"--->"toto" metatag to somedoc.pdf). We are only able to add pre-defined attributes from the accepted list.
2- And, then how to retrieve this content using that metatag. We are able to retrieve the document using the name of the doc, but not a metatag.
Can you confirm that this is indeed a feature of LC Content Management ? And that you can achieve that just by using the services already pre-defined in the workbench??

> In your orchestration, create a new variable of type map
> Introduce a set value operation which assigns map[@id=myAttribute] = toto
> In your store Content operation property editor, in attributes map argument, select Variable or XPath instead of Literal and pass this map variable.
> NOTE : You can also call a separate set Content Attributes operation in case you want to make use of pre-defined attributes also
> NOTE : Dont worry about passing a single attribute in attributes map it doesnt flush out other existing attributes, only over-writes what we pass in the map.
> Future releases will have searchRepository operation in which you can specify queries to find a document (i.e. it returns a node ID) you can search on basis of attribute values (exact or range or other conditions)

Similar Messages

  • How to retreive contents of package spec and body over jdbc

    is there a query i can issue that would return the contents (both spec and body) of a database package? similar to "desc schema.pkg" ?
    i want to issue this query via jdbc and get back the contents of the package spec/body.

    solved:
    select * from user_source where name='my_pkg'
    Message was edited by:
    user612126

  • How to retreive contents of a directory

    I'm writing a java web application.
    In one of my classes (standard class) I want to see what files are located in a specific directory. I just want to retreive all the filenames that are in that specific directory.
    Could anyone give me some advice.
    Thanks in advance
    Jeroen

    This should help:
    import java.io.File;
    String directoty =  "c:\\temp";
    File f = new File( directoty );
    if( ! f.isDirectory() )
      throw new IllegalArgumentException( "Path '" + directoty + "' is not a Directory" );
    File[] dirContents =  f.listFiles();
    System.out.println( "Files in Directory '" + directoty + "':\n" );
    for( int i = 0; i < dirContents.length; i++ )
      System.out.println( "\t" + dirContents.getName() );
    Good Luck!

  • How to retreive and display output list from BAPI

    Hello
    I am making an applcation using SUP 2.0, and this application make an user to get leave history using a Mobile System from SUP.
    I've created the MBO as Attributes using the BAPI: BAPI_LEAVE_HISTORY.
    This BAPI has some parameters IN and OUT.
    Input parameters are Employee Id and date.
    The parameter OUT is a List that retreives the employee leave history.
    Anyone has an Idea or example how to retreive the output from BAPI and displaying the output on a screen.
    Any tips or blogs that can help me?
    Thanks all!
    Satish

    Hi David Brandow,
    I have tried your solution where I just created a MBO for my 'operation' and I'm using sync parameters to execute the RFC.
    The problem I'm facing is, for example, if I create a record it gets saved in the MBO table and the record successfully gets created in SAP as well after a sync. But when I create another record and sync, the previously saved record in MBO table also gets executed so I'm getting duplicate entries in SAP.
    Have you or anyone faced this problem?
    Any response is appreciated. Please let me know if I'm not clear, I realized its a complicated scenario.
    Thanks,
    Sandeep

  • How to find content of a constraint etc.

    Hi,
    select constraint_name
    from user_constraints
    where table_name = 'EMP';
    shows to two constraints for the given table of EMP. Now, how to find CONTENT of each of these two constraints?
    Secondly, how to find if a particular column is nullable (programmatically, not from DBA tool set)? e.g. EMP.deptno
    Thirdly, why did I get the err msg of "inserted value too large for column"
    when executing the following command for data insertion to EMP as user, scott
    create SEQUENCE emp_sequence
    start with 8000 increment by 10;
    insert into EMP values (emp_sequence.NEXTVAL,'JOE','Researcher',null,null,null,null,null);
    Thanks a bunch.

    Thirdly, why did I get the err msg of "inserted value too large for column"Er, do the math...
    SQL> conn scott/tiger
    Connected.
    SQL> desc emp
    Name                                      Null?    Type
    EMPNO                                     NOT NULL NUMBER(4)
    ENAME                                              VARCHAR2(10)
    JOB                                                VARCHAR2(9)
    MGR                                                NUMBER(4)
    HIREDATE                                           DATE
    SAL                                                NUMBER(7,2)
    COMM                                               NUMBER(7,2)
    DEPTNO                                             NUMBER(2)
    SQL> select length('researcher') from dual
      2  /
    LENGTH('RESEARCHER')
                      10
    SQL>
    Secondly, how to find if a particular column is nullable (programmatically, not from DBA tool set)Don't like the sound of this, smells of dynamic coding. Anybody who can't figure out why they can't create an EMP record for a researcher probably ought not to be tangling with dynamic SQL just yet.
    Now, how to find CONTENT of each of these two constraints?The CONSTRAINT_TYPE tells you the sort of constraint: P=PRIMARY KEY, U=UNIQUE, R=FOREIGN KEY and C=CHECK. Only Check constraints have any content as such and you'll find that in the SEARCH_CONDITION. Note that this is a LONG column, so you may need need to SET LONG 5000 to see it in SQL*Plus.
    Cheers, APC
    P.S. In future please refrain from bundling unrelated questions into a single post. There is no charge for posting and it avoids the threads getting long and hard to follow.

  • How to install content server

    Hi all,
    I am new to DMS.How to install content server? and What is the difference between Content server and Kpro server?
    Thanks and Regards,
    Vairavan

    Hi Vairavan
    try SAP Service Marketplace at service.sap.com/contentserver and
    try the Installation Guides at service.sap.com/instguides -> SAP NetWeaver -> SAP NetWeaver 7.0 (2004s) -> Installation -> Installation u2013 Standaline Engines.
    regards, Andreas R

  • HT201269 how to transfer content from an android Galaxy phone to an iPhone5s?

    How to transfer content from a Galaxy II Android phone to a iPhone5s?

    Alternatively, you can copy photos from Android phone to wireless flash drive and from wireless flash drive to iPad.
    http://www.sandisk.com/products/wireless/flash-drive/

  • How to add content source in office 365 ?

    How to add content source in office 365 , where I can add find Manage Content Sources page to click on New Content Source LInk

    You can't. Only sources available is what is already set up...which is SharePoint/OneDrive4B and Exchange via eDiscovery.
    Thanks,
    Mikael Svenson - Search Enthusiast
    SharePoint MVP/MCPD/P-TSP - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of
    SharePoint Search Queries Explained and
    Working with FAST Search Server 2010 for SharePoint

  • How to parse contents from XML file in Java

    Hi All,
    I have a scenario like this . I have one xml file with key value pairs of ( name , URL ) . I have retrieved contents from XML file , now I want to parse these contents and store in a bean object.
    How to parse Contents of XML file??
    Thanks in advance,
    Rajendra.

    Hi All,
    I have a scenario like this . I have one xml file with key value pairs of ( name , URL ) . I have retrieved contents from XML file , now I want to parse these contents and store in a bean object.
    How to parse Contents of XML file??
    Thanks in advance,
    Rajendra.

  • How to show content of a list which resides in other site collection in Office 365?

    Hi All,
    Can anyone help on How to show content of a list which resides in other site collection in Office 365 . Using Rest and Soap services this is not possible as we have limitations in office 365.So if anyone have any idea please let me know.
    Note : We are not allowed to use CSOM for this requirement.
    Many Thanks,
    Vinod.

    Hi Vinod,
    You can use cross site publishing feature of SharePoint 2013.
    http://blogs.msdn.com/b/justinvoels/archive/2012/09/24/sharepoint-2013-search-driven-publishing-and-cross_2d00_site-collection-publishing-overview.aspx
    https://technet.microsoft.com/en-us/library/jj635883.aspx
    Alternative to cross-site publishing in SP Online
    https://www.youtube.com/watch?v=chwHhEmIERg
    Best Regards,
    Brij K
    http://bloggerbrij.blogspot.co.uk/

  • How to migrate content from BW 3.1 to NetWeaver 7.0

    Hello all out there,
    For a couple of years I have been successfully using SDN, finding always the right answer to my questions, however in my late assignment things have not been running that smoothly.
    This is my first posting to SDN and I hope any of you out there can give me a hand.
    <b>My Case:</b>
    We are planning to upgrade from BW 3.1 directly into NetWeaver 7.0
    <b>Our previous research within our planning phase has taking us to read:</b>
    •Everything under the Marketplace NetWeaver Upgrade portal (https://websmp204.sap-ag.de/upgradenw70)
    •Upgrade Master Guide
    •Many docs in SDN
    <b>My Question:</b>
    Based on our research, we have a good understanding about the technical upgrade path and the creation of a new landscape. However anything we have read explains about how to migrate our actual Queries, ODS, Web Templates, Infocubes, Update Rules, InfoObjects, etc to the new environment.
    <b>Could you please point me to the right literature, how to guide, migration path, etc; explaining how to migration content from BW 3.1 to NetWeaver 7.0</b>
    Thanks
    Alejandro

    Hi,
    This is more a question for the BI forums.
    Anyway, have a look at
    service.sap.com/upgrade-bw
    BW3.0B upgrade to BI 7.0 question about BI Content 3.1
    /thread/367125 [original link is broken]
    /thread/150068 [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2e8e5288-0b01-0010-2ea8-bcd4df5084a7
    Eddy
    PS. Which type of SDN Ubergeek/BPX suit are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>?
    Deadline: June 15th

  • How to retreive this file in SQL*Plus

    If I upload files which name is KOREAN, name of files is invisible.
    I dont't know cause of this problem.
    How is keeping korean name of file from breaking?
    Also, answer how to retreive this file in SQL*Plus
    Thanks
    silverbell

    To access ifs data from SQL, you need to (officially) setup a 'user view'. Refer to the Java API documentation on how to do this. Once you have created the user view, then you may access this view using any SQL tool.

  • How to use content conversion for Complex structure

    Hi All,
    I want to know how to use content conversion for the following complex structure:
    Data               
    ...Details            1 to Unbound
    .....Header           1 to 1
    .......HF1
    .......HF2
    .......HF3
    .......ITEM           1 to unbound
    .........ITF1
    .........ITF2
    all are of type string.
    Thanks & Regards,
    Viswanath
    Message was edited by: Viswanath Mente

    Hi,
    In the content conversion,
    give ur
    1.document name as message type
    2.give ur recordstructure as Details,,Header,1,ITEM,
    3.mention ur keyfield.
    conversion parameter
    Header.fieldFixedLength - give the field lengths
    Header.fieldNames=mention all the field name
    Header.keyField=enter the value of keyfield
    Header.endSeparator='nl'
    repeat the same  for Item
    regards
    jithesh

  • How to use content code to redeem mountain lion

    when i had enter content code in redeem option its showing i have to make a payment method. tell me how to use content code to redeem mountain lion osx

    Correction- you have to put the content code into the PDF file Apple sent you as the password to open the PDF then the redemption code is shown.

  • How to replace content in text data type?

    How to replace content in text data type? 
    when we sending the mails we are taking content from the database.
    The data is maintained in text data type column. Now i have to replace some of content in mail content
    (text data type column) from database. 
    I tried by using REPLACE function but data is truncated

    The data is maintained in text data type column.
    Hello,
    See REPLACE (Transact-SQL) => "If
    string_expression is not of type varchar(max) or
    nvarchar(max), REPLACE
    truncates the return value at 8,000 Bytes"
    You may should consider to Change the data type from "Text" (deprecated) to NVarChar(max).
    Otherwise you have to use
    UPDATETEXT (Transact-SQL) for the text data type.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • MULTIPLE crashes on G5 IMacs

    I work at a veterinary hospital with 5 IMac G5's, a mac mini, and a G5Tower. We have had multiple crashes with all 5 of our IMacs. There seems to be no rhyme or reason to the crashes. Generally speaking, they occur after we shut them down. Upon resta

  • How to extract an image from a canvas ?

    Hello there, I have a picture loaded in a Canvas, and I would like to save it to a file. Here's what I have: NireCanvas can = new NireCanvas(); back_image = JAI.create("fileload","c:\\inaxio\\Default.jpg"); buf_back = back_image.getAsBufferedImage();

  • BPM process analytics

    Hi We are trying to report on BPM process analytics. Has anyone succesfully implemented the same. We have some basic questions on it 1. where is the process context and generic data stored(is it in ECC backend or CE's database or file system) 2. how

  • Airport Extreme modem speed

    My Airport Extreme will connect at 28.8 only even though the Airport Utility modem is set for v90.. it never ever connects at any higher speed... the modem in the iBook will connect at higher speeds when directly pluged into phone line.. is there som

  • BAPI/Function to change Accounting Document

    Hi All, I have requirements to change Assignment field and text field in the accounting document for each item. Anyone know BAPI/Function to do that? Thanks, Victor.