This topic is locked
[SOLVED]

 Dialog API - Email

3/3/2020 3:09:14 AM
PHPRunner General questions
lefty author

I have a project that I had inserted a custom button - To email a page using the documentation HERE . It was working in the last build , Since

I downloaded new build the button stopped working. Upon debug , I get Javascript void(0) . And in Console log
I get error DevTools failed to parse SourceMap in the include/pdfmake/pdfmake.min.js.map
Not sure what happened. This was all working perfectly in past builds.
Help!

Anyone else using Dialog API and this is working or not working in new build? Just trying to see if it is on my end.

Admin 3/4/2020

It is not possible that the same code works in the previous build and doesn't work. You need to troubleshoot your code to get to the source of the issue.
In regards to the "error" you getting check this. This is a stupid feature Chrome added years ago:

https://stackoverflow.com/questions/36051891/esri-failed-to-parse-source-map

lefty author 3/4/2020



It is not possible that the same code works in the previous build and doesn't work. You need to troubleshoot your code to get to the source of the issue.
In regards to the "error" you getting check this. This is a stupid feature Chrome added years ago:

https://stackoverflo...arse-source-map


I had not changed anything. I added a print this page button next to it . That's it.

Anyway , In debug I get no error . I see it uses the print page for the file.
Deleted Old button and put in new button - no errors in developer mode that I can see , no dialog. I see it wants to use the print page to make the pdf and that works fine so don't know what else to debug.
The simple dialog example HERE works fine. I had the email dialog working a week ago. Only thing I added is a print this page button next to it. Then I downloaded new build on the 28th. Not sure what Happened and I do not see anything in the code , although the preview in developer has some strange % signs in it that don't make sense to me , I went to backup folder in project and all the backups are after March 1st, so I cannot even compare.

I guess I will just let this one go as I have already spent too much time on something that I really don't have to have , but it would have been a nice feature.
Thanks anyway. Will wait this one out. Will have to make a simple small one table project and upload to demo when I get time.

lefty author 4/7/2020



I had not changed anything. I added a print this page button next to it . That's it.

Anyway , In debug I get no error . I see it uses the print page for the file.
Deleted Old button and put in new button - no errors in developer mode that I can see , no dialog. I see it wants to use the print page to make the pdf and that works fine so don't know what else to debug.
The simple dialog example HERE works fine. I had the email dialog working a week ago. Only thing I added is a print this page button next to it. Then I downloaded new build on the 28th. Not sure what Happened and I do not see anything in the code , although the preview in developer has some strange % signs in it that don't make sense to me , I went to backup folder in project and all the backups are after March 1st, so I cannot even compare.

I guess I will just let this one go as I have already spent too much time on something that I really don't have to have , but it would have been a nice feature.
Thanks anyway. Will wait this one out. Will have to make a simple small one table project and upload to demo when I get time.


Works with 10.4 . Consider upgrading if you have this issue and cannot find in debug mode the issue. See This post also.