Re: [mapguide-users] unable to logon Mapguide : ACE.dll failed

2017-02-07 Thread Hans Milling
I sometimes see this error if the repository is corrupt or if I moved the
repository from one server to another and the path where MapGuide was
installed is not 100% identical.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/unable-to-logon-Mapguide-ACE-dll-failed-tp5306170p5306864.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread RenoSun
I would think you should try to clean all the browsing data and history to
make sure the browser is using the latest propertyctrl.templ 

Also, don't use alert, but using console.log('abcd') maybe.

Try to use before and after the HtmlDecode.

for(var i=0; i < properties.length; i++)
   *console.log(properties[i].value);*
   *console.log(HtmlDecode(properties[i].value));*
code += '
' + properties[i].name + '' + 
HtmlDecode(properties[i].value) + '';





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306819.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-07 Thread Kajar
I have made lot of research related this issue I'm experiencing and found
that Studio is not breaking layout for react but issue is related to map
definition. When creating map with Studio and set map extent using "use
current map zoom to set these coordinates" and then use this  map and react
layout then layer is not fully visible. Even  if  layer in Studio map
preview seems fully visible is not correctly visible using react layout.
When you use same map which was previously  created by Studio and use
Maestro to create new extent for map and save the map, then layer is 
correctly visible using react layout.
So Studio map view extent generation causing some error for react layout.
I added also package I made for better understand the problem.
Some explanation using package:
Studio_map_false: this is map created with Studio and added extents for map.
Studio_map_true: this is fixed map( new extent for map) by Maestro.
Studio_flex_true: layout created with Studio using map
definition(Studio_map_true) which works with react.
Studio_flex_false: layout created with Studio using map
definition(Studio_map_false) which is causing faulty layer visibility with
react.
Studio_react_issue.mgp
  


Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5306817.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
When I use the code from the propertyctrl.txt file that is attached, I get no
properties at all.  The console shows no errors.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306782.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
Not a question really but a comment.

When I preview the data source, using "View Data" both in Maestro and
Infrastructure Studio, I see the link exactly as expected in those data
tables. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306778.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread RenoSun
Hi Gom,

I am using nvarchar(255) as the data type of my HTML hyperlink.

Here is the HTML hyperlink field looks like on our SQL Server 2008 R2:

  
 Property Report  

Also, maybe use target="_blank" in your hyperlink like mine, so the user can
see your PDF in the new window.

However, you can choose just store simple URL such as
"http://server/rest/data/PropertyReport/1003.html;, but you will have to add
codes in propertyctrl.templ.

Check if a Javascript string is a url

  

function ValidURL(str) {
  var pattern = new RegExp('^(https?:\/\/)?'+ // protocol
'((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|'+ // domain name
'((\d{1,3}\.){3}\d{1,3}))'+ // OR ip (v4) address
'(\:\d+)?(\/[-a-z\d%_.~+]*)*'+ // port and path
'(\?[;\d%_.~+=-]*)?'+ // query string
'(\#[-a-z\d_]*)?$','i'); // fragment locater
  if(!pattern.test(str)) {
alert("Please enter a valid URL.");
return false;
  } else {
return true;
  }
}

function generateHTMLLink(linkName,href)
{
  return " " + linkName+ " <\"">  "; 
}

Please see the example code here...
propertyctrl.txt
  


Cheers,
Reno



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306766.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-07 Thread gom
Reno,

Would it be possible to see the exact format of the url string from the
database, for the sample record you showed me?  I have copied and pasted the
string from my database table below.  That string always shows up as null in
my properties window.  I have tried this in SQLite and SQL Server 2008 R2.

All else being equal, I would expect that the problem must be how my string
is stored in SQL Server.

Thanks for all the great support.

Plan PDF   



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306745.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] new mapguide project on linux ubuntu

2017-02-07 Thread Sebastiao Francisco Rodrigues
Hi Gabriele,

Thank you very much for your response.
Let's try to recompile this libgdal in our environment and see if we get
better results in our test
Greetings,
Seba

-- Forwarded message --
From: Gabriele Monfardini 
Date: 2017-02-06 21:01 GMT-02:00
Subject: Re: [mapguide-users] new mapguide project on linux ubuntu
To: MapGuide Users Mail List 


Hi,


On Thu, Feb 2, 2017 at 2:14 PM, sebafr  wrote:

> We are conducting initial studies for a project with Mapguide on a ubuntu
> Linux. We have a project running linux 12 with 32 bits, mapguide 2.6 and
> Postgresql 9.1 and now we would like to update it all and the first
> scenario
> was to use linux 14 with 64 bits and Mapguide 3.1 and Postgresql 9.4.
> Our current provider only supports 64-bit linux (14 or 16) and did not
> succeed in the initial tests. Has anyone ever used similar architecture?
>


we're currently running maguide 3.0 on centos 6 both 32 and 64 bits.
We use OGR Provider with PostgreSQL 9.4/9.5/9.6.
We have recompiled libgdal to enable postgresql support.

Our setup works and is reasonably stable if load is not too high.

Best regards,

Gabriele

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-07 Thread Jackie Ng
I'd be interested in having a copy of the layout that Infr. Studio produced,
just to see what in it causes the viewer to break.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5306707.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Maestro 6.0M6 available

2017-02-07 Thread Jackie Ng
Logged: https://github.com/jumpinjackie/mapguide-maestro/issues/33

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MapGuide-Maestro-6-0M6-available-tp5306454p5306705.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users