IBR : Custom conversion

Hi,
I am trying to test the custom conversion with IBR.
As a first step I would like to be able to execute a java method before the PDF conversion of a MS Word document.
I have created a component with the following tables :
<@table CustomConversion_DocumentConversions@>
<table border=1><caption><strong>CustomConversion_DocumentConversions</strong></caption>
<tr>
<td>drConversion</td>
<td>drSteps</td>
<td>drDescription</td>
<td>drIsEnabledFlag</td>
</tr>
<tr>
<td>CheckLinks</td>
<td>CheckLinksFile</td>
<td>check link into doc files</td>
<td>TRUE</td>
</tr>
<tr>
<td>MSOffice</td>
<td>ExecuteSubconversion<$stepsToWebviewable="CheckLinksFile, MSOfficeToPostscript, PostscriptToPDF, ExecuteSubconversion<$subConversion='CreateThumbnail'$>", subConversion="UniversalConversion", supportsOIX="true", supportsXX="true", supportsOO="true", supportsIX="true"$></td>
<td>Conversion MS Office customisee</td>
<td>TRUE</td>
</tr>
</table>
<@end@>
<@table CustomConversion_ConversionSteps@>
<table border=1><caption><strong>CustomConversion_ConversionSteps</strong></caption>
<tr>
<td>drStep</td>
<td>drStepType</td>
<td>drStepAction</td>
<td>drStepParameters</td>
<td>drStepTimeoutName</td>
<td>drStepReport</td>
<td>drStepControlCodes</td>
<td>drStepDescription</td>
<td>drStepIsEnabled</td>
</tr>
<tr>
<td>CheckLinksFile</td>
<td>Code</td>
<td>oracle.customconversion.CheckLinksFileStep</td>
<td></td>
<td></td>
<td>!csCheckFiles</td>
<td>onErrorFail</td>
<td>Sample step that checks word files</td>
<td>TRUE</td>
</tr>
</table>
<@end@>
The "CheckLinksFile" step should be executed as it is added to the conversion steps of the MSOffice conversion.
However, it does not seem to be executed ...
Below, I copy the console output :
starting conversion: WORD; is subconversion: false
Script: TRUE
Evaluated to: TRUE
Script: ExecuteSubconversion<$subConversion="MSOffice",msOfficeApp="WORD"$>
Evaluated to: ExecuteSubconversion
Starting step: ExecuteSubconversion
Script: ignoreStatus
Evaluated to: ignoreStatus
Script: <$subConversion$>
Evaluated to: MSOffice
starting conversion: MSOFFICE; is subconversion: true
Script: TRUE
Evaluated to: TRUE
Script: ExecuteSubconversion<$stepsToWebviewable="CheckLinksFile, MSOfficeToPostscript, PostscriptToPDF, ExecuteSubconversion<$subConversion='CreateThumbnail'$>", subConversion="UniversalConversion", supportsOIX="true", supportsXX="true", supportsOO="true", supportsIX="true"$>
Evaluated to: ExecuteSubconversion
Starting step: ExecuteSubconversion
Script: ignoreStatus
Evaluated to: ignoreStatus
Script: <$subConversion$>
Evaluated to: UniversalConversion
starting conversion: UNIVERSALCONVERSION; is subconversion: true
Script: TRUE
Evaluated to: TRUE
Script: <$include universal_conversion$>
Evaluated to: ExecuteSubconversion
Starting step: ExecuteSubconversion
Script: ignoreStatus
Evaluated to: ignoreStatus
Script: <$subConversion$>
Evaluated to: Direct PDFExport
starting conversion: DIRECT PDFEXPORT; is subconversion: true
Script: true
Evaluated to: true
Script: PDFExport, ExecuteSubconversion<$subConversion='CreateThumbnail', supportsIX='true'$>
Evaluated to: PDFExport, ExecuteSubconversion
Starting step: PDFExport
Script: onErrorFail, producesRequiredWebviewable
The java method that should be executed does a System.out.println that should appear in that log ...
Does someone have an idea ?
Thank you,
Romain.

Hi Raphael,
Thank you for your answer.
I am just trying to do a simple task to see how I could customize the IBR conversions.
I have written a simple Java class with a method that just writes a comment into the conversion logs.
I've also made a component that adds lines into the conversions and steps tables to enable my custom conversion.
My java method should be executed before PDF conversion but I do not see the comment into the logs even if the conversion succeeded !
I don't know if I do not look at the right log files (IBR output into the IBR console) or if I missed something ...
Have you an idea ?
Did you use the same method to create custom conversions (java class + custom component) ?
Thank you,
Romain.

