Currently, when displaying (downloading) my .xpt bipublisher report as a .xlsx, my only sheet's name is Sheet1. I would like to rename it.
I know you can create xls templates directly and simply rename the sheet, but I'd need to recreate the whole report...
For RTF templates, you can specify a spreadsheet-sheet-name command.
This is from the Oracle Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher - 11g Release 1 (11.1.1) regarding RTF templates:
<?spreadsheet-sheet-name: xpath-expression?>
Where xpath-expression is an XPath expression or a string constant.
The example given is:
<?spreadsheet-sheet-name: {concat(.//YEAR, ' ',.//STATE)}?>
(The guide for 12.2.1 has the same; I do know know about anything prior to 11.1.1.)
Using a RTF you can actually created multi-sheet excel file and also you can rename the sheet. In order to create multiple sheet you need the following instruction:
<?split-by-page-break:?>
And before that instruction you need you use this one:
<?spreadsheet-sheet-name: xpath-expression?>
Next some examples:
<?spreadsheet-sheet-name: {concat(.//name, '')}?> --> It concatenates
<?spreadsheet-sheet-name: {.//name}?> --> It only use the XML field
<?spreadsheet-sheet-name: {normalize-space(upper-case(.//name))}?> --> It applied a trim and upper functions
In my case in my XML data file, i have this field called "name" in a third level:
<sales>
<division>
<name>Groceries</name>
<year>2014</year>
<totalsales>3810</totalsales>
<costofsales>2100</costofsales>
</division>
<division>
...
Related
When I use scholar.google.com to get the full reference code (BibTeX) such as
#article{li2018design,
title={Design and implementation of building structure monitoring system based on radio frequency identification (RFID)},
author={Li, Hongwei and Ren, Yilei},
journal={International Journal of RF Technologies},
volume={9},
number={1-2},
pages={37--49},
year={2018},
publisher={IOS Press}
}
Then go to the journal template file, I want to copy the reference from scholar.google.com and paste it into the LaTex journal template file without doing any modification.
The template file looks like this:
Unfortunately, the paste in the template file does NOT work.
Here is the error message:
Can you assist of how to do it and make the file work correctly?
The format given by Google scholar has to be used when you compile, in order, with
Latex (or PDFLatex)
Bibtex
Latex (or PDFLatex)
Latex (or PDFLatex)
where you store the entries of your bibliography in a separate file named <mydoc>.bib.
You are simply using \thebibliography environment, which allows you to write \bibitems, which is a simpler approach (even if I suggest to use it when you have a small number of bibliography entries). If you have to use this latter approach, you have to rewrite the reference retrieved in Google scholar in the format needed by your document.
Have a look here: it explains very well the differences.
This is a cross-poss from the Atlassian Jira forum
I am migrating issues from one Jira instance (the source) to another Jira instance (the destination).
I cannot use the Project Configurator add-on since the source & destination versions are different.
I am exporting issues to a CSV and then importing the CSV to the destination.
I have several multi-line text fields in which the data contains newlines.
The CSV is created correctly (the data in the columns is enclosed in double quotes to protect the embedded CR/LF).
See the Jira reference
However, after the successful import via CSV to the destination Jira, the CR/LF are gone and the text field contains all lines concatenated.
The source field:
MyValue-1
MyValue-2
MyValue-3
Date in the export/import CSV:
"MyValue-1<CR><LF>
MyValue-2<CR><LF>
MyValue-3<CR><LF>
"
Destination field:
MyValue-1MyValue2MyValue-3
Am I doing something wrong here?
There is another ADD-on called Configuration Manager (Botron) its on market place. The add-on is helpful. May be you can give a try.
Thanks
I reached out to Atlassian support and they came back with the answer that it's a known bug:
https://jira.atlassian.com/browse/JRASERVER-46365
In the bug description they suggest 2 workarounds. I checked the 1st one and it works!
I am generating reports with Oracle BI Publisher 11.1.1.6. All generated report's file names (excel, word, pdf) are "xdo" (eg. xdo.doc). How can I change report file name to other value? (I mean Report, not Report job).
In simpler words, I click to generate a report, a file xdo.doc is downloaded. I want that file name to be, for example, kitten.doc.
Thank you.
Create the report template as kitten.doc and upload it on Create layout screen. Use the new template as the template. Now when you click to generate the report it should be named as the template. Hoever, If you schedule the report to run and email itself, you can provide a different name in the attachment name field.
The problem was that my report name contained Lithuanian letters (ą, č, ę, etc.). When I removed them from report name, the files generated by that report where report name_layout name as Annjawn said, but not xdo.* like before.
'Spanish (Chile)' LOCALE,
'PDF' OUTPUT_FORMAT,
table.description OUTPUT_NAME, ------ here name file output!
'EMAIL' DEL_CHANNEL,
I defined aliases for the fields to provide friendly names in the template edition. The problem is that these friendly names are localized and FastReport saves the template with the Aliases, not the Field Names! That doesn't seem very clever.
If I take a template that was created in language A and try to use it with language B, it raises a lot of errors because the fields are not found anymore. Or worse, if someone decides that one particular translation isn't good and change it, that field won't be found anymore.
Is there a way to have friendly names for the fields without substituting the field names of the template that will be saved?
Since FastReports saves all its report templates as XML files, it could be that the easiest way to accomplish what you want to do is write a routine that will read the FastReport XML file and iterate through all of the TfrxMemoView nodes changing the Text attribute to the friendly local name.
I have a database which I want to export as an iOS compatible PLIST.
The work around I have come up with is to create a calculated field which adds the tagged padding and header and creates a report using these fields. I then export the preview of the report as a PDF, open the PDF in Acrobat Reader, select all text, copy and paste into XCode which recognises the PLIST format and all works as expected.
Is there a better way of doing this? (This seems a really convoluted way of doing things, high chance of error, etc.) The Export as XML option looks promising but I can't seem to join the dots.
Two ways that I can think of to do what you're trying to do. The most elegant way is probably the XML with XSLT export which you suggest. If you don't already know XSLT, though, you might try the following -- it sounds like with the calculated XML line you've already created, like this would be a simple change to your database:
Create a single new global field, say outputXML
Create a script, say plistCreator
In the plistCreator script:
Set outputXML to ""
Go to the first record you want to export
Loop through every record putting your calculated XML line into outputXML (set field outputXML to outputXML & ¶ & calculatedXMLLine)
Go to next record, exit after last
Export Field Contents (note that this is a different command than Export) for outputXML
The cleanest solution is to use the export XML with an XSLT for transforming the output. You'll need to know a little XSLT to do this, or at least be able to customize the examples from FileMaker.