Custom data link issues in sample code

Hi all,
I had tried to debug/run the sample of custom data link of Indesign SDK CS2. I found issue in this sample code whenever I create a package of the document which having the custom data link, at this time I got the message dialog box having the message "Cannot copy necessary linked file(s)".
anybody know about this problem that how we can resolve this, Please let me know.

Pete, I think this is a known issue- see http://support.adobe.com/devsup/devsup.nsf/docs/54028.htm for some workarounds.
best wishes
Ian

Similar Messages

  • [svn] 1543: Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io. Externalizable as the first type tested in AMF writeObject() functions

    Revision: 1543
    Author: [email protected]
    Date: 2008-05-02 15:32:59 -0700 (Fri, 02 May 2008)
    Log Message:
    Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io.Externalizable as the first type tested in AMF writeObject() functions
    QA: Yes - please check that the fix is working with AMF3 and AMFX and you can turn on/off the fix with the config option.
    Doc: No
    Checkintests: Pass
    Details: The problem in this case was that MyDate.as was serialized to MyDate.java on the server but on the way back, MyDate.java was serialized back to Date.as. As the bug suggests, added an Externalizable check in AMF writeObject functions. However, I didn't do this for AMF0Output as AMF0 does not support Externalizable. To be on the safe side, I also added legacy-externalizable option which is false by default but when it's true, it restores the current behavior.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-152
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.ja va
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/amf/Amf3Output.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/amfx/AmfxOutput.java
    blazeds/branches/3.0.x/resources/config/services-config.xml

  • [CS3]  Custom Data Links for InCopy story

    Hi,
    I want to create custom data links for InCopy story.
    I am retrieving incopy story from the database and importing it on the document. I have created custom data link as shown in the samples but if I open the indesign document in InCopy I get message - no incopy story found - galley and story view are not avaiable.
    Also when I import InCopy file it is also added in Assignment Panel. I want to handle check-in/check-out on my own.
    Is there any special thing for creating InCopy Data Links ?
    Thanks in Advance.
    Anderson

    Hi Norio
    Thanks a lot for your help and your hints.
    Its my first time to solve a problem like this. And I have no idea what I have to do exactly. I mean I see the samples in the SDK, see the properties and so on. And I suppose I have to add my property to kINXScriptManagerBoss. But thats all at the moment.
    I don't know what I have to do exactly. I don't know what elements I have to add. I don't know how I can add a custom defined variable type as a property.
    I have a structure defined for my slugs:
    struct structTabFlowTableModelSlug
       int32 iUIDTableModel;   // ID des Tabellenmodells
       int32 iLinkPASHID;      // Entspricht der ID der Produktion LinkPASHID
       int32 iDtpTableID;     // Entspricht der ID der DTP Tabelle (Tabelle DtpTable)
      void reset() {
         iUIDTableModel = -1;
         iLinkPASHID = -1;
         iDtpTableID = -1;
    typedef structTabFlowTableModelSlug stTabFlowTableModelSlug;
    And I think I have to add this structure as a property. But does this work? How?
    In my plugin the slugs are added to a ITableModel interface. So I suppose I have to add the property to this scripting element. But I am not sure.
    Its a bit tricky for me to implement this.
    But anyway, thanks for your help.
    Regards
    Hans

  • Custom Data Link is Lost on Saving the InCopy Document

    Hi,
    I am creating a custom data link in InCopy CS3 for the story.  I am able to successfully create the custom data link in InCopy.
    But when I save the InCopy document and re-open it then custom data link is gone and I have the normal data link.
    InCopy default behaviour is that when we save the InCopy document then it creates a normal data link.
    Does anybody have an idea what should be done to retain the custom data link and normal data link is not created.
    Thanks in Advance.
    Regards,
    Eric Won

    Thanks Dirk.
    Yes, I saw that there was some problem with the Script Provider.
    I created a new sample project in InCopy and created the custom data links. The custom data link got persisted in incx file which can be viewed by opening it in text editor. I am creating custom data link for stories.
    But when I open the InCopy document then my Script Provider gets the call back for creating the links. I created the links as shown in Custom Data Links sample but it doesn't create the link. Instead when I open the document normal data link exists for the story in InCopy.
    It seems to be that incx file is getting created correctly becuase when I try to import the incx file in InDesign then it is able to successfully create the custom data links.
    Am I missing something or doing something wrong ? any ideas ?
    I once gain thank you dirk for helping me out.
    Regards,
    Eric Won

  • Custom data link packaging.

    There was a previous topic about this from Dennis Sidharta::
    "Packaging Problem for Pages Containing Custom Data Linked Objects"
    see here -- http://www.adobeforums.com/cgi-bin/webx/.3bbf7f9b/1
    I have the same problem & was wondering if Dennis managed to find
    a suitable soution??
    Thanks in advance,
    Mike.

    Thanks Dirk.
    Yes, I saw that there was some problem with the Script Provider.
    I created a new sample project in InCopy and created the custom data links. The custom data link got persisted in incx file which can be viewed by opening it in text editor. I am creating custom data link for stories.
    But when I open the InCopy document then my Script Provider gets the call back for creating the links. I created the links as shown in Custom Data Links sample but it doesn't create the link. Instead when I open the document normal data link exists for the story in InCopy.
    It seems to be that incx file is getting created correctly becuase when I try to import the incx file in InDesign then it is able to successfully create the custom data links.
    Am I missing something or doing something wrong ? any ideas ?
    I once gain thank you dirk for helping me out.
    Regards,
    Eric Won

  • Customer Data Importing issues

    Guys,
    I wonder if anyone has ever had any experience importing data from Mail Order Manager (a Dydacomp product)?
    Next Monday we are going live with our system and things are progressing well. However we have just discovered 6000 duplicates in our imported customer data base of 25000 accounts. The reason for this is, to the best of our knowledge, there is no way of identifying an address pulled form our old system (MOM) as either a "bill to" or "ship to". So if an account in MOM had a different "bill to" than "ship to", SAP is creating two (if not more) BP accounts.
    Has anyone got any experience with MOM and know how to identify what kind of addresses are being pulled from MOM?
    Thanks,
    Charlie

    Gordon,
    We exported the data from MOM into excel templates. These templates were provided to us by our first class SAP Partner. So we know the templates are good and map to the correct fields in B1. The issue is we can pull the addresses from MOM but you can not differentiate between a Ship to or Bill to address.
    Does that help?
    Thanks,
    C

  • Place/Link to post Sample codes

    This is a suggestion regarding OTN:
    Apart from the tips/ questions adressed in the FAQ,
    it would be nice to include link or some means by which people can post sample codes/tips/workaround.
    We can put them at common place.
    I see large number of repeated postings on this forum. By doing this, apart from benefiting people, it will also
    help in reducing duplicate posting (It will act as a document by itself).
    One way would be:
    For each products, we can have a common place for workarounds/tips/Sample codes.
    People should be able to post the above through this forum.
    The posting should be added after moderating it.
    Thanx,
    Chetan.

    Emilio Corsetti wrote:
    Ben,
    That was the problem. The link is live now and you can see the poorly positioned spry menu in all its glory.
    Thanks,
    Emilio
    http://www.emiliocorsetti.com/publish/two_column.html
    You don't say what you want to change.
    If I were styling your menu I would have it vertically centered in the grey background. By adding the red coloured rule found in layout.css
    #menu (line  61)
    background-image:  url("../Images/Layout/nav_bg.jpg");
    background-repeat: repeat-x;
    background-position:  left top;
    width: 960px;
    height: 40px;
    padding-top: 10px; // or whatever suits
    I would also like to have the menu items spread evenly across the page by applying the style rule found in SpryMenuBarHorizontal.css
    ul.MenuBarHorizontal li
         margin: 0;
         padding: 0;
         list-style-type: none;
         font-size: 100%;
         position: relative;
         cursor: pointer;
         width: 20%; // 5 items X 20% = 100%
         float: left;
    You may have to fiddle a bit more after this to get it exactly the way you want. Just start a new topic because this one has already been answered.
    Happy Sprying.
    Ben

  • Spark skins, modules and custom themes: linking issues?

    I've read some other threads on this topic that were related to the pre-release versions, but I can't get a complete answer get. I also opened an issue in the bug tracker (https://bugs.adobe.com/jira/browse/SDK-30748), but I'm also posting here, hoping to get some help.
    Basically, I have a bunch of skin classes for the standard Spark controls (e.g. s:Button), as well as other skin classes for my custom SkinnableComponent objects. I need to reuse those skins in many projects, so I created a theme: I put in a Flex Library Project all my skin classes, all related graphical assets, and a defaults.css stylesheet that associates each component with its correct skinClass.
    Now, in my modular application project, what is the correct method to link this compiled theme SWC? I tried different ways, and found some issue for each one:
    In <app>-config.xml, using the <theme> compiler option: this way, modules don't pick up the skinClass correctly (default components use the standard Spark skin, and for custom components I get many skinNotFound errors).. its a pity, I like this method because command-line invocations of MXMLC (build scripts) automatically apply the settings in the config.xml file, while I have to manually keep in sync any additional compiler argument.
    In <app>-config.xml, using the <theme> compiler option and add -compiler.isolated-styles=false: seems to work, but not always.. moreover, the option must be put in additional compiler argument, and not in <app>-config.xml, to have effect... I understand that the config.xml file, in a modular application, is only applied to the main application (or that it must replicated with correct name for each module)?
    In additional compiler arguments, using the theme+= option.. these arguments should be used also for modules compilation, and this seems the most effective solution at the moment (swf size of compiled modules has slightly increased), but skinNotFound errors still happens sometimes, usually going away after a clean build.. maybe this has something with the incremental build performed by Flash Builder and/or optimization of modules?
    Right now, I've tried adding also -keep-all-type-selectors in the compiler arguments to see how it goes...
    Is my scenario supported by Flex 4? How should I setup my environment? I read how to create custom themes in the official documentation (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f85.html) and a specific help section exists about using styles with modules (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-799a.html#WSda 78ed3a750d6b8f1b97f82d12508050aa0-8000), but it only cover simple style sheets, no specific information about compiled themes and the suggested linking strategy.
    I'm using Flash Builder 4.5.1 and compiling with Flex SDK 4.5.0 (both application and theme), the project use some Halo components (e.g. DateField) but almost all components are Spark, and I use Spark component for <s:Application> and <s:Module>. Modules are optimized for the main application, and are loaded using the ModuleManager.
    Thanks in advance for any help.
    Cosma Colanicchia

    I'm not sure Spark components will work if the compatibility mode is set to
    3.

  • Linking issues while Migrating code from SUN CC 4.3 to SUN CC 5.8

    Hello,
    I am migrating code written in SUN CC 4.3 to SUN CC 5.8
    I have compiled entire code with SUN CC 5.8 with -compact=4 option ,on machine with OS SunOS 5.8 Generic_Virtual sun4v sparc sun4v.
    during linking phase i am facing issues like
    (cd msggen; make CG="-fast -O3 -compat=4 -lC -features=extensions -i" all)
    /opt/SUNWspro/bin/CC -o msggen msggen.o licensemessage.o ../../../../libs/lib/libgeneral.a
    Undefined first referenced
    symbol in file
    cerr ../../../../libs/lib/libgeneral.a(string.o)
    unsafe_ostream::operator<<(long) ../../../../libs/lib/libgeneral.a(string.o)
    operator delete(void*) msggen.o
    operator new(unsigned int) licensemessage.o
    Iostream_init::Iostream_init(void) msggen.o
    Iostream_init::~Iostream_init(void) msggen.o
    istream::operator>>(char*) ../../../../libs/lib/libgeneral.a(string.o)
    setw(int) ../../../../libs/lib/libgeneral.a(string.o)
    unsafe_ostream::outstr(const char*, const char*) ../../../../libs/lib/libgeneral.a(string.o)
    exrethrow_q msggen.o
    ld: fatal: Symbol referencing errors. No output written to msggen
    I felt like these issues are due to the standard header files. I am including the headers which comes with SUN CC 5.8 and I am using Rogue Wave rwav/ver09.1.
    I am not getting any pointers to solve this issue,any pointer will be highly appriciated.
    Thanks in advance,
    Revathi R

    975741 wrote:
    Yes i did migration by following the Migration Guide, while Migration i ve come across situations where a class method is invisible at many situations like...
    C.h
    class C
    f1();
    B.h
    #include<C.h>
    class B
    f2();
    A.C
    #include<B.h>
    class A:B
    f1();-----> Error Not accessible so I changed to C::f1() then worked like this I ve came across many will it be a Problem, in migration Guide i haven't seen any of such.
    }When you post a code example, it is best to copy/paste from actual code that you verified shows the problem. This example is nowhere near valid for any compiler, even with your suggested change.
    - The class declarations are not terminated by a semicolon
    - You can't call C::f1() using that syntax outside of class C or a class derived from class C because it is not a static function, and requires an object. You could call it as c.f1() if you had a c object of type C, except that f1() would still not be accessible.
    The rules about accessibility have never changed. Please post an example that actually works with C++ 4.x or with C++ 5.x in -compat=4 mode, but that fails with -compat=5 mode.
    >
    Like this for operator overloading also , I haven't got any way to make function body available to function call, so i ve changed those functions to normal functions...I don't understand what you mean. An example would help.
    >
    what is a template cache?? How to delete it??
    The template cache is also known as the template repository. See section 3.3.5 Template Repository in the Migration Guide. To delete the cache (repository) just remove the entire cache directory.
    >
    >
    Another task of mine is, i am compiling a code written in SUN CC 5.5 to 5.8, would you suggest me the migration guide, I could get from 4 to 5 and 3 to 5 but
    not from 5.5 to 5.8, I am not sure about in which compiler code is written but, I could able to compile the code with out compact option with SUN CC 5.5, CC 5.5 and 5.8 are fully compatible. There should be no migration issues. The exceptions would be invalid code that compiled due to a bug in the earlier compiler but is correctly diagnosed as an error with the later compiler. In rare cases, the later compiler has a bug not present in the earlier compiler (a regression). When found, regressions are fixed in patches. If you have an Oracle service contract, you can download patches from My Oracle Support. Otherwise, get the most recent compiler, which should not have those regressions.
    but while trying to compile with 5.8 i am facing issues like
    1. typecastingI would have to see an example.
    2.virtual vector<int> getProcedureArgs() { return 0; } -----> Error: Cannot use int to initialize std::vector<int>
    The compiler error message is correct. The function returns a vector<int>, but you can't create a vector<int> from an integer 0. That is, the vector template has several constructors, but none that accept a single integer argument.
    At this point we have moved away from the original topic. If you have further questions, please start a new thread.

  • Oracle Sample Code Login Issue

    I want to login to Oracle sample code.When i clicked the 'login' link from oracle sample code home page it is redirecting me to a page to 'Create User'. I gave my OTN username and password,but not accepting and showing invalid username/password message. Please help me to solve this.

    Hi,
    I had this issue, so i created a new user like 'user_ext' by providing a valid email id. Then try to login with the new user id created

  • Customer  Open Interface sample code?

    Hi
    I am trying to import some data (customers) from a legacy
    system into oracle. I would like to use the oracle customer open
    interface but can anyone please give me some sample code how
    they did the import?
    Thank you
    alpha

    Hi
    I am trying to import some data (customers) from a legacy
    system into oracle. I would like to use the oracle customer open
    interface but can anyone please give me some sample code how
    they did the import?
    Thank you
    alpha

  • Issue with Custom data parameter in Excel Data Connection

    Hello,
    We are querying a OLAP (SSAS 2008) cube using Excel 2007 by creating a data connection to SSAS server with an extended parameter “Custom Data”. We are using custom data parameter to apply our application’s user security to filter dimension
    members in Excel’s pivot table report. We have created a pivot table in Excel and the excel is including this custom data parameter along with each request that excel is submitting to SSAS.
    However, when the user selects “Show Properties in Report” option for a dimension which is selected in Row-axis of pivot table, Excel is not including custom data parameter . Why this “Custom Data” parameter is not being included in
    the request only for this specific case?
    1. The Request which sent from Excel to SSAS when user clicks on “Show Properties in Report” option
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="AE6B294B-4983-4010-BC5F-E0896A49ECD9"/></soap:Header><soap:Body><Discover
    xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>DISCOVER_LITERALS</RequestType><Restrictions/><Properties><PropertyList><Content>SchemaData</Content><Format>Tabular</Format></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
    2. The sample Request which sent from Excel to SSAS for all other requests
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="74165AD6-C240-4634-92A1-61A400A3FC97"/></soap:Header><soap:Body><Discover
    xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>MDSCHEMA_CUBES</RequestType><Restrictions><RestrictionList><CUBE_NAME>RepCube</CUBE_NAME></RestrictionList></Restrictions><Properties><PropertyList><Catalog>QAV10_12thMay2010</Catalog><Timeout>5000</Timeout><SafetyOptions>2</SafetyOptions><MdxMissingMemberMode>Error</MdxMissingMemberMode><LocaleIdentifier>1033</LocaleIdentifier><DbpropMsmdMDXCompatibility>1</DbpropMsmdMDXCompatibility><CustomData>xxxxxx</CustomData></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
    As the Custom Data parameter is missing in 1st request our application logic is throwing a custom exception to Excel and Excel is not able to understand the exception message. Excel is sending the same request repeatedly (going into infinite loop) and the excel
    window is freezed. Not able to work with excel until restarting the Excel.
    Can anyone help me to resolve the above? quick help is much appriciated!
    Thanks,
    Venkat

    Venkat,
    We have a very similar issue, but there is almost no material to help us. If this gets to you, please let me know if you progressed it or whether I need to go to Microsoft for a solution
    THanks
    David

  • Sample code on how to populate data in DropDownListbox

    Hi all
    i am new to the webdynpro for java.
    i have one UI element called DropDownListBox and i want to populate some desired values to the dropdown list box.
    what are the different ways are there to populate data in DropDownList box.
    for example i have city as dropdownlist box and i want to populate some values in drop downlistbox like bangalore,hyderabad,chennai and delhi,
    can you pls send the sample code on the same?
    Regards
    Suresh Babu

    Hi,
    If you want to retrieve the city names then you can use the standard tables in R/3.
    We have countries list in T500T. Like this we have table for the cities also.
    Or
    You can manually populate a table and bind this table to the list box.
    Please check out this link -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    http://help.sap.com/saphelp_nw70/helpdata/EN/74/450e8af57065468e88e4b86de47e4b/frameset.htm
    Regards
    Lekha

  • Need Sample code to retrieve Data from Portal DB(Oracle)

    Would anyone provide me steps to create application with a sample code to retrieve data from portal DB which is oracle and see the output in table format.

    Hi Bris ,
    The sample code , you didnt specified from where do u want to access the oracle thorough java code or through webdynpro .
    Sample code to access through Java
    import java.sql.*;
    class Customer
    public static void main(String args[]) throws SQLException
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    System.out.println("Connecting to the database...");
    try
    Connection cn=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","t");
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select 'Connected' from dual");
    rs.next();
    String s=rs.getString(1);
    System.out.println(s);
    st.close();
    cn.close();
    catch(Exception ex)
    System.out.println("The exception raised is:" + ex);
    [code]
    If accessing through JDBC datasorce.
    https://www.sdn.sap.com/irj/sdn/thread?threadID=328550
    https://www.sdn.sap.com/irj/sdn/thread?threadID=309386
    [code]
    package com.dhl.employeemodel;
    import java.sql.Connection;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    public class DBConnectionManager {
         Connection connection;
          * @return
         public Connection getConnection() {
              try
                   Context jndiContext = new InitialContext();
                   DataSource ds = (DataSource)jndiContext.lookup("jdbc/MyAlias");
                   connection = ds.getConnection();
             catch(Exception connectionErrEx)
                   //connectionErrEx.printStackTrace();
                   return null;
              return connection;
    Thanx
    Pankaj

  • Sample code for a custom field added to LIS Communication structure for Del

    We appended a new custome field into extraction structure of the LO Cookpit datasource 2LIS_02_ITM through RSA6.  And then run CMOD to write the exit code to populate the value and it works fine.  But after we read Roberto's Weblog:
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Find the enhancement we did can't make the Delta mechanism works if only this new field gets changed in a record, and the change cannot be reflected on BW.  I know we can run SMOD on the enhancement LEINS001 to write the code for LIS Communication structure customer exit.  But we have never writen such a code for LIS Communication Structure enhancement and also don't know on how to make the Delta mechanism works in the code.  We would be very appreciated if some expert here can provide the sample code!
    Thanks

    hi AHP,
    Have you tried Sanyam's code listed in this article you recommended?
    Now our R3 team has added a custom field called ZZZ to EKKO table and I modify the code to suit our need and the code would be as following:
    *& Include ZXM06U16 *
    DATA: i_t_ekko LIKE ekko OCCURS 1 WITH HEADER LINE.
    DATA: ebeln LIKE ekpo-ebeln,
    it_ekko TYPE TABLE OF ekko WITH HEADER LINE,
    old_val(50) TYPE c. "For storing the value from the Field Symbol
    FIELD-SYMBOLS <fs> TYPE ANY TABLE.
    CASE zeitp.
    WHEN 'MA'. "When creating a purchase order
    MOVE '(SAPLEINS)T_EKKO[]' TO old_val.
    ASSIGN (old_val) TO <fs>.
    i_t_ekko[] = <fs>.
    LOOP AT xmcekko.
    ebeln = xmcekko-ebeln.
    IF xmcekko-supkz = '1'. "Old Value ?
    SELECT SINGLE * FROM ekko INTO it_ekko WHERE ebeln = ebeln.
    xmcekko-ZZZ = it_ekko-ZZZ.
    ELSE. "New Value ?
    READ TABLE i_t_ekko WITH KEY ebeln = ebeln.
    xmcekko-ZZZ = i_t_ekko-ZZZ.
    ENDIF.
    MODIFY xmcekko.
    ENDLOOP.
    EndCase.
    The compile of the above code works fine and we activated everywhere including project level. Then we set debug points in this code, and run RSA3 on 2LIS_02_ITM, but find the extraction program never reaches this code or call this user exit function EXIT_SAPLEINS_001 of this enhancement LEINS001. Any reason?
    Thanks
    Kevin
    Message was edited by: Kevin Smith

Maybe you are looking for