M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Super Contributor
Posts: 329
Registered: ‎03-10-2016
Accepted Solution

MAE Mobile App: Changes not synchronized

[ Edited ]

Hi there,


I have trouble with the sync of changes in my mobile app.


Short briefing:

  • mobile app for capturing and editing features
  • capturing works fine, new captured features are synchronized fine
  • when editing an existing feature, synronizing does not work. Edits are not saved in database

Additional information:

  • this thread belongs to an existing ticket (Ticket No 48657)
  • I am using postgres/postgis databases

I know that other mobile users had similar problems with the sync on MS SQL databases and the problem was solved by changing a datatype field.


Had anyone here similar problems on a postgres-environment?


We are using definitions out of the official tutorials found here: https://community.hexagongeospatial.com/t5/M-App-Enterprise-Tutorials/How-to-setup-a-Mobile-App/ta-p... & https://community.hexagongeospatial.com/t5/M-App-Enterprise-Tutorials/How-to-setup-a-Mobile-App-Part...


If someone is interested for futher investigation:


This is the CREATE script of my table:

CREATE TABLE public.locations
    id character(36) COLLATE pg_catalog."default" NOT NULL,
    name character varying(100) COLLATE pg_catalog."default" NOT NULL,
    description text COLLATE pg_catalog."default",
    lastupdatetime timestamp without time zone,
    geometry geometry(Point),
    CONSTRAINT locations_pkey PRIMARY KEY (id)
TABLESPACE pg_default;

ALTER TABLE public.locations
    OWNER to postgres;

This is the definiton of the Shell.xaml:

<?xml version="1.0" encoding="utf-8" ?>
<Shell xmlns="http://schemas.snapworx.at/appshell/2016/xaml"
        <Entity Id="Locations" Table="locations" Key="id" SyncType="Automatic" RevisionField="lastupdatetime">
			<Field Name="id" Type="Guid" IsRequired="True" />
			<Field Name="name" Type="String" IsRequired="True" MaxLength="100" />
			<Field Name="description" Type="String" />
			<Field Name="lastupdatetime" Type="Timestamp" />
            <Field Name="geometry" Type="Geometry" />
        <MasterDetail Id="MainShell">
                <Menu Id="Menu" View="Menu" HasIcon="True" />
                <Navigation Id="LocationNavigation">
                    <List Id="LocationList" Title="Locations" View="LocationList" Entity="{x:Reference Locations}">
                        <Form Id="LocationForm" Title="Location" View="LocationForm" Entity="{x:Reference Locations}" Target="LocationList" />
				<Navigation Id="MapNavigation">
                    <NativeMap Id="NativeMap" Title="Map" Center="40.6239644;-74.00624" View="NativeMap" ZoomLevel="14" MapType="Roads"/>

Any help is greatly appreciated!





GAUSS Ingenieurtechnik GmbH | Germany
Posts: 105
Registered: ‎10-25-2016

Re: MAE Mobile App: Changes not synchronized

Hi Stefan,


that is most probably because WebDAV is installed on your server, which intercepts PUT and DELETE requests. Can you check if that feature is activated in server manager (under Web Server IIS)? 




Super Contributor
Posts: 329
Registered: ‎03-10-2016

Re: MAE Mobile App: Changes not synchronized

Hi Christian,


this feature is not enabled, I checked it on my server:






GAUSS Ingenieurtechnik GmbH | Germany
Super Contributor
Posts: 329
Registered: ‎03-10-2016

Re: MAE Mobile App: Changes not synchronized

The solution:


PUT and DELETE requests were blocked through firewall (SOPHOS)!


Now it works fine Smiley Happy


Credits to @sclow  and @cschwarz for your help!

GAUSS Ingenieurtechnik GmbH | Germany