Add embedded commands in Navision report

IuliaPostoIuliaPosto Member Posts: 4
edited 2006-01-23 in Navision Attain
I need to send automatically a Navision 3.1 report by email , pdf format.
I use Zetadocs pdf product. I don't know how to add in the report an embedded command like %%[email:<<email address>>]
Can you help me please ??
Thanks a lot

Comments

  • krikikriki Member, Moderator Posts: 9,112
    Add somewhere in your report an extra field that you fill up with the value you need in case you print to a pdf-printer. Be also sure that if you print multiple pages, you only print the value once (=clearing the value after it has been printed once).
    The field may also be of fontsize=1. But it must be large enough to contain the complete value of the string.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • IuliaPostoIuliaPosto Member Posts: 4
    Thanks Kriki for your answer, but what do you mean by 'extra field'?

    I have added a text box in the header of my report(Source Expression=EmailAddr), filled it with the value : EmailAddr = '%%[email:john@ccrm.com]' in the Prereport trigger and .....nothing has happened .
    In the Zetadocs Document Explorer my text field looks like an ordinary text box with an ordinary value.
    Have you any idea where is the mistake

    Thanks a lot for your help.
  • krikikriki Member, Moderator Posts: 9,112
    IuliaPosto wrote:
    Thanks Kriki for your answer, but what do you mean by 'extra field'?

    I have added a text box in the header of my report(Source Expression=EmailAddr), filled it with the value : EmailAddr = '%%[email:john@ccrm.com]' in the Prereport trigger and .....nothing has happened .
    In the Zetadocs Document Explorer my text field looks like an ordinary text box with an ordinary value.
    Have you any idea where is the mistake

    Thanks a lot for your help.
    extra field=the text box with the email address.
    Try to put in the field :
    '%%[email:john@ccrm.com]%%' or
    '%%email:john@ccrm.com%%' or
    '%%[to:john@ccrm.com]%%' or
    '%%to:john@ccrm.com%%' or
    something like this.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • IuliaPostoIuliaPosto Member Posts: 4
    Kriki, unfortunatly it does not working. I have tried all types of addresses...may be I need to install a library or something else...

    Thanks .
  • krikikriki Member, Moderator Posts: 9,112
    Check in the manual what exactly you have to send. Maybe on the website is also an example. I have done something like this, but with pdfmailer and it works.
    @ instead of %% for example).
    Remember also:to test it, you need to print to the pdf-printer, not to a normal printer or use the preview (preview uses the default printer).
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.