Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2014, 03:28 AM
cliveB cliveB is offline mailmerge using remote xml Windows Vista mailmerge using remote xml Office 2013
Novice
mailmerge using remote xml
 
Join Date: Apr 2014
Posts: 2
cliveB is on a distinguished road
Default mailmerge using remote xml

I am trying to mailmerge using an external (web based) xml source.
I am using


objWordDoc.MailMerge.OpenDataSource("http://myservername/mailmerge/getdata.php", 'wdOpenFormatXML');
The test program getdata.php returns a valid XML file.

I know that in early threads, this was not possible, but thought that as the years had progressed, so might the interface.

Is there a way of reading remote XML (or CSV for that matter) files and using them in mailmerge?

Any help would be appreciated.
Reply With Quote
  #2  
Old 04-16-2014, 03:36 AM
macropod's Avatar
macropod macropod is offline mailmerge using remote xml Windows 7 32bit mailmerge using remote xml Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Since you're using code, why not simply copy the files to a local folder and use them from there? http://myservername/mailmerge/getdata.php is not a reference to an XML-format file - it's a php reference. The php reference can probably be processed via an IE automation; otherwise, you should use the link to the actual file.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-16-2014, 06:17 AM
cliveB cliveB is offline mailmerge using remote xml Windows Vista mailmerge using remote xml Office 2013
Novice
mailmerge using remote xml
 
Join Date: Apr 2014
Posts: 2
cliveB is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Since you're using code, why not simply copy the files to a local folder and use them from there? http://myservername/mailmerge/getdata.php is not a reference to an XML-format file - it's a php reference. The php reference can probably be processed via an IE automation; otherwise, you should use the link to the actual file.
The php file DOES create an XML file format output and will control the security access to the data. I do not want to give users FTP or other forms of access to the data.

In 2014 it seemed a reasonable request to be able to mailmerge centrally controlled data into a local word document at the click of a button.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Powerpoint 2010 and a Remote The Fatman PowerPoint 0 03-11-2014 07:46 PM
mailmerge using remote xml Hyperlink from PowerPoint to destination in remote PDF joeldodenhoff PowerPoint 2 04-18-2013 02:01 PM
mailmerge using remote xml Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
mailmerge using remote xml Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
mailmerge using remote xml PowerPoint Remote Control ggh77 PowerPoint 2 04-16-2010 03:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft