0

Is there a way to combine 2 print layouts?

I have the follwing formula in a button, which sends a copy of a template i need to the client. However is there a way of getting the 'letter' template to send with one of the 'sections' or a way of combining it before sending as part of the formula, any information would be much appreciated. Thank you.

let result := dialog("Sending Your Quotation...", "You are sending this quotation to : " + 'Client Contact'.'First Name' + " " + 'Client Contact'.Surname + " of " + Client.'Client Name' + " at the following address (" + 'Client Contact'.'Email Address' + " ), do you wish to send it?", ["Send", "Cancel"]);
let myEmail := userEmail();
let ClientEmail := Client.'General Email Address';
let myName := 'Quotation No' + " - Tritec Quote -" + Project.'Street Address' + ", " + Project.'Town / City' + ", " + Project.County + ", " + Project.'Post Code' + ".pdf";
let s2 := if 'Show S2' then "1" else "0" end;
let s3 := if 'Show S3' then "1" else "0" end;
let s4 := if 'Show S4' then "1" else "0" end;
let x := s2 + s3 + s4;
let p := if x = "100" then
"2Section"
else
if x = "110" then
"3Section"
else
if x = "111" then "4Section" else "1Section" end
end
end;
if result = "Send" then
let Printlayout := p;
if result = "Send" then
importFile(this, printAndSaveRecord(this, Printlayout), myName);
sendEmail({
from: myEmail,
to: ClientEmail,
subject: myName,
text: "Some text",
html: 'Email Signature',
attachments: file(this, myName)
}) + alert("Quotation Sent to " + 'Client Contact'.'Email Address')
end
end

 

Screenshot 2020-04-14 at 10.21.05Screenshot 2020-04-14 at 10.28.26

5 replies

null
    • Terry_Prokopchuk
    • 4 yrs ago
    • Reported - view

    Hi All, anychance that anyone knows of a solution for this please. Thank you.

    • Terry_Prokopchuk
    • 4 yrs ago
    • Reported - view

    Anyone........ any ideas, suggestions. Really stuck on this one.

    • Terry_Prokopchuk
    • 4 yrs ago
    • Reported - view

    I am assuming this is'nt possible due to the major swerve that this post is recieving! would be nice to know if a page break or a way of combining print layouts isnt possible may save me time on trying to find a solution.

    • Sean
    • 4 yrs ago
    • Reported - view

    I would send an email to Ninox support directly or join one of their webinars at this point.

    • Terry_Prokopchuk
    • 4 yrs ago
    • Reported - view

    I have now found out this this is not possible within Ninox and the suggestion was to use a pdf merger, well thats an obvious solution if i wasnt building something to automate this fuctions! - Massive disapointment and remodeling required!

    So my next question is there a formula / script that will allow me to save mulitpul page layouts  (lets say up to 3)and send them all as an attachment under one email?

    Any help would be much appracited.

Content aside

  • 4 yrs agoLast active
  • 5Replies
  • 1082Views