This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Web Server - Ask For Help / Re: NT map: clickable markers does not work work on mobile
« on: April 01, 2025, 10:30:57 AM »
UPDATE.
Apart from being device specific, it also seems to be browser specific.
On the phone that is unresponsive using Chrome browser, the Firefox browser works just fine !
Strange....
Apart from being device specific, it also seems to be browser specific.
On the phone that is unresponsive using Chrome browser, the Firefox browser works just fine !
Strange....
2
Web Server - Ask For Help / Re: NT map: clickable markers does not work work on mobile
« on: April 01, 2025, 07:08:22 AM »
I have now tried a lot on two different phones.
On the first (Samsung A55) nothing happens with single or double tap.
On the other (Samsung A23), if I single tap once and then again on the same marker, it does open the update form.
And now I can consistently open a form by single click.
I have now also tested on an android tablet, and here it works as expected.
Tooltips are newer shown on any device.
On the unresponsive phone I cannot open a cluster of markers either.
So it seems, that this phone generally is less responsive to clicks. I have tried fiddling with the display settings, but nothing helps.
But it seems to be phone specific.
Have no Apple devices to test with.
On the first (Samsung A55) nothing happens with single or double tap.
On the other (Samsung A23), if I single tap once and then again on the same marker, it does open the update form.
And now I can consistently open a form by single click.
I have now also tested on an android tablet, and here it works as expected.
Tooltips are newer shown on any device.
On the unresponsive phone I cannot open a cluster of markers either.
So it seems, that this phone generally is less responsive to clicks. I have tried fiddling with the display settings, but nothing helps.
But it seems to be phone specific.
Have no Apple devices to test with.
3
Web Server - Ask For Help / NT map: clickable markers does not work work on mobile
« on: March 29, 2025, 02:22:57 AM »
Hi,
NT Maps (Esri - but that does not matter) have points/markers that when clicked opens an update form.
This works great on the PC, but nothing happens on the smartphone.
Any ideas?
tia
/Poul
NT Maps (Esri - but that does not matter) have points/markers that when clicked opens an update form.
This works great on the PC, but nothing happens on the smartphone.
Any ideas?
tia
/Poul
4
Web Server - Ask For Help / Re: Wrong encoding of text on maps
« on: March 29, 2025, 02:06:31 AM »
Just a minor issue:
Encoding is correct when you hover over a point/marker.
If you click the marker and go to the update form, when you the return to the map the encoding is wrong again on that marker. Tips on other markers are still good.
Encoding is correct when you hover over a point/marker.
If you click the marker and go to the update form, when you the return to the map the encoding is wrong again on that marker. Tips on other markers are still good.
5
Web Server - Ask For Help / Re: Wrong encoding of text on maps
« on: March 27, 2025, 12:05:18 PM »
Have now testet NT 14.30 - and this issue is resolved.
Thanks.
/Poul
Thanks.
/Poul
6
Web Server - Ask For Help / Re: NT Maps - update calling different table/record
« on: March 24, 2025, 12:00:46 AM »
Thanks Bruce,
Much simpler.....
And it works as suggested :-)
Any way I can detect in the final update form InitForm Routine how this is called.
It could be called from the browse or it could be called from the map, and the code in the InitForm would be different dependent on the calling procedure.
Just so I do not need to maintain two update forms.
Cheers
/Poul
Much simpler.....
And it works as suggested :-)
Any way I can detect in the final update form InitForm Routine how this is called.
It could be called from the browse or it could be called from the map, and the code in the InitForm would be different dependent on the calling procedure.
Just so I do not need to maintain two update forms.
Cheers
/Poul
7
Web Server - Ask For Help / Re: NT Maps - update calling different table/record
« on: March 19, 2025, 10:12:41 AM »
Hi Bruce,
Revised web76 demo app that shows this behaviour emailed.
Cheers
/Poul
Revised web76 demo app that shows this behaviour emailed.
Cheers
/Poul
8
Web Server - Ask For Help / Re: Wrong encoding of text on maps
« on: March 18, 2025, 01:24:33 PM »
Hi Bruce,
I have emailed an example app.
Cheers
/Poul
I have emailed an example app.
Cheers
/Poul
9
Web Server - Ask For Help / Re: NT Maps - update calling different table/record
« on: March 18, 2025, 04:19:38 AM »
I will do that, but the approach of having a second update form on the update form for the point record, is that a good approach?
/Poul
/Poul
10
Web Server - Ask For Help / Re: Wrong encoding of text on maps
« on: March 17, 2025, 06:46:14 AM »
Hi Bruce,
The points table are being filled from data in the job-card table:
lat/lon and the text shown is various data related to the job and the customer.
Cheers
/Poul
The points table are being filled from data in the job-card table:
lat/lon and the text shown is various data related to the job and the customer.
Cheers
/Poul
11
Web Server - Ask For Help / Re: NT Maps - update calling different table/record
« on: March 17, 2025, 12:11:39 AM »
Have now moved my code from embed SetFormSetting to AfterOpeningFiles, and now the code is called and the form seemingly opens with the correct record.
But I still get the Record Not Found error.
To track the executing order of the embeds in the job update procedure, I have placed debug strings. I notice, that when called from the browse the embeds are called twice as many times compared to being called from the map.
See the attached images.
But I still get the Record Not Found error.
To track the executing order of the embeds in the job update procedure, I have placed debug strings. I notice, that when called from the browse the embeds are called twice as many times compared to being called from the map.
See the attached images.
12
Web Server - Ask For Help / Re: NT Maps - update calling different table/record
« on: March 15, 2025, 11:14:15 AM »
Another attempt.
- Open the map points table update form when a point is clicked
- On that forms Set Form Settings embed lookup the job-card in question. Also setting the GUID for the job-card: p_web.SSV('MSagH:GUID', MSagH:GUID)
- Have the job-card update procedure as a field on this form.
The job-card update procedure opens with an error: Record not found.
I notice, that the Set Form Settings embed is NOT called on the job-card update procedure when called this way, but IS called when called normally from the job-card procedure.
Any suggestions?
/Poul
- Open the map points table update form when a point is clicked
- On that forms Set Form Settings embed lookup the job-card in question. Also setting the GUID for the job-card: p_web.SSV('MSagH:GUID', MSagH:GUID)
- Have the job-card update procedure as a field on this form.
The job-card update procedure opens with an error: Record not found.
I notice, that the Set Form Settings embed is NOT called on the job-card update procedure when called this way, but IS called when called normally from the job-card procedure.
Any suggestions?
/Poul
13
Web Server - Ask For Help / Re: Wrong encoding of text on maps
« on: March 15, 2025, 12:03:21 AM »
Found a workaround - not the final one I hope, because I change the Danish characters to double characters. Looks a bit nicer but still....
In the embed "Set Map Data Options" I change the characters using Stringtheory search/replace and then call:
p_web.SetOption(loc:options,'title',CLIP(Mmap:Tekst))
In the embed "Set Map Data Options" I change the characters using Stringtheory search/replace and then call:
p_web.SetOption(loc:options,'title',CLIP(Mmap:Tekst))
14
Web Server - Ask For Help / Wrong encoding of text on maps
« on: March 13, 2025, 12:10:59 AM »
Hi,
In Webserver procedure, Webserver settings, General I have this to correctly work with the tables in the database that is shared with a desktop app:
Charset: utf-8
Store data as: Scandinavian (windows 1252)
But on the map, the tooltip text is wrong. See attached image.
The table containing the points are dynamically filled, so I thought I could encode the textfield there, so it would show properly. But no luck so far.
Any ideas most welcome.
tia
/Poul
In Webserver procedure, Webserver settings, General I have this to correctly work with the tables in the database that is shared with a desktop app:
Charset: utf-8
Store data as: Scandinavian (windows 1252)
But on the map, the tooltip text is wrong. See attached image.
The table containing the points are dynamically filled, so I thought I could encode the textfield there, so it would show properly. But no luck so far.
Any ideas most welcome.
tia
/Poul
15
Web Server - Ask For Help / Re: NT Maps - update calling different table/record
« on: March 12, 2025, 01:06:19 PM »
Hi Alberto,
Thanks - I am aware of those settings, but I need to update the related record (job card) and not the record with the point.
Normally the code would be something like this:
I have made a Memory Form with above code in the Beginning of Procedure/ After opening files embed.
The UpdateMobsagH procedure is the only field on the Memory form.
The correct job record is located, but the form opens up empty.
I must be missing something.....
Or the approach using the Memory form like this is wrong ?
Thanks - I am aware of those settings, but I need to update the related record (job card) and not the record with the point.
Normally the code would be something like this:
Code: [Select]
!Load the map point record:
Access:MobHEREmap.ClearKey(Mmap:KeyGUID)
Mmap:GUID = p_web.GSV('Mmap:GUID')
IF Access:MobHEREmap.TryFetch(Mmap:KeyGUID)
!failed
ELSE
!Load the job-card record
Access:MobSagH.ClearKey(MSagH:KeyGUID)
MSagH:GUID = Mmap:ID
NOMEMO(MobSagH)
IF Access:MobSagH.TryFetch(MSagH:KeyGUID)
!failed
ELSE
!Set the GUID for the update procedure:
p_web.SSV('MSagH:GUID', MSagH:GUID)
END
END
I have made a Memory Form with above code in the Beginning of Procedure/ After opening files embed.
The UpdateMobsagH procedure is the only field on the Memory form.
The correct job record is located, but the form opens up empty.
I must be missing something.....
Or the approach using the Memory form like this is wrong ?