Similar Messages

  • IBR - Custom Conversion with FFMPEG

    Hello
    Guys
    I have built a simple class which converts videos to UCM.
    The conversion works very well but there is a problem when the video is huge the IBR thinks the process has been expired, because my server is quite slow, it is a Virtual Machine but if I upgrade the server I won´t fix this problem.
    How can avoid it? There is a solution to not expire the conversion?

    Read this http://docs.oracle.com/cd/E21764_01/doc.1111/e10800/c02_ibr_all.htm#CBHDEJDG and namely this http://docs.oracle.com/cd/E21764_01/doc.1111/e10800/c02_ibr_all.htm#CBHGCAAA
    Also this thread might be interesting Inbound refinery + pdfconverter general question

  • IBR on separate server - Custom Conversions

    I have a custom conversion process that interupts the IBR process to do some work on a document before the rendering step. It works well while IBR is installed on the same server as the Content Server, but I am struggling to get it going when I move IBR onto a separate server.
    When run on the same server, the "DocConverter.hda" contains the location of the original location of the document in the vault, but when on a separate server, everything points to a local folder. It appears that a pre-process copies in a copy of the document into a temp directory, and after the completion of the rendering, a post-process copies the pdf out to the weblayout folder. My process needs to know the location of the original document in the vault, but I cannot find any references to the pre/post processes in the documentation or even the logs.
    Anyone know how this works?
    I am running CS 7.5.1 and PDFConverter 7.6 on a Windows Server 2003 platform with a Sql Server 2005 back end.
    Cheers,
    Desmo

    David is correct. Depending on exactly what you are changing (always should be in a component), you need to restart the Content Server first and then restart the refinery because of the way the conversion information gets passed to the refinery from the Content Server. If you are changing the top level file formats entry, you may need to check in a new version of the file vs just resubmitting the file to the refinery using the Repository Manger applet to make sure the right conversion gets called.
    If you don't want to create this yourself, Fishbowl Solutions has a product called Native File Updater (part of the Document Automation Suite) that will likely work for you.
    http://www.fishbowlsolutions.com/StellentSolutions/StellentComponents/fs_docauto_webcopy?WT.mc_id=fb_sig_to
    Hopefully that helps,
    Tim

  • Session broker and custom conversion manager

    I'm having some problem using session broker and a custom conversion manager. I just moved from using single session to using a session broker in the sessions.xml. I'm using a custom conversion manager as shown in this tech. tips URL
    http://www.oracle.com/technology/products/ias/toplink/technical/tips/customconversion/index.html
    Here's my conversion manager set up code -
    public class JpmiConversionManagerSetup extends SessionEventAdapter
    * During the pre-login event the new MyConversionManager must be installed
    * @see oracle.toplink.sessions.SessionEventAdapter#preLogin
    * @param event
    public void preLogin(SessionEvent event) {
    ConversionManager cm= new JpmiConversionManager();
    ConversionManager.setDefaultManager(cm);
    event.getSession().getLogin().getPlatform().setConversionManager(cm);
    My session broker manages 2 sessions. In sessions.xml for one session I have the <event-listener-class> entry where I need some conversion, another session I don't have any such entry as I don't need any conversion.
    Now when I try to run a named query using session broker the conversion part blows up, throws a ConversionException. Any idea? Do I need to configure the session broker instead of session in the preLogin or anything like that?

    I think sessions editor is not available in 10.1.3dp4 yet. So I have to write the sessions.xml by hand. But the parser throwing me an error saying that <session-broker> is not allowed in sessions.xml.
    SessionLoaderExceptions:
    org.xml.sax.SAXParseException: <Line 41, Column 18>: XML-24534: (Error) Element 'session-broker' not expected.
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:415)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:284)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:302)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:199)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:111)
         at oracle.toplink.platform.xml.xdk.XDKParser.parse(XDKParser.java:160)
         at oracle.toplink.platform.xml.xdk.XDKParser.parse(XDKParser.java:190)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:191)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:151)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:88)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:364)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:331)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
    Any idea how to or where to write sessions broker in sessions.xml for 10.1.3dp4???

  • R12 Customer Conversion by using TCA API  OR  Standard interface table ?

    R12 Customer Conversion should be done via  TCA API  OR  Standard interface table? Why ?
    Which approach is more suitable  kindly let us know your thoughts.

    We have used interface tables just to have better control and reprocessing abilities. You may need to be little careful about the TCA tables.

  • Customer conversion for Non-English languages

    Hi:
    We have a requirement to convert customer data from lagacy system to Oracle EBS supporting English and Non-English languages. Our conversion programs for english is working fine but we are not sure about the approach for other language converions. Can anyboody share the knowledge if faced similar requirements?
    Thanks /Santanu

    Duplicate thread (please post only once) ...
    Customer conversion for non-english language
    Re: Customer conversion for non-english language

  • Custom Conversion Exit for a Custom InfoObject

    Has anyone created a custom conversion exit for an InfoObject?
    I have a requirement to mask the first five digits of the Social Security Number on output only. I created a custom conversion exit ZCONV, for example and added code to the output function module CONVERSION_EXIT_ZCONV_OUTPUT to accomplish the masking. In the CONVERSION_EXIT_ZCONV_INPUT, I just passed INPUT to OUTPUT.
    It works OK for masking the output results but any input variables return an "Invalid Format" error. So I am not able to have a selection screen variable where you enter the SSN number and run the query for it. It tries to convert it to the masked form and then run the query.
    Any pointers. Helpful answers will be promptly rewarded.
    Thanks
    Vineet

    Since the ultimate goal was not to display Social Security Numbers, I changed the custom Conversion exit to display SID values. In case anyone needs to do the same, The output function module CONVERSION_EXIT_ZCONV_OUTPUT  is coded to read the SID value for the SSN number from the SID table of the InfoObject and the input function module CONVERSION_EXIT_ZCONV_INPUT does the reverse by reading the SSN number for the SID.
    Dropdowns on variable values work OK by displaying the SID value and the employee name. The only drawback is that you cannot input a SSN number on the selection variable. You have to do the dropdown and select.
    Thanks
    Vineet

  • Import PO Receipts using custom conversion.

    I am importing PO Receipts through a custom conversion by populating the PO Interface tables and running the receving Transaction processor. But when I look for the receipt in the application, I cannot find it. The receipts correspond to existing Approved POs. The Tables are actually populated in the database, the Concurrent Program contain no errors, and the Processing Mode has been set to both Batch and Immediate. has anyone else experienced this issue? If so, were you able to find a resolution? Any help would be greatly appreciated. Thanks.
    Ray

    INSERT INTO RCV_TRANSACTIONS_INTERFACE(INTERFACE_TRANSACTION_ID,
    PROCESSING_STATUS_CODE,
    TRANSACTION_DATE,
    GROUP_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    TRANSACTION_TYPE,
    PROCESSING_MODE_CODE,
    TRANSACTION_STATUS_CODE,
    QUANTITY,
    ITEM_DESCRIPTION,
    UOM_CODE,
    VENDOR_ID,
    VENDOR_SITE_ID,
    FROM_ORGANIZATION_ID,
    SOURCE_DOCUMENT_CODE,
    PO_HEADER_ID,
    PO_LINE_ID,
    PO_UNIT_PRICE,
    PO_DISTRIBUTION_ID,
    DESTINATION_TYPE_CODE,
    BILL_OF_LADING,
    VENDOR_ITEM_NUM,
    COMMENTS,
    ATTRIBUTE15,
    VENDOR_NAME,
    VALIDATION_FLAG,
    SHIPMENT_LINE_STATUS_CODE
    VALUES (rcv_transactions_interface_s.NEXTVAL,
    (PO_RECORD.PO_RECEIPTS_STG_ID),
    PO_RECORD.PROCESSING_STATUS_CODE,
    TO_DATE(PO_RECORD.TRANSACTION_DATE, 'YYYYMMDD'),
    TO_NUMBER(PO_RECORD.GROUP_ID),
    SYSDATE, --TO_DATE(PO_RECORD.T_LAST_UPDATE_DATE, 'YYYYMMDD'),
    v_user_id, --TO_NUMBER(PO_RECORD.T_LAST_UPDATED_BY),
    SYSDATE, --TO_DATE(PO_RECORD.T_CREATION_DATE, 'YYYYMMDD'),
    v_user_id, --TO_NUMBER(PO_RECORD.T_CREATED_BY),
    PO_RECORD.T_TRANSACTION_TYPE,
    PO_RECORD.PROCESSING_MODE_CODE,
    PO_RECORD.T_TRANSACTION_STATUS_CODE,
    TO_NUMBER(PO_RECORD.QUANTITY),
    PO_RECORD.ITEM_DESCRIPTION,
    PO_RECORD.UOM_CODE,
    --TO_NUMBER(PO_RECORD.T_VENDOR_ID),
    v_vendor_id,
    -- TO_NUMBER(PO_RECORD.T_VENDOR_SITE_ID),
    v_vendor_site_id,
    TO_NUMBER(PO_RECORD.TO_ORGANIZATION_ID),
    PO_RECORD.SOURCE_DOCUMENT_CODE,
    TO_NUMBER(PO_RECORD.PO_HEADER_ID),
    TO_NUMBER(PO_RECORD.PO_LINE_ID),
    TO_NUMBER(PO_RECORD.PO_UNIT_PRICE),
    TO_NUMBER(PO_RECORD.PO_DISTRIBUTION_ID),
    PO_RECORD.DESTINATION_TYPE_CODE,
    PO_RECORD.BILL_OF_LADING,
    PO_RECORD.VENDOR_ITEM_NUM,
    PO_RECORD.T_COMMENTS,
    PO_RECORD.T_ATTRIBUTES15,
    PO_RECORD.VENDOR_NAME,
    PO_RECORD.T_VALIDATION_FLAG,
    PO_RECORD.SHIPMENT_LINE_STATUS_CODE
    INSERT INTO RCV_HEADERS_INTERFACE(HEADER_INTERFACE_ID,
    PROCESSING_STATUS_CODE,
    RECEIPT_SOURCE_CODE,
    TRANSACTION_TYPE,
    AUTO_TRANSACT_CODE,
    TEST_FLAG,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    RECEIPT_NUM,
    VENDOR_NUM,
    VENDOR_ID,
    VENDOR_SITE_ID,
    FREIGHT_CARRIER_CODE,
    EXPECTED_RECEIPT_DATE,
    COMMENTS,
    FREIGHT_TERMS,
    ATTRIBUTE14,
    ATTRIBUTE15,
    VALIDATION_FLAG,
    TRANSACTION_DATE,
    ORG_ID,
    OPERATING_UNIT
    VALUES (rcv_headers_interface_s.NEXTVAL,
    (PO_RECORD.XXPO_RECEIPTS_STG_ID),
    PO_RECORD.PROCESSING_STATUS_CODE,
    PO_RECORD.RECEIPT_SOURCE_CODE,
    PO_RECORD.H_TRANSACTION_TYPE,
    PO_RECORD.AUTO_TRANSACT_CODE,
    PO_RECORD.TEST_FLAG,
    SYSDATE, --TO_DATE(PO_RECORD.T_LAST_UPDATE_DATE, 'YYYYMMDD'),
    v_user_id,
    PO_RECORD.RECEIPT_NUM,
    V_VENDOR_ID,
    -- TO_NUMBER(PO_RECORD.VENDOR_CODE),
    -- TO_NUMBER(PO_RECORD.H_VENDOR_ID),
    v_vendor_id,
    -- TO_NUMBER(PO_RECORD.H_VENDOR_SITE_ID),
    v_vendor_site_id,
    PO_RECORD.FREIGHT_CARRIER_CODE,
    TO_DATE(PO_RECORD.EXPECTED_RECEIPT_DATE, 'YYYYMMDD'), -- date?
    PO_RECORD.H_COMMENTS,
    PO_RECORD.FREIGHT_TERMS,
    PO_RECORD.ATTRIBUTES14,
    PO_RECORD.H_ATTRIBUTES15,
    PO_RECORD.H_VALIDATION_FLAG,
    TO_DATE(PO_RECORD.TRANSACTION_DATE, 'YYYYMMDD'),
    TO_NUMBER(PO_RECORD.ORGANIZATION_ID),
    PO_RECORD.OPERATING_UNIT
    We are using Oracle Apps R12. We are using 'RECEIVE' by the way.

  • Customer Conversion Issue

    Hi All
    I am doing Customer Conversion in 11i
    My requirement is that i want to create Ship to addresses in 2 operating units
    I checked the API
    apps.hz_cust_account_site_v2pub.create_cust_acct_site for any org_id parameters but it did not have any parameters
    Can any body help me with this issue??
    Thanks

    Hi All,
    Can any body pls help me out for reosolving issue with updating customer category (Classification) in 11i
    whenever i call HZ_CLASSIFICATION_V2PUB.update_code_assignment API then i get an error message like below.
    (You cannot create a classification for a time period that overlaps the time period of an existing classification with the same owner table name, owner table ID, class category, class code).
    pls reply ASAP. Any help would be appreciated.
    email : [email protected]
    Thanks,
    Sourabh

  • Customer Conversion Error Table

    Hi,
    I'm just trying to look for Error table in customer conversion in r12 can you just help me. I goggled but i didnt find the error table and I dont have access for etrm's.
    Thanks & regards,
    pallis

    Records with errors are marked with E in the INTERFACE_STATUS column of the interface table. Error details are recorded in the table HZ_IMP_ERRORS. You can also use TCA Import Error report
    You can also refer MOS note:
    How to import party using TCA Bulk Import Registery Interface Tables [ID 1451645.1]
    thanks

  • Need Customer Conversion Script

    Hi All,
    Now I am working on Customer Conversion. So if Any one have the script please send it me.
    My email; [email protected]

    Hi,
    If you want you can select the currency column, right click and select the currency conversion option. In that you specify the target currency.
    PB

  • Customer Conversion Strategy

    Hi all,
    Can anyone of u give me the steps to be followed in converting customer data from 10.7 version to 11i version.
    I'm talking about customer conversion/interface.
    Please help me out asap.
    If possible please mail me at [email protected]
    Sridevi

    Hi Sridevi,
    You can either use the RACUST Interface or have your
    10.7 mapped according to TCA model . Call the appropriate
    API's for the conversion.

  • Customer Conversion-"Incorrect Code combination id for Receivable account"

    Hello experts!!
    I have created the customer conversion program the customers.
    All customers are getting loaded into the base table properly as expected . But for few customer it is throwing the below error:
    "Incorrect Code combination id for Receivable account"
    I have checked all the setups related things upto my knowledge everything is perfect.
    Could anyone help me out what would be the cause and how can i fix this error.
    Waiting for your valueable reply..
    Thanks,
    Thiru.

    As per the message, identify one of the failed records and retrieve the code combination used. From there you can validate that a) the id exists for the LE on the gl code combinations table and b) that it passes whatever cross validation rules are enabled for the organization.

  • Custom conversion of MSOB 10.7 / 11.0 to MO 11i

    Was anyone involved with a project where a custom conversion of Multiple set of books architecture on 10.7 or 11.0 was done prior in upgrading to 11i MO ?

    Anybody been through this scenario before, or can give some stepwise approach?
    We been through same scenario -- and successfully finished upgrade in development machine with may release of 11i..
    1) In your new machine run rapidinstall and create technology stack.
    2) finish Catogary1 steps in you existing database (10.7 in HP 10). You can also do this even after export using server partition. You have to apply relevant pathces.
    3)Export data from 10.7 (whichever database you have for 10.7 . ours was 7.3.4) to new machine database 8.1.6.X
    4)We tested export data from 10.7 application using server partition. You can apply patches if you want to work from 10.7 application against 8.1.6 database.
    Now that your new machine is ready with old data in 8.1.6 and new application 11i
    5)Apply all critical patches (for your liscenced products and AD and FND) to the new machine
    -- continue rest of upgrade process.
    If you need more detailed/specific information contact me @ [email protected] Glad to help you.
    Hope this may help you
    Shibu
    Thanks!!
    null

  • Customer conversion for non-english language

    Hi:
    We have a requirement to convert customer data from lagacy system to Oracle EBS supporting English and Non-English languages. Our conversion programs for english is working fine but we are not sure about the approach for other language converions. Can anyboody share the knowledge if faced similar requirements?
    Thanks /Santanu

    I believe your conversion programs should work regardless of the language the data is stored in, as long as the database and Apps use UTF8 characterset. To the code, data is data, whether it is in English or in another language. Your approach should be to test your conversion programs in test instances and tweak them as necessary. Are there specific concerns you have with using data in other languages ?
    Srini

Maybe you are looking for