Any code samples for inputting content into content manager 8.1?

Does anybody know where to find code samples of adding content to the Content Manager
via the Java API?
The only code I can find is the "Content Manager Example Portlet" and it is 7.0,
not 8.1.
It's not clear from the documentation what the Repository and Path are supposed
to be named. Perhaps we had a working example, this might help.
Thanks
Dave

Does anybody know where to find code samples of adding content to the Content Manager
via the Java API?
The only code I can find is the "Content Manager Example Portlet" and it is 7.0,
not 8.1.
It's not clear from the documentation what the Repository and Path are supposed
to be named. Perhaps we had a working example, this might help.
Thanks
Dave

Similar Messages

  • Code samples for SSLEngine?

    I am attempting to re-implement the SSL support in our product under the new non-blocking I/O model. SSLEngine seems to be the starting point...but I can't find any code samples anywhere showing it working.
    Anybody have any ideas where to look?
    There used to be a whole suite of samples in the JSSE...but don't know where they are, now that the JSSE is part of J2SE :(

    SSLEngine is new in tiger (JDK 1.5), and as such, hasn't been released
    publically yet. I believe they are looking at sometime in Q1 2004 for the first
    public beta, and ships later in 2004. If you're a licensee, you can get early drops.Yup...I'm currently working with JDK1.5 b30.
    Anyway, SSLEngine will eventually have sample code, but nothing has been produced yet.
    On the whole, the non-blocking model takes some care to use correctly. The SSLEngine
    is pretty straightforward, but it's not as simple as SSLSocket.I'm aware of that - we've already rewritten our product to utilize java.nio. That's why I was
    hoping to find some code samples for the new SSLEngine class.
    To answer your other (implied) question, the sample
    code for JDK 1.4 can be found in the JSSE Reference Guide. See:
    http://java.sun.com/j2se/1.4.2/docs/guide/security/jsse/JSSERefGuide.html#CodeExamples
    Thanks for the link...I guess I should have looked in the OLD jdk docs. The 1.5 docs
    don't include most of the 'guide' folder from previous releases.

  • Code Samples for SDK programming in Java

    I need a complete set of Code Samples for SDK programming in Java, like the one that is available in VB and .Net.
    For Example, if you look at the following directory of machine where SDK is installed,
    C:\ProgramFiles\SAP\SAP Business One SDK\Samples\COM DI\VB.NET
    we have following Sample programs in C Sharp, VB6, VB.Net
    01.BasicOperations
    02.MetaDataOperations
    03.UsingSBObob
    04.SerialAndBatch
    05.OrderAndInvoice
    06.ObjectsSchemas
    07.Permissions
    08.LoadFromXML
    09.BudgetEditor
    10.Messages Service
    11.Basic Company Settings
    12. Report Layout Service
    13.SaveXML
    14.ItemCycleCount
    15.ApprovalStagesAndTemplateServices
    16.Alert Management Service
    Iam looking for Samples like what is available above so that we can understand JCO better.

    Hi Sridharan,
    The only JCO samples I know of are posted in the [thread|;.
    Regards,
    Vítor Vieira

  • Tutorial & Code Sample for Developping Composites with CAF

    Do you have tutorials & Code samples for developping composites with CAF like Webdypro for Java as on this SDN site:
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Thanls, regards, peter

    Take a look at https://www.sdn.sap.com/irj/sdn/developerareas/xapps?rid=/webcontent/uuid/7b9b3834-0801-0010-6a9a-dc53e0db37f2">the [original link is broken] [original link is broken].
    cheers,
    Marilyn

  • Java code sample for uploading file

    Guys can some one give me a java code sample for uploading more than 1 file .
    I have a working example but that is only for one file.
    thanks
    M

    Throw it away. Go to the [http://commons.apache.org/fileupload] and carefully read both 'User Guide' and 'Frequently Asked Questions' sections.
    And please, please also carefully read this article: [http://balusc.blogspot.com/2008/06/what-is-it-with-roseindia.html].

  • Any code samples using StringWriter?

    I looked through the examples here and couldn't find one that used StringWriter. Does anyone know where a code sample using it can be found?
    Thanks

    OK... I got a small sample program to work but I am having trouble getting this one to work with StringWriter. I get an error on the line containing ---- s = new String(sw.toString); It says it can't resolve symbol. Here is the part of the code that is giving me trouble.
    try {
                   fin = new FileInputStream(args[0]);
              } catch (FileNotFoundException e) {
                   System.out.println("File not Found");
                   return;
              } catch (ArrayIndexOutOfBoundsException e) {
                   System.out.println("Usage: ShowFile File");
                   return;
              do {
                   i = fin.read();
                   if (i != -1) {
                        pw.print(i);                         
              } while(i != -1);
              fin.close();
              s = new String(sw.toString);
              StringTokenizer st = new StringTokenizer(s);     (I didn't put the import statements, variable declarations or main line for clarity). I also tried putting sw as the argument for StringTokenizer() as well and it didn' work.
    Any help would be great.
    Thanks

  • Is there any code example for "Web Survey"?

    Hi buddies,
    In the standard SRM Web Survey scenario, the experts submit questionnaire online. But our custmer want it offline.
    So we use offline Adobe Forms, the problem is after we get the data by uploading the offline PDF, how we put the data into the standard Web Survey. Is there any function moudle , BAPI, class for this purpose?  Is there any code example?
    Thanks!
    Hao

    I have tried to write some report using pch logical database and successed.
    在报表自身中,从 GET OBJEC 点,作为规定,数据库驱动程序将文件 PLOG 中的选定的选择恢复为规定的并检查权限。
    指令 TABLES 中结构声明是前提。若除了结构 OBJEC,还定义结构 GDSTR,则将结构评估的参数添加到标准选择屏幕。这可以通过评估路径进行结构评估。
    REPORT  ZPHC_TEST.
    TABLES : objec.
    infotypes: 1000.
    INITIALIZATION.
    START-OF-SELECTION.
    get objec.
    WRITE : p1000-objid.
    end-of-SELECTION.

  • Any free samples for Logic?

    Hello all! I'm pretty new to logic...switched from Pro Tools and Reason (smart move, as logic is pretty bomb!) However, there were several websites dedicated to trading and downloading Reason samples for free, such as sitar wav. files and drum loops, etc. Is there any such site for logic users? Or, if the files are also compatible with Logic, how do you incorporate them into the sampler? Thanks a million!
    D

    eastcoastscott wrote:
    I was wondering the same thing...in fact, I think I may be missing some items. When you start a new project, there seems to be many choices as far a project templates. (according to some videos I saw). Under Collection I have 3 choices, Explore, Compose and Produce, each with only a couple options. I only have 1, Empty Project template as well. Shouldn't there be more than that?
    When you have a separate question from the one that has originally been posted, it's better to start a new topic with it and have people respond to that.

  • Code samples for using HTTPServices in Cairngorm framework

    Hello there,
    Does anyone have any samples for retrieving data through
    HTTPServices using the cairngorm framework model. All samples on
    the web, as far as I have searched, lead only to remote services
    mode of communication only.
    Any help here would be greatly appreciated.
    Thanks,
    Arun B
    [email protected]

    I wrote a sample code modifiying the Remote Object examples
    .. I got this working now . Please ignore this message, just incase
    anyone needs my sample just email me..

  • Code samples for all

    I just wanted to share with the community there is a huge code base at
    koders.com
    Over 2 million lines of code....
    that has tonz of examples from almost every language. Check it out. It's pretty neat stuff if you have time to search through the code.

    Choosing between CMP or BMP depends on the business requirements.
    If your application has a lesser complex mapping, development time is less or there is no benefit is achieving a greater control over database transactions, CMP would be preferred. However, if you wish to have a greater degree of control over the database transactions and/or the database has complex mappings, it is better to opt for BMP.
    As for the code samples, you coild find hundreds of them if you do a Google search.
    Regards
    xH4x0r

  • Code sample for rtp server. please!

    hi
    I need to get a rtp server code, may it simple, in order to learn from it. Did not find anything from browsing. could anyone send me a sample or a link?
    thanx a lot

    Hi,
    thanks for the link. I have aleready checked that, i should have specified more..
    The thing is that these examples require that we have the client IP and port . But in case of a NATed client, I don t see how to get this client IP.
    I looked in JMF API desperately for getting client info. But the only thing I get is the Participant class. No IP address nor a port to work with.
    'Anyone has a clue, or a code sample of a small server that listen for clients and retrieve dynamically their IP/port? would help a Lot
    thanx

  • Code sample for body height on kinect v2

    Someone have a good code sample to get the body height on kinect v2?
    Regards.

    have you looked at:
    https://social.msdn.microsoft.com/Forums/en-US/eba64c3f-ab99-4ccc-932e-df82740a885d/kinect-height-measurement?forum=kinectv2sdk
    Carmine Sirignano - MSFT

  • Java code samples for java mappings

    Dear all,
    Can you please send me a sample scenario in which you used the java mapping.
    How do we assign the source structure,the target structure.
    How do we map source->target
    Do we give the source and target interface names in execute method)?
    if so where do we map the same.
    we have one to one mapping in graphical,message mappings which i worked with.
    is there any tool for making the same thing in java?
    Kindly send me the documents if any on java mapping to [email protected]
    Please clarify.....

    ref:
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    and
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/javaMappingSample+Code&

  • Is there any code example for LDB PCH

    I always write report using logical database 'PNP' and 'PNPCE',  which make it very easy to have code for HR master data.
    The 'PCH' is for OM data, is there any method, like using "PNP", can make program for OM easier?
    Many thx, if any help.

    I have tried to write some report using pch logical database and successed.
    在报表自身中,从 GET OBJEC 点,作为规定,数据库驱动程序将文件 PLOG 中的选定的选择恢复为规定的并检查权限。
    指令 TABLES 中结构声明是前提。若除了结构 OBJEC,还定义结构 GDSTR,则将结构评估的参数添加到标准选择屏幕。这可以通过评估路径进行结构评估。
    REPORT  ZPHC_TEST.
    TABLES : objec.
    infotypes: 1000.
    INITIALIZATION.
    START-OF-SELECTION.
    get objec.
    WRITE : p1000-objid.
    end-of-SELECTION.

  • Code sample for using change document function modules

    Can someone send me some sample code for using function modules CHANGEDOCUMENT_READ_HEADER and CHANGEDOCUMENT_READ_POSITIONS?  I'm specifically looking for changes that occured to the standard price field in the material master (MBEW-STPRS) and I need to pull the most recent price change for a given material.  I'm not sure how to write the code efficiently since I don't have a date to pass (again, since we're looking for the most recent change.)
    Thanks!

    hi check this..
    CHANGEDOCUMENT_READ_HEADERS
    Example:
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
    EXPORTING
    objectclass = 'EINKBELEG'
    objectid = l_objectid
    username = space
    TABLES
    i_cdhdr = lt_cdhdr.
    LOOP AT lt_cdhdr WHERE udate IN s_aedat.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
    EXPORTING
    changenumber = lt_cdhdr-changenr
    TABLES
    editpos = lt_editpos.
    LOOP AT lt_editpos WHERE fname = 'LOEKZ'
    AND f_new = 'L'.
    p_desc = text-r01. " Cancel Contract
    ENDLOOP.
    ENDLOOP.
    CHANGEDOCUMENT_READ_POSITIONS
    Example:
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
    EXPORTING
    objectclass = 'EINKBELEG'
    objectid = l_objectid
    username = space
    TABLES
    i_cdhdr = lt_cdhdr.
    LOOP AT lt_cdhdr WHERE udate IN s_aedat.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
    EXPORTING
    changenumber = lt_cdhdr-changenr
    TABLES
    editpos = lt_editpos.
    LOOP AT lt_editpos WHERE fname = 'LOEKZ'
    AND f_new = 'L'.
    p_desc = text-r01. " Cancel Contract
    ENDLOOP.
    ENDLOOP.
    Check this link.
    http://www.sap-img.com/mm001.htm
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 18, 2008 4:05 PM

Maybe you are looking for