Hello All,
I am trying to email a link using APPLICATION.openNewWindow(mailto:?subject=&body=">mailto:?subject=&body=);.Usually, there would be no issue using this as it is very straightforward.
However, I want to add a webi link containing a filter parameter to the end of the string (in the body of the email). The filter parameter requires there to be a question mark (?) at the end of the report link when passing parameters.
The question mark (?) in the report url is causing the body contents to also be included in the subject. For some reason it ignores the "&" parse between the end of the subject string and the begining of the body.
Example:
APPLICATION.openNewWindow("mailto:person@email.com?subject=Share "+APP_NAME.getText()+" Link&"+APPLICATION.openNewWindow("body=/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AddmyCUid&lsSentervarable="));
What I usually see from the above example is:
Email:person@email.com
subject:Share MYapplication Link&body=www.url.com/BOE/OpenDocument/opendoc/openDocument.jsp
The rest of the string (sIDType=CUID&iDocID=AddmyCUid&lsSentervarable=) dissapears.
Does anyone know of a workaround/solution for this?