none
Why is one hyperlink url not seen by PPT? RRS feed

  • Question

  • Hi all;

    Please take a look at ATE-2253.pptx. It has 2 hyperlinks in it:

    	<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="wrdp://%3cwr:out%20datasource='XML'/%3e" TargetMode="External"/>
    	<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="wrdp://%3cwr:out%20select='/windward-studios/Employees/Employee/@EmployeeID'%20nickname='%5bEmployeeID%5d'%20datasource='XML'/%3e" TargetMode="External"/>
    

    However, PowerPoint does not see the url in rId2. Why not?

    thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Friday, April 19, 2019 8:37 PM

Answers

  • So from what I'm gathering, it sounds like the issue is initiating when your add-in drops the db "link" on the slide. Would this be something that involves automation calls from your add-in? If so, is it possible that this could be caught during that process? Perhaps the VSTO or automation support folks would have a better grasp on what is happening here? 

    We have a forum here: 

    https://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev

    Tom

    • Marked as answer by DavidThi808 Thursday, May 9, 2019 3:42 PM
    Thursday, May 9, 2019 3:36 PM
    Moderator

All replies

  • Hi Dave:

    I have alerted the open specifications team regarding your inquiry. A member of the team will be in touch soon.


    Regards, Obaid Farooqi

    Saturday, April 20, 2019 7:41 AM
    Owner
  • Hi Dave, 

    thanks for the question, I'll take a look and get back to you.

     
    Best regards,
    Tom Jebo 
    Sr Escalation Engineer
    Microsoft Open Specifications Support
    Monday, April 22, 2019 3:09 AM
    Moderator
  • Dave, 

    When I load this sample presentation (ATE-2253.pptx) into PowerPoint (version 16.0 C2R) I see both links and can navigate to them (or at least PowerPoint will display them in the navigation security warning: 

    Both URLs seem to be exactly what is found in the rId2 and rId3 relationship targets. 

    Are you using a different version of PowerPoint? What do you see?

    Tom

    • Marked as answer by DavidThi808 Tuesday, April 23, 2019 2:55 PM
    • Unmarked as answer by DavidThi808 Wednesday, May 8, 2019 10:07 PM
    Tuesday, April 23, 2019 12:38 AM
    Moderator
  • Hi Tom;

    I swear, I swear, I swear - it was not working for me. But I just tried it again - and it does. Clearly I did something wrong but it is good now.

    thanks & sorry for the wasted time - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Tuesday, April 23, 2019 2:55 PM
  • Hi Dave, 

    It's ok. :) If you eventually see it failing again, we'll check it out. 

    Tom

    Tuesday, April 23, 2019 6:01 PM
    Moderator
  • Hi Tom;

    Ok, I've got a repeatable case. But not one that makes it easy. Take a look at https://www.screencast.com/t/9qE03yRv89Qg

    When creating it, not a link. Save and open the file, it is a link. Is it possible that PowerPoint doesn't pay attention to URIs that are not standard when inserting them?

    ??? - thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Wednesday, May 8, 2019 10:09 PM
  • I watched the screencast. Looking at the first document you shared in this thread, I think you need to send me a new one. The first document has both links already established and it looks like the screencast shows one where the link doesn't exist yet. 

    Can you share the diff between the relationships freshly modified by Windward and the after-Save version? There probably are going to be some restrictions on that URL/URI but without seeing what is used initially, I can't say for sure what the problem is. If we can modify a pptx slide rels part to have the offending relationship intact with opening with PowerPoint, I can also debug it to see what is changing.

    In ISO 29500-2, we say about External references in relationships:

    "When set to External, the Target attribute can be a relative reference or a URI. If the Target attribute is a relative reference, then that reference is interpreted relative to the location of the package."

    Tom

    Wednesday, May 8, 2019 11:11 PM
    Moderator
  • Hi Tom;

    The file is here - southwind.pptx. But I don't think this helps much. In the video that is the same file that I drag/drop to create the link (but isn't a link) and I then save and open this file.

    This is likely a PowerPoint bug not a PPTX bug, unless there's a change in the syntax I use for the url that would fix this. If it is a PowerPoint bug, do I then ask about this using one of oue MSDN incident queries?

    thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Thursday, May 9, 2019 3:27 PM
  • So from what I'm gathering, it sounds like the issue is initiating when your add-in drops the db "link" on the slide. Would this be something that involves automation calls from your add-in? If so, is it possible that this could be caught during that process? Perhaps the VSTO or automation support folks would have a better grasp on what is happening here? 

    We have a forum here: 

    https://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev

    Tom

    • Marked as answer by DavidThi808 Thursday, May 9, 2019 3:42 PM
    Thursday, May 9, 2019 3:36 PM
    Moderator
  • Hi Tom;

    Yeah, I think it is in that. I'll do a MSDN ticket because I don't think this is something others have hit.

    thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Thursday, May 9, 2019 3:42 PM
  • Ok, thanks Dave. If you eventually find out that it's something in the PresentationML format, then we'll dig further. 

    Tom

    Thursday, May 9, 2019 3:47 PM
    Moderator