<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6619.12">
<TITLE>Re: [fdo-users] New FDO Provider and using it in Map 3D</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Jason,<BR>
<BR>
I got a noitification from the server to make sure the email had not been posted by an automated process. This might explain why you didn't get it.<BR>
<BR>
You are right. This is specific to map and I'm not sure if it fit on the os site. But on the other side, it is valuable to anybody building provider and wanting to create custom dialog in map. <BR>
<BR>
It could be posted on autodesk site too or provided as a sample with Map.<BR>
<BR>
I'm open to suggestion.<BR>
RF<BR>
--------------------------<BR>
Sent from my BlackBerry - Please excuse typo and syntax.<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: fdo-users-bounces@lists.osgeo.org <fdo-users-bounces@lists.osgeo.org><BR>
To: FDO Users Mail List <fdo-users@lists.osgeo.org><BR>
Sent: Tue Sep 11 19:02:14 2007<BR>
Subject: RE: [fdo-users] New FDO Provider and using it in Map 3D<BR>
<BR>
Hmm. I didn't get Robert's message, probably because it contained an<BR>
attachment.<BR>
<BR>
Would it be reasonable to host this example on the download server? I<BR>
can definitely see other providers wanting to create custom connection<BR>
dialogues for use in Map and Studio. I'm not sure how well this fits<BR>
into the open source stream though, since you need some proprietary dlls<BR>
to compile against?<BR>
<BR>
Jason<BR>
<BR>
-----Original Message-----<BR>
From: fdo-users-bounces@lists.osgeo.org<BR>
[<A HREF="mailto:fdo-users-bounces@lists.osgeo.org">mailto:fdo-users-bounces@lists.osgeo.org</A>] On Behalf Of Greg Boone<BR>
Sent: Tuesday, September 11, 2007 15:52<BR>
To: FDO Users Mail List<BR>
Subject: RE: [fdo-users] New FDO Provider and using it in Map 3D<BR>
<BR>
Thanks Robert! This will help the community at large.<BR>
<BR>
Greg<BR>
<BR>
-----Original Message-----<BR>
From: fdo-users-bounces@lists.osgeo.org<BR>
[<A HREF="mailto:fdo-users-bounces@lists.osgeo.org">mailto:fdo-users-bounces@lists.osgeo.org</A>] On Behalf Of Robert Fortin<BR>
Sent: Tuesday, September 11, 2007 5:51 PM<BR>
To: FDO Users Mail List<BR>
Subject: RE: [fdo-users] New FDO Provider and using it in Map 3D<BR>
<BR>
Hi Piet!<BR>
<BR>
You could have expected the Map FDO Data Connect Dialog to look for the<BR>
properties IsPropertyFileName or IsPropertyFilePath from the<BR>
IPropertyDictionary interface to figure out if a connection property is<BR>
a file or a path and, base on that, show proper control to select either<BR>
a file or a path. But it is not the case! The default dialog that you<BR>
see doesn't make use of those properties. <BR>
<BR>
BUT There is a solution to your problem: define a custom connection<BR>
control specific to your provider that would show into the Data connect<BR>
dialog. It is documented in the document help/sdk.dev.net.gis.chm under<BR>
Map install path. Look for Data Connect and follow the instructions.<BR>
<BR>
To help you get started, I have attached a sample that work with the SDF<BR>
provider renamed to OSGeo.MYSDF.3.2. Just update the reference to the<BR>
FDO, Autodesk and Map dlls and build it. Then put the dll under<BR>
<Map>/Plugins/DataConnect. Edit the providers.xml file and change or<BR>
create a copy of the SDF info and change the name to<BR>
<Name>OSGeo.MYSDF.3.2</Name>.<BR>
<BR>
After that, when you start Map, a special UI will let you pick the name<BR>
of an SDF file by selecting the MYSDF provider.<BR>
<BR>
Hope it helps.<BR>
<BR>
RF<BR>
_______________________________________________<BR>
fdo-users mailing list<BR>
fdo-users@lists.osgeo.org<BR>
<A HREF="http://lists.osgeo.org/mailman/listinfo/fdo-users">http://lists.osgeo.org/mailman/listinfo/fdo-users</A><BR>
</FONT>
</P>
</BODY>
</HTML>