I am getting the error of “outlets cannot be connected to repeating content”. I am trying to have a table view where the image shows url images from an API. How do I do this?
Related
I am new to both BLOBs and image rendering in Shiny, but I am wondering if it is possible to render images stored as BLOBs in an Oracle table via datatables in Shiny? Unfortunately I don't have code to share, but am wondering if anyone has attempted or been successful doing something like this?
Basically, I am wanting to have a table stored in Oracle that has a product picture, and then several more columns with other information about the product. Then, I would like to be able to read that table in via R and display the full table with the images as a datatable in a Shiny application.
I am trying to load images from a URL to load on the table view dynamically. I am able to load the text but need to load the images. In my external database table, I have 3 columns (id, Name and image) and able to fetch the Name field. The image fields contains the name of the file (myimg.png). I have a url (www.xyz.com.au/images/(image_name_from database.png). So when the table loads, each cell should displays the thumbnail image and the Name. When we press the cell to go to the other View Controller, the ID associated with it should fetch all the records on the second view controller.
Thanks for your help and time in advance :)
You need to use image loader to load image into UIImageView. I recommend to use KFSwiftImageLoader
let imageView : UIImageView!
imageView.loadImage(urlString: imageURL)
I'm totally new to CI. I am working on the project that fetch data from a db and send it a particular data to a form on a click of a ADD button. Here is the screen shot of my table..enter image description here
Here is the screenshot of my form..
enter image description here
Your add button should collect the data it needs, send it to controller, and controller passes it to model so it can collect the data that you need by sql. Pass it back to controller and controller passes the data to the view ( your form . In your view you just put the data where ever you need.
I have images stored in the database that I want to show in Spotfire. I've found how to display an image from a webpage but not one directly from the SQL database. Spotfire defaults to string type for the image. I tried editting it at the Info Link stage and forcing it to be a blob, but when I render it as an image I just see [..].
unfortunately Spotfire doesn't support BLOB or binary data.
what you can do is store your images on a server somewhere, then in place of the binary data in your database, store the URL to the image. you can then display it in a table as suggested in the Spotfire manual.
In Salesforce, I create a dashboard and drag a pie chart component on to it. I can then drop almost any report onto the pie chart to serve as its data source. Is it possible to use a class or page to drive the Pie Chart instead of a report?
My attempts so far suggest not. I have an apex:page that is returning a very simple table of data. I can add my entire apex:page with its apex:pageblocktable to my dashboard as an embedded VisualForce Page and the table shows up fine. But it won't let me use the page as the data source for my Pie Chart. My controller class isn't even listed to try using it. Is there some way I can evolve my controller or page to make it a suitable data source for a Pie Chart or any other standard Salesforce dashboard component?
I'm starting to think the only option available to me is to make a page that renders the pie chart for itself (probably using flot) and embed that in the dashboard. I'm willing to go this route, but it sure would save me some time if I could use the standard dashboard components. Any help is appreciated.
If you're wondering why I don't just use a report, it's because I haven't found any that combine leads and contacts in one. I've followed this multi-object apex dummy class pattern to create a custom UnifiedLeadContact class with a handful of common properties from my leads and contacts. My controller runs two queries, one for leads and one for contacts, uses the results to populate a list of new UnifiedLeadContacts and returns it. That is working well to feed my table that functions similar to a lead or contact view but has both leads and contacts in it.
As far as I am aware there is no way to use the output of a VF page as the source of a chart.
But you can create a chart as part of your VF page.
If you have a look at http://www.salesforce.com/us/developer/docs/pages/Content/pages_charting_overview.htm
This will give you the basics on how to feed in the data to a chart ov