Help with email applications
Help with email applications
Hi,
Would it be possible for the function descriptions to be updated to reflect the latest version of DE8? Referring to your sample applications:
CRM uses the email client "send" which is documented, but the Emailing and PDF application seems to use a different function "SendEmail" which isn't documented. Which of the two email clients is the preferred one?
CRM also uses the function "GetFileName()" which isn't documented. We can see how it works but can't figure out all of the arguments.
There are further obstacles in trying to figure out how the Emailing and PDF sample application actually works.
The Send and PDF buttons make the following calls:
SetState("Send",4)
SetState("SavePDF",4)
On the face of it these seem OK but I can't seem to find the objects "Send" and "SavePDF" - where are they hidden please?
With just a little bit more help we can start to unlock the potential of these powerful new facilities.
Thanks,
Bill
Re:Help with email applications
Correction to my last post. The function SendEmail is documented on the main help page (posted on 21/11/14), but it doesn't appear with the list of functions which is why I couldn't find it. It will help massively when the promised documentation is ready since it will save a lot of hunting around and decyphering the sample applications.
Bill
Re:Re:Help with email applications
Hi Bill.
SendEmail and HTMLtoPDF aren't strictly speaking functions as they are External Programs called from Execute File rather than Execute Function/Derivation.
However this is very technical and it is better that people find the new functions than deliberating over the "correct" placement of them in the help ;-)
We have now changed the category for these so they will show up in the Function List.
GetFileName() is an old CDF. Strictly speaking this is a function that should have been handled internally in DataEase, but as the CDF works great we have simply included it in the template.
We never got around to include the CDF definitions in the help file as they are very rudimentary and a lot of the ones distributed/shared in the community has very little documentation but a well established user platform...
GetFileName() is one of these that is circulated without any documentation. Only documentation we have ever found on this is what is on Sapphires website and that documentation is in good "DataEase" tradition...
http://dataeaseuk.com/support/knowledge-base/dataease-7-2-articles/how-to-browse-for-files-on-your-computer
CDFs was a very popular route for the previous "regime" but we think that functions should be internal if they are of mainstream interest.
SetState("",4) is ClickObject and we had to use this hack to "force" DataEase to do things in the "agreed" order. Sometimes there is a problem with SaveRecord() and then performing actions on the form later if you try to execute them in a chain, so here we simply cheat by saving on one button and then clicking on another button.
Send and SavePDF are "invisible" buttons that should be found to the right of the buttons in the form. Just choose select all and you should see them.
Status for Buttons are on our list, so soon you will be able to list the codes of buttons too.
Re:Re:Re:Help with email applications
Very helpful, thanks. Finding those buttons was like the proverbial needle in a haystack.
Bill