Open xml relationship target is NULL when inserting chart into a mapped rich text content control in Word 2013

Hi,
I have a word document with a rich text content control that is mapped to a CustomXml. You can download an example here
http://1drv.ms/1raxoUr
I have looked into the specification ISO/IEC 29500-1:2012 and i understand that the attribute Target for the element Relationship can be set to NULL at times(Empty header and footer in the specification).
Now, i have stumbled on Target being NULL also when inserting a diagram into a word document. For example:
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"
Target="NULL" TargetMode="External" xmlns="http://schemas.openxmlformats.org/package/2006/relationships" />
Why is Target="NULL" and how should i interpret that Target is null?
Br,
/Peter
Peter

Hello Peter,
The relationship in question is associated with the externalData element (ISO/IEC 29500-1:2012 §21.2.2.63). For the other two charts in this document, the corresponding relationships are of the other allowable form:
  <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet1.xlsx"/>  <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet2.xlsx"/>
For charts 1 and 3 in your document, the data can be edited via the Chart Tools ribbon control. The option to edit data is not available for chart 2. The data used to create chart 2 is the same default spreadsheet data used for chart 1, and in fact the spreadsheet
references are still present in the file format, despite there being no apparent link to a spreadsheet for chart 2.
Thus, it appears that Target="NULL" in this context means that the chart is not associated with an external data source. The specification doesn't have much to say about the semantics of the Target attribute (ISO/IEC 29500-2:2012 §9.3.2.2) beyond
the fact that it be a valid xsd:anyURI, which the string "NULL" is.
It looks like there is some unexpected interaction between the chart and the content control. I don't think the file format is the issue. You will probably need to pursue that behavior from the product perspective via a support incident, if that behavior
is unexpected. If you still have questions about what is seen in the file format, please let me know.
Best regards,
Matt Weber | Microsoft Open Specifications Team

Similar Messages

  • Open xml relationship target is NULL when inserting chart

    Hi,
    I have looked into the specification ISO/IEC 29500-1:2012 and i understand that the attribute Target for the element Relationship can be set to NULL at times(Empty header and footer in the specification).
    Now, i have stumbled on Target being NULL also when inserting a diagram into a word document. For example:
    <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"
    Target="NULL" TargetMode="External" xmlns="http://schemas.openxmlformats.org/package/2006/relationships" />
    I'm using Open xml sdk and i'm trying to create a relationship. My question is how i should resolve the target which i think should point to the diagram/chart that i inserted.
    Br,
    /Peter
    Peter

    Hi Cindy,
    It is "easy" to reproduce :)
    1. Create a word document
    2. Add a CustomXml to the document with for example "Word content control toolkit"
    2:1 The CustomXml should look something like this <Root xmlns=http://schemas.company.se><Description></Description></Root>
    3. Open up the word document and open up the "XML Mapping Pane" under Developer tab. Add rich text content control which mapps to the <Description> element.
    4. Save and close the document
    5. Take a copy of thedocument
    6. Open up the document again, place the insert point within the content control mapped to <Description> element and insert a Chart.
    7. Save and close the document
    8. Rename the document with the extension .zip and navigate to word/charts/_rels/ and open up chart2.xml.rels.
    9. Search for Target="NULL", you should find 1 occurrence
    You can also download a sample here: http://1drv.ms/1raxoUr
    Br,
    /Peter
    Peter

  • Automatically inserting rich text content control

    I have many word .docx forms which I would like to convert to a form which can be filled in with Reader.  The word forms presently would be like ...we [name of parties] desire to enter into...
    I would like to have a program which automatically finds the brackets and inserts a rich text content control box and then inserts whatever is within the brackets for the placeholder wording.
    Can this be done and if so, is it code in XML or am I totally off my rocker?
    Thanks

    Hi Peter,
    According to the description, you are using OPCHelper converting the Word document into byte. As far as I know, the OPCHelper is a third-part class, I suggest contact the vendor to get more effective response.
    For this issue, did you want to retrieve byte data from the Office package? And based on my understanding, the office document support Open XML format is a zip. We can directly get the data from the zip package via
    GZipStream.
    Hope it is helpful, and if I misunderstood please feel free to correct me.
    Regards & Fei 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TS2771 Help! I just restored my ipod touch 2nd gen cos I needed a clear out. I went to sync some music back on, and it seemed to work. However when I went into 'music' it said 'no content'. I tried syncing music 3 times and it did the same every time. Hel

    Help! I just restored my ipod touch 2nd gen cos I needed a clear out. I went to sync some music back on, and it seemed to work. However when I went into 'music' it said 'no content'. I tried syncing music 3 times and it did the same every time. Help!

    Try plugging your ipod into your computer. Then start up itunes. Let it load everything. Then click on your ipod and play a song from your ipod's library. Not your itunes library. If it plays the song, then go ahead and stop it, disconnect your ipod, and check the content once again.
    I had the same problem and beleive it or not, this worked. I synced my ipod like 5 times before finding this answer on the web. Let me know if I need to clerify anything.

  • Acrobat Pro 9.5.4 crashes when inserting pages into exisitng PDF

    When I try to insert pages into an exisitng PDF document Acrobat Pro 9.5.4 running on Mac OS 10.8.2 hangs and crashes every time. Please HELP!!!

    Any PDF I try and insert to any PDF. It does not seem to be isolated to one document.

  • Correct workflow when inserting images into text, InDesign CS4

    Hi,
    I am new to InDesign and I have a problem regarding a really basic thing and I would be very grateful for help.
    I am writing an article which is about 10 pages long. It consists mostly of text. I have finished writing and now I want to add some illustrations with descriptions. I've already figured out it's best to insert images into the text frame so they behave as "anchored objects" and they move together with text when I add or delete something on previous pages. Now I would like to place TWO OR MORE images, one next to each other, in a line. This is a bit tricky but I created an object style with Position: Custom in "Anchored object options" and it works more or less fine. This works great but now it would be hard to add descriptions to these images that would still be anchored.
    So I created something different. I made an empty rectangle frame, a small text frame under it and grouped them. Then I placed it in my master text frame and basically did the same thing as for previously described images. Now I place the newly loaded image in the empty rectangular frame and add text in the empty text frame. BUT now I have problems with frame size for different-size images.
    What if I have a REALLY LONG article and want to add LOTS of images with decriptions that would be anchored in the text so I can edit previous pages? I can do this my way, but it's extremely uncomfortable and takes ages. Is there any comfortable, non-destructive workflow for doing such things?
    Sorry for my English.

    Hi,
    I would recommend following steps:
    Place one or more images
    Don't anchor them yet.
    Arange them (the images) relatively to each other, add a text frame and arrange them correct relatively to the images.
    Group images and text
    Copy (or cut) them into the clippboard
    Set the curser into the text where it should flow
    Paste it
    Adjust the anchored object (the group)
    You need to group several objects to anchor them together as one anchor.
    Further recommendation:
    For the images I would specify an object style for fitting, stroke, corner optione.
    For text frames I would specify an object style for text object options, like text offset, and used paragraph style, no boarder, etc.
    For the group I would spcify an object style which leaves above mentioned settings undefined (option field is grea or has a dash). But the anchored position of the whole group and text wrapping should be specified.
    Willi Adelberger

  • Spinning Beach Ball of Death in iTunes when Inserting iPhone into Cradle

    Anyone else getting the spinning beach ball of death when inserting your iPhone into your cradle to sync? I'm getting that, but only on my iMac, not my MacBook Air.
    Any suggestions?
    YoungTurk

    I'm having the same problem. And it tells me that sync is not activated and asks me if want to activate sync. I say 'yes' and it then say it cannot activate sync would I like to 'override.' This just started happening this week. And it's very annoying. It's as if something is accessing my iphone and keeping iTunes from accessing the phone a while. If I wait long enough it shows up in iTunes. I'm running Symantic Norton Anti Virus. My first guess is there's a virus. Or Norton Anti Virus is trying to access the phone for some reason. I just noticed you now have the option of automatically checking the iphone for virus when connected. But when I deactivate the auto scan of the iphone option the ball still spins for minutes and minutes. I've spent HOURS trying to figure this out. Apple has got to help. I've not installed anything else new to my system in the past few months.

  • Validations when inserting records into database using table control?

    hi , guru's.
          iam inserting records into database table through table control when i press insert i want check which record is existing and which is not . so please give me any sample code
    regards,
    satheesh.

    hi , arjun.
    please check this code.
        WHEN 'INSERT'.
        data: g_vcontrol_itab1 like table of zcust_call_rec,
              g_vcontrol_wa1 like g_vcontrol_wa.
         SELECT *  FROM zcust_call_rec
                   INTO CORRESPONDING FIELDS OF TABLE g_vcontrol_itab1
                   FOR ALL ENTRIES IN g_vcontrol_itab
                   WHERE kunnr = g_vcontrol_itab-kunnr AND budat = g_vcontrol_itab-budat.
            loop at g_vcontrol_itab into g_vcontrol_wa.
               read table g_vcontrol_itab1 into g_vcontrol_wa1
                    with table key  g_vcontrol_wa-kunnr = kunnr and g_vcontrol_wa-budat = budat.
                     if sy-subrc = 0.
                       delete g_vcontrol_itab.
                     endif.
            endloop.
          LOOP AT g_vcontrol_itab INTO g_vcontrol_wa.
            INSERT into zcust_call_rec values g_vcontrol_wa.
          ENDLOOP.
    with this iam getting error message like this.
              <b>g_vcontrol_wa-budat is not expected.</b>

  • SSIS package takes longer time when inserting data into temp tables

    querying records from one  server  and  inserting them into temp tables is taking longer time.
    are there any setting in package which  enhance the performance .

    will local temp table (#temp ) enhance the performance  ..
    If you're planning to use # tables in ssis make sure you read this
    http://consultingblogs.emc.com/jamiethomson/archive/2006/11/19/SSIS_3A00_-Using-temporary-tables.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Error message when inserting table into JSP

    I am using JDEV 10.1.3.3 and am getting the following error message when I try to create a table in a form on a jsp:
    "Could not complete get pdusage from application because it would result in an invalid document".
    Here is the stack trace:
    oracle.bali.xml.model.XmlReadOnlyException: read-only on commit
         at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2676)
         at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1519)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1549)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2717)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:575)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:555)
         at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:413)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:203)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adfdt.view.common.binding.provider.ADFBaseProvider.<init>(ADFBaseProvider.java:34)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.<init>(ADFIteratorModelProvider.java:46)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFCustomTableModelProviderFactory.createModelProvider(ADFCustomTableModelProviderFactory.java:64)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFBindingsProviderInfo.getData(ADFBindingsProviderInfo.java:40)
         at oracle.adfdtinternal.view.common.binding.datatransfer.BaseADFDataInfo.getData(BaseADFDataInfo.java:35)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.getTransferData(ADFBindingUtils.java:1087)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.getTransferModelProvider(ADFBindingUtils.java:1111)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:63)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:96)
         at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.actionPerformed(PerformOperationAction.java:39)
         at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
         at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.actionPerformed(DropMenuInvoker.java:235)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Hi,
    obviously you try to drag and drop a component to a place where it breaks the document. Make sure the table is added to the JSP body. Have a look at the page sources for existing syntax problems - e.g. missing close elemenents or misplaced elements
    Frank

  • Error with date field when inserting records into sql server from webdynpro

    Dear SDN's,
    I am trying to insert the records into sql server through my webDynpro program.
    I have created a date field in a dictionary with the datatype date.
    In my webdynpro program to insert the date i am following the below format.
    String dateString = "2006/12/10";
          java.util.Date d=new java.util.Date(dateString);
          java.sql.Date <b>date</b> = new java.sql.Date(d.getTime());
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,<b>REQDT</b>,ADVCE,ETADV,PURTR) values(21, '555-1212', '" + <b>date</b> + "', 5000, '20060501','hi')");
    when i try to execute it, it gives the following error.
    <b>com.sap.sql.log.OpenSQLException: The SQL statement "INSERT INTO "TRAVEL_HEADER" ("TRQID","PROJECTID","REQDT","ADVCE","ETADV","PURTR") VALUES (21,'555-1212','2006-12-10',5000,'20060501','hi')" contains the semantics error[s]: - type check error: new value (element number 3 (CHAR)) is not assignable to column  >>REQDT<< (DATE)</b>
    Please correct me.
    Your help will be appreciated.
    Regards,
    Sireesha.B

    Hi,
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,REQDT,ADVCE,ETADV,PURTR) values(21, '555-1212', 'date', 5000, '20060501','hi')");
    try like this.
    I Think in SQL the general format to take date as input like this.
    INSERT INTO X VALUES ('10/30/56')
    thaks,
    Lohi.

  • Pick Rendition button disabled when inserting image into Blog Post Body

    I have configured Image Renditions by enable BLOB caching on the web application and enable publishing features on a Blog site. When I insert an image to the Body field when editing a Post (EditPost.aspx), the Pick Rendition button is disabled. It works
    perfectly when adding an image to a Page Content area, but not for EditPost.aspx and NewPost.aspx. The image I am trying to insert DOES reside within the same site collection as the Blog site.
    Any ideas how to enable the Pick Renditions button?
    Dirk Prinsloo

    I think this is a bug as per this
    thread. (please review Andy G's reply).
    THosE wHo doN'T apPreCiATe LiFe, DOn't DeSerVe iT

  • Images used in ppt get lost when inserting them into captivate project

    I've been seeing this issue in both Captivate 3 and 4.
    Basically, I have successfully recorded a software demonstration, and wanted to add some powerpoint slides to the project. These slides include some diagrams containing graphics.  When I go to insert the slides into the project, the preview shows that some of the graphics are gone, and when I complete the operation, this is confirmed. Many of the graphics in my slides are now missing after the insert/import. I created the slides with office 2007, but saved them in 97/2003 format.
    This is frustrating to say the least, since these slides are an integral part of the demo I am trying to create.
    Any ideas on how to get this working?

    Hi there
    Sometimes we see that when you choose to import from PowerPoint it doesn't go so well and you don't end up with what you expect. One possible workaround involves launching PowerPoint and simply recording the desired slides using Captivate. Either that or simply grab screen captures of the slides as you wish to see them in Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to get best image quality when inserting PDF into Word?

    I am able to insert a PDF as an object into Word, but the image quality is slightly blurry.  Is there anything I can adjust to improve image clarity in Word?

    You can try to extract the images using Extract All Images or select the Settings on the save screen that you get when you save to a DOC, but I think the general result is that the image saves with the same resolution as contained in the PDF. It may be that you need to just adjust your screen in WORD. You might want to look at the image in WORD and see if it is being used at 100% or some other resolution. Bitmaps are not very forgiving if the resolution is changed for the document and does not like anything other than low number fractions of resolution display change.

  • Error Message When Inserting Data Into Table

    Hi,
    I am trying to insert the following value into my customer table, however i get the following error on doing so.
    ERROR: date format picture ends before converting entire input string
    STATEMENT:
    insert into phonecall (start_date_time)
    values(10-JAN-2006 11:53:09)
    any ideas as to what might be wrong with my insert statement to bring up this error ??
    start_date_time is a DATE field by the way.

    Or
    SQL> alter session set nls_date_format='DD-MM-YYYY HH24:MI:SS';
    Session altered.
    SQL> create table aa (test date)
      2  /
    Table created.
    SQL> insert into aa values ('11-12-2006 12:11:22')
      2  /
    1 row created.
    SQL> select * from aa ;
    TEST
    11-12-2006 12:11:22
    SQL>

Maybe you are looking for