Exporting ADF Table Headers to an EXCEL sheet
Hello,
We have an adf table (Jdev10.1.3g). We need to export the Headers of the table to an excel sheet. I have hold on the headers and can put it in an array/arrayList. Basically, I need help with how to browse to the file where user wants to store the table headers._ I think once we can browse to the file location, we can use the POI HSSF API as we have for the task below. Any code examples are welcome.
We are already SUCCESSFULLY uploading the contents of the excel sheet (using <af:inputFile> tag) and writing the contents to adf table. Lucas Jellema's article and code example was very helpful.
Thanks,
Hi,
this thread is duplicate of this.... Exporting ADF table Headers to Excel
Please be patience untill the reply comes.... dont duplicate the thread its meaningless
Regards,
Suganth.G
Similar Messages
-
Export Multiple tables into a single Excel Sheet
We have a use case where we need to export multiple tables into an excel sheet. The exportCollectionActionListener only allows one table (which is provided in the exportedId attribute) to be exported into Excel. So is there a method provided by adf to export more that one table into excel ?
dvohra,
I need to export multiple tables into a single excel sheet. These links only show how to export a single table to an excel sheet.
I have tried out this : http://iadvise.blogspot.com/2007/04/export-adf-table-to-excel.html. But i am not getting the popup to save the file. So i can't find out where the file got created. -
How to Export Table Data to a excel sheet using OPENROWSET
Hi Team,
I would like to Export table data to a excel sheet by using "OPENROWSET" command in SQL Server but I am getting the
below error message
Column name or number of supplied values does not match table definition.
Please help me on how to export the table data to an excel sheet by using "OPENROWSET" in SQL ServerI know this is old so I assume you've fixed this. However, for anyone else looking at this forum, I'd recommend using a union or a table join.
Select a.1, a.2, a.3 from a <where clause>
union
Select b.1, b.2, b.3 from b <where clause>
or
use a type of join.
If both table selects return the same number of columns but different data just reference them as a variable like fred, and Ted
Select fred.1, fred.2, fred.3 from (Select a.1, a.2, a.3 from a) fred
union
Select Ted.1, Ted.2, Ted.3 from (Select b.1, b.2, b.3 from b) Ted
or again some type of join of these two sets
Select * from
(Select a.1, a.2, a.3 from a) a
INNER JOIN (Select b.1, b.2, b.3 from b) b ON b.1 = a.1
This would give you 6 columns of data a1-3, and b1-3
We don't know from your description what format your spreadsheet is in. These just give you the idea. Think of the sub-selects as a Table. It's just named "fred". Once your select holds all the data you need, then export the data to the spreadsheet. Use
the horsepower of the database before trying to do a multple update of the same spreadsheet.
Does this give you enough to fix what you were trying to do? -
Hi All,
Does anybody know how to export adf table records to excel sheet without using DCIteratorBinding.Hi Frank,
Thanks for your suggestion.in the below method
public void exportToExcel(ActionEvent actionEvent) throws
IOException {
FacesContext facesContext = FacesContext.getCurrentInstance();
Application application = facesContext.getApplication();
// BindingContainer bindings = this.getCustomers();
ValueBinding customerListBind =
application.createValueBinding("#{CustomerViewBean}");
customerView customer =
(customerView)customerListBind.getValue(facesContext);
customer.exportHtmlTableToExcel();
in this method i need to send CustomerViewBean to the exportHtmlTableToExcel method. -
Hi All,
Does anybody knows how to write ADF Table records into pdf?
Thanks in advanceHi user535777,
Some ideas:
http://technology.amis.nl/blog/?p=514
http://iadvise.blogspot.com/2007/04/export-adf-table-to-excel.html
http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel
Hope it helps,
Regards,
Tif -
Problem while exporting ADF table to excel
Hello,
I have some columns of random size which are left padded with 0.
now the problem comes when I export the table containing these columns to excel, excel remove all those zeros from left.
eg: 000000003726819563(table column value) after exporting to excel shows as 3726819563.
Along with this I also want the footer part of table in excel.
For some of the columns I have summary filed(i.e. sum) at the footer of the table which I want to show in excel.
Can someone please guide me through these issues.
Thanks in advance.Take a look at this: http://adfreusablecode.blogspot.com/2012/07/export-to-excel-with-styles.html
With this code you can export the footer: http://dl.dropbox.com/u/22312971/adf-samples/ExportToExcelDemo/ViewController/src/view/ExcelBean.java
Here is the entire demo project: http://dl.dropbox.com/u/22312971/adf-samples/ExportToExcelDemo.zip
I a few days I will update the above post.
Hope this help.
AP -
Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
Hi experts,
I am trying to implement the functionality of downloading the contents of a webdynpro screen to excel sheet. In order to implement the functionality of excel download i used the following blog.
[/people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache ]
In this blog they have used javaexcel api to implement the excel functionality. I face some problems
while implementing it.
i) The use of "Label label = new Label(0, 2, "A label record");
sheet.addCell(label); " is not supported. It says that a constructor for label with
(int, int, str) parameter is not available.
ii) Then i implemented it with "Label label = new Label("A label record"); " Then i deployed it. I got a runtime exception saying that " java.lang.ClassNotFoundException: jxl.format.CellFormat ".
This cellFormat is an interface available in the jar. I am using jexcelapi_2_6_9_1.4 version. Do i have to
download some other versions.
Please help. Thanks in advance.
Regards
RamananHi,
Please check the following steps while creating External Library DC:
1) creating an Extneral library DC
2) import the JARs to the libraries folder of the External Library DC project
3) Right-click on each of the JARs imported to the project and add them to the public part.
This DC is now ready to be used as a build-time reference that will allow CBS to build the "main" Web Dynpro application that will use the external libraries. Next, we have to create a new Web Dynpro DC to hold the class files here are the steps:
1) Create a new Web Dynpro DC
2) Create a new public part, selecting the "Can be packaged into other build results" option
3) Rename the JARs as Zip files and extrct the full content (folders and class files) to your root folder
4) Import the folders and files to the src/packages folder
5) Expand the public part node that was created and select the "Entities" node, right-click it and choose Edit
6) In the Entity Type list select the "Folder" option then in the selected entities tree pick each of the folders that you imported in step 5 (above)
7) Now do a DC build and a DC deploy of the project
Then check-in, activate, and release any activities you have associated with creating these two projects. In the DC perspective, refresh the Active DCs and Inactive DCs to ensure that both new DCs appear in the Active list. Now we have to setup the references to these DCs in our main Web Dynpro application. To do this, follow these steps:
1) Open the Web Dynpro perspective and right click the Used DCs node then choose "Add Used DC.."
2) Pick the public part of the External Library DC that we created (first) and set it to have a Build Time dependency
3) Again, right click the Used DCs node and choose "Add Used DC.." then choose the public part of the Web Dynpro DC that we created and give it a Run Time dependecy (weak) and click finish.
4) Now, due to what I think is a bug. You must right click on the Web Dynpro "used DC" that you just added in the previous step, and set the run time dependency again (it seems to revert to the default values for some reason)
5) Now do a DC build and a DC deploy on the "main" web dynpro application.
6) Check-in, activate, and release any activities associated with adding these references and then others on your team may use the classes in the external libraries within the Web Dynpro project.
Regards.
Rajat -
Has anyone tried to export an ALV Tree to an excel sheet?
Hi "gurus",
I've been looking for a way of exporting a printed report in an ALV tree to an Excel sheet.
Has someone done this before?
NOTE: I am studying the Office Integration, which I believe it can be a way of making SAP generates it via ABAP objects.
Thanks and Regards,
Daniel Carvalho
Edited by: Daniel Carvalho on Feb 28, 2008 11:40 PM(Add a Button function in the ON Toolbar such as EXCEL and set event handlers).
METHOD on_user_command.
break-point 2.
CASE e_ucomm.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'EXCEL'.
CALL METHOD me->download_to_excel.
WHEN 'SAVE'.
WHEN 'PROC'.
CALL METHOD me->process.
WHEN 'REFR'.
CALL METHOD me->refresh.
ENDCASE.
endmethod.
METHOD on_toolbar.
CLEAR ls_toolbar.
MOVE 0 TO ls_toolbar-butn_TYPE.
MOVE 'EXCEL' TO ls_toolbar-function.
MOVE SPACE TO ls_toolbar-disabled.
MOVE icon_xxl TO ls_toolbar-icon.
MOVE 'Excel' TO ls_toolbar-quickinfo.
MOVE 'EXCEL' TO ls_toolbar-text.
APPEND ls_toolbar TO e_object->mt_toolbar.
endmethod.
METHOD download_to_excel.
field-symbols:
<fs0> TYPE standard table,
<fs1> TYPE standard table.
assign g_outtab1->* to <fs0>.
assign g_fldcat1->* to <fs1>.
break-point 5.
CALL FUNCTION 'LVC_TRANSFER_TO_KKBLO'
EXPORTING
it_fieldcat_lvc = <fs1>
* is_layout_lvc = m_cl_variant->ms_layout
is_tech_complete = ' '
IMPORTING
es_layout_kkblo = ls_layout
et_fieldcat_kkblo = lt_fieldcat.
LOOP AT lt_fieldcat INTO lt_fieldcat_wa.
CLEAR lt_fieldcat_wa-tech_complete.
IF lt_fieldcat_wa-tabname IS initial.
lt_fieldcat_wa-tabname = '1'.
MODIFY lt_fieldcat FROM lt_fieldcat_wa.
ENDIF.
l_tabname = lt_fieldcat_wa-tabname.
ENDLOOP.
CALL FUNCTION 'ALV_XXL_CALL'
EXPORTING
i_tabname = l_tabname
is_layout = ls_layout
it_fieldcat = lt_fieldcat
i_title = sy-title
TABLES
it_outtab = <fs0>
EXCEPTIONS
fatal_error = 1
no_display_possible = 2
others = 3.
IF sy-subrc <> 0.
message id sy-msgid TYPE 'S' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDMETHOD.
Your original table that goes to the grid is parameter g_outtab1
the field catalog is g_fldcat1.
These need to be converted to kkblo format to use the XXL function module.
The advantage of this method is that you get an EXCEL spreadsheet interactively.
(Of course the standard export function will still work).
Cheers
Jimbo -
How to export the data as integer into excel sheet?
Hi All,
I am working on export to excel functionality and using JEXCEL API to create it. When I export the data to excel sheet, the data are stored in text format in the excel sheet. If I click on summation button on excel sheet, it is not summing up the column values since it is stored as the text format.
I am writing the following code:
for(Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();){
String attributeName = (String)iter.next();
for(int index = 0; index < dataNode.size(); index++){
try{
IWDNodeElement nodeElement = dataNode.getElementAt(index);
String colVal = nodeElement.getAttributeAsTex(attributeName);
Label value = new Label(j, index + 1, colVal);
sheet.addCell(value);
j++;
Here colVal is the variable which holds the data in string format. So I was just trying to convert it into integer format and used Integer.parseInt(colVal).
But Label keyword accepts only the int,int,string arguments.
Is there any other option to change it as integer value while exporting to excel sheet.
Pls suggest.
This is very urgent.
Regards,
Subashini.Hi Gopal,
Pls refer the following link.
/people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
I have used the same coding which is mentioned in this link.
And also I cannot use integer.parseInt(colval) because new Label() will accept only the int,int,string as parameters.
Here goes my to excel method code which exports the data to excel sheet .
private FileInputStream toExcel(IWDNode dataNode, Map columnInfos) {
String fileName = "output.xls";
IWDCachedWebResource cachedExcelResource = null;
int i = 0;
try{
File f = new File("output.xls");
WritableWorkbook workbook = Workbook.createWorkbook(f);
WritableSheet sheet = workbook.createSheet("First Sheet", 0);
for(Iterator coluinfoitr = columnInfos.keySet().iterator(); coluinfoitr.hasNext();){
Label label = new Label(i, 0, (String)columnInfos.get(coluinfoitr.next()));
sheet.addCell(label);
i++;
int j = 0;
for(Iterator iter = columnInfos.keySet().iterator(); iter.hasNext();){
String attributeName = (String)iter.next();
for(int index = 0; index < dataNode.size(); index++){
try{
IWDNodeElement nodeElement = dataNode.getElementAt(index);
String colVal = nodeElement.getAttributeAsText(attributeName);
Label value = new Label(j, index + 1, colVal);
sheet.addCell(value);
catch (Exception e){
wdComponentAPI.getMessageManager().reportException(" Data Retrive Err :" + e.getLocalizedMessage(),false);
j++;
workbook.write();
FileInputStream excelCSVFile = new FileInputStream(f);
cachedExcelResource = getCachedWebResource(excelCSVFile, fileName, WDWebResourceType.getWebResourceType("xls", "application/ms-excel"));
wdContext.currentContextElement().setExcelDownload(cachedExcelResource.getURL());
workbook.close();
It is exporting the data in text format. So I am unable to sum up the column values in the excel sheet.
I need an alternate solution wherein I can export the data in integer format to excel sheet and then sum up the column values by clicking on summation button.
Hope I am clear now.
Pls suggest.
Regards,
Subashini. -
Export Pivot table data to a Excel file
Hi All,
I am using OBIEE 10.1.3.
In my asnwers I am displaying the Pivot view and want to export the results to a excel sheet.The dowlnoad option is not coming for Pivit view.
In case of compound view I am able to see the download option to export to excel sheet.
Please suggest.
thanksThe Compound Layout has a purpose and that is to display your report with the download optons you can "turn on," including "download to Excel." To answer your question of somehow enabling a "download link" from the Pivot Table view, sorry, you can't do that. However, here's what you can do:
In Answers, use the Compound Layout view to download the pivot table. If the Compound Layout view is used for other purposes and you need only the pivot table view to download (as a report designer) and you really need this functionality, then create a duplicate of the Compound Layout and put only your pivot table in it. Now you can download.
If you are talking about dashboards, then use the Properties>Report Links from the Properties button of the report and check off "download." Again, if your Compound Layout is used for other purposes (and requires other views in it), then drag the report into another section of the dashboard and in Edit Dashobard, click on the Properties of the report>Show View>Compound Layout:2 that you created in the previous paragraph. Enable downloading on this and you can download only the Pivot table. -
How to export the table data to the excel?
Hi,
I'm new to WebDynpro. im having a table 5rows and 6 columns, i need the data in the table to be exported to excel sheet by clicking on a button.
As i went through some of the blogs and tutorials i couldn't understand the procedure, so could any one help out with detailed procedure.
Thanks & Regards,
SureshHI! Suresh,
This is a littile bit complicated process.Here i am trying to expalin the procedure,
if you are having any problem then let me know.
Following are the steps:--
1.create two controls one of type linkToAction and other of type FileDownload and a location on your portal server say it's "/server0/temp/webdynpro/web/local/testexcel.xls"
2.create a method in your view or controller and call this method as downLoadToXls()
3.create a Value attribute of type binary in your context,say it's dataContent.
4.Bind your linkToAction Control to the method downLoadToXls() and control FileDownLoad data property to dataContent.
5.In the init() Hook methos write the following code:--
IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("dataContent");
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
// In addition the FileDownload UI element needs for defined resource types
binaryType.setFileName("testexcel.xls");
binaryType.setMimeType(WDWebResourceType.XLS);
6.in DownLoadToXls() method add the following code:--
try {
out = new FileOutputStream(path);
workBook = new HSSFWorkbook();
hsSheet = workBook.createSheet("UserID");
cs = workBook.createCellStyle();
cs1 = workBook.createCellStyle();
cs2 = workBook.createCellStyle();
dataFormat = workBook.createDataFormat();
f = workBook.createFont();
f1 = workBook.createFont();
f.setFontHeightInPoints((short) 12);
//make it blue
f.setColor( (short)HSSFFont.COLOR_NORMAL );
//make it bold
//arial is the default font
f.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
//set font 2 to 10 point type
f1.setFontHeightInPoints((short) 10);
//make it red
f1.setColor( (short)HSSFFont.COLOR_RED);
//make it bold
f1.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
f1.setStrikeout(false);
cs.setFont(f);
cs.setDataFormat(dataFormat.getFormat("#,##0.0"));
//set a thick border
cs2.setBorderBottom(cs2.BORDER_THICK);
//fill w fg fill color
cs2.setFillPattern((short) HSSFCellStyle.SOLID_FOREGROUND);
cs2.setFillBackgroundColor((short)HSSFCellStyle.SOLID_FOREGROUND);
//set the cell format to text see HSSFDataFormat for a full list
cs2.setDataFormat(HSSFDataFormat.getBuiltinFormat("text"));
cs2.setFont(f1);
cs2.setLocked(true);
cs2.setWrapText(true);
hsSheet.createFreezePane(0,1,1,1);
row = hsSheet.createRow(0);
cell = row.createCell((short)0 ,0);
cell.setCellValue("User ID");
cell.setCellStyle(cs2);
cell = row.createCell((short)1 ,1);
cell.setCellValue("Last Changed Password Date");
cell.setCellStyle(cs2);
int nodeSize = wdContext.nodeUserIDAndPass().size();
for(int jCount=0; jCount < nodeSize; jCount++) {
row = hsSheet.createRow(jCount+1);
for(int count = 0; count < 2; count++) {
if(count == 0) {
cell = row.createCell((short)0,count);
cell.setCellValue(wdContext.nodeUserIDAndPass().getUserIDAndPassElementAt(jCount).getCtx_UserID());
if(count == 1) {
cell = row.createCell((short)1,count);
cell.setCellValue(wdContext.nodeUserIDAndPass().getUserIDAndPassElementAt(jCount).getCtx_ChangedPasswd());
cell.setCellStyle(cs2);
workBook.write(out);
out.close();
//Read the file that was created.
FileInputStream fin = new FileInputStream(path);
byte b[] = new byte[fin.available()];
fin.read(b,0,b.length);
fin.close();
wdContext.currentContextElement().setDataContent(b);
}catch(Exception e) {
wdComponentAPI.getComponent().getMessageManager().reportException("Exception while reading file "+e,true); }
7. Add the follwoing constant at the end:--
private FileOutputStream out = null;
private HSSFWorkbook workBook = null;
private HSSFSheet hsSheet = null;
private HSSFRow row = null;
private HSSFCell cell = null;
private HSSFCellStyle cs = null;
private HSSFCellStyle cs1 = null;
private HSSFCellStyle cs2 = null;
private HSSFDataFormat dataFormat = null;
private HSSFFont f = null;
private HSSFFont f1 = null;
private String path = "/server0/temp/webdynpro/web/local/testexcel.xls";
8.Add the follwowing jars in your classPath.
1)poi-3.0.1-FINAL-20070705.jar
2)jxls.jar
regards,
Mithileshwar -
How to show a table data into an excel sheet
Hi
I have a requiremet of generate an excel sheet with the data that is there in the table...
I have an inputfiled ..if i enter data and clicks search the data related to it is displayed in table.here i want to generate an excel sheet with the data that is there in the table
Regards
PadmaHi Rekha,
i have a dout in Exporting Table Data Using On-Demand Streams - SAP NW 7.0 which is the subdivision (B) .
In this he created Excel node with Resource--type(Resource)
ResourceOnDemandStreamCal--type(com.sap.tc.webdynpro.programmodel.api.IWDInputStream)
1)i went to LocalDictonaries and in that com.sap.ide.webdynpro.UiElements--In that i dont have Resource
2)i typed com.sap.tc.webdynpro.programmodel.api.IWDInputStream in native type
but nothing is comm
how to get these types
Regars
Padma -
How to export a dynamically generated datatable into excel sheet 2013?
I have one data table and in that data table i am fetching data from sharepoint 2013 lists.
When I export that data table into excel sheet, what ever data is static will be shown but the data which I fetch from lists are not coming.
How should I get that data in my excel sheet from that data table?
This is the code for Export to Excel:
public void ExportToExcel(DataTable dt)
if (dt.Rows.Count > 0)
string filename = "WebTrafficReport.xls";
System.IO.StringWriter tw = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw);
DataGrid dgGrid = new DataGrid();
dgGrid.DataSource = dt;
dgGrid.DataBind();
//Get the HTML for the control.
dgGrid.RenderControl(hw);
//Write the HTML back to the browser.
//Response.ContentType = application/vnd.ms-excel;
Response.ContentType = "application/vnd.ms-excel";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename + "");
this.EnableViewState = false;
Response.Write(tw.ToString());
Response.End();
Thanks in Advance.ublic void ExportToExcel(DataTable dt)
if (dt.Rows.Count > 0)
string filename = "WebTrafficReport.xls";
System.IO.StringWriter tw = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw);
DataGrid dgGrid = new DataGrid();
dgGrid.DataSource = dt;
dgGrid.DataBind();
//Get the HTML for the control.
dgGrid.RenderControl(hw);
//Write the HTML back to the browser.
//Response.ContentType = application/vnd.ms-excel;
Response.ContentType = "application/vnd.ms-excel";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename + "");
this.EnableViewState = false;
HttpContext.Current.Response.Write(sw.ToString());
HttpContext.Current.Response.Flush();
HttpContext.Current.Response.End();
}}try this should help -
Downloading table control data in excel sheet
Hi experts,
I have written a module pool pgm which fetches the data from a table and filled in a table control. Now my requirement is to download this (table control data) in an excel sheet like we download the ALV report data in an excel sheet.
Can the same downloading option be provided in module pool pgm also?
Pls tell me how it is possible to download the table control data in an excel sheet in module pool?
Regards,
ShanthiHi Shanthi,
As you can display data in Table Control means data is available in Internal Table
Give Download Button
case ok_code.
when 'DOWN'.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = path1.
CALL FUNCTION 'GUI_DOWNLOAD' " Go through FM Documentatin for more Info
EXPORTING
filename = path1
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = ist_final
fieldnames = ist_fc_download " You can provide the Column Heading
EXCEPTIONS
OTHERS = 22.
endcase.
Cheerz
Ram
Edited by: Rob Burbank on Mar 20, 2010 5:04 PM -
Exporting data of context node to Excel Sheet
Dear All,
I have a requirement from client, in which they want to export the data coming from database in an excel sheet.
How is it possible using webdynpro? has any one done something like that?
Please help.
Thanks in advanceThanks Sir,
I am trying to make a project as u suggested, but when I am trying to create method exportToExcel2003,
I am not able to assign parameter dataNode type com.sap.tc.webdynpro.progmodel.api.IWDNode while I can create a parameter of type java.util.hashMap, Please tell me how to define the parameter com.sap.tc.webdynpro.progmodel.api.IWDNode type, I am not getting this path.
Thanks a lot..
Maybe you are looking for
-
SEM BCS - Consolidation Chart of Accounts
Hi all, For the SEM-BCS implementation I am using ECC as the operational system. ECC folks are in the process of building a group chart of account in FI. Can you suggests the work around to map group chart of account to consolidation chart of account
-
Please help me !
-
Excise modvat accounts not defined for CEIV transaction and excise group`
Dear All, During outgoing excise cancellation i am getting the massage `Excise modvat accounts not defined for CEIV transaction and excise group` I have checked the following, GL is assigned in excise account determination. the transection type CEIV
-
Video not appearing in Analytics
We are using Enterprise for a new client and we have embedded a video in some folios (and hope to have multiple videos in folios in the future). However it does not appear in the Analytics under the Video content. Articles and ads appear perfectly. I
-
RESTful service and BLOB with bind variable
Hi, Has anyone successfully created a RESTful service with bind variable to retrieve a BLOB field and render it in an Apex app? I can create RESTful web service and render BLOB field for a record with no bind variable (single row). As soon as I add b