on 03-27-2016 7:03 PM
I've developed a Java program to schedule and re-schedule reports. Some of these use Business Objects to email files to recipients. There doesn't seem to be the ability to name the attached file, which tends to get named the same as the Instance with a random numeric string concatenated to the name. The XSD schema in note 1899352 seems to confirm this, or am I missing something?
Is it possible to name the attached file with a chosen name (mimicking the "Use Specific File Name" box in regular BOXI scheduling) or does is these currently not possible?
I want the file name to be of the form - reportnameYYYY-MM-dd-HH-mm.ss.pdf
Hi Paul,
Yes, you can use a specific name. Search for "useSepcificName" in the documentation (Section 6.8)
the syntax would be:
<schedule>
<name>A PDF report</name>
<format type="pdf"/>
<destination>
<useSpecificName>myreportYYYY-MM-dd-HH-mm.ss.pdf </useSpecificName>
<mail>
<from>somebody@company.com</from>
<to>paul@xyz.co.uk;paul@xyz.co.uk</to>
...
there is also an optional attribute to specify the file extension, which defaults to "true".
<useSpecificName fileExtension="true">myreport.pdf </useSpecificName>
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
You'll need the Webi RESTful guide for this information.
Dan
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.