How do i display data from multiple lists and sources in Sharepoint 2010? - sharepoint-2010

I want to have a web part which displays a list of items. This would not be a sharepoint list but a list from multiple datasources e.g. output has a total of 8 columns
2 columns are from a sharepoint list (Users) ,
2 columns are from a custom sharepoint list ,
3 columns are accessed from a web service to a external system (e.g. share price from yahoo) ,1 columns is calculated (complex calculation) using the other 5 columns
How would i do this? What controls/objects would i need?
I am most interested in what control/object would best output the data. Assume i have a custom object with the 8 properties in visual studio code. I don't think i can do this with an SPView.

I would use the plain ASP.NET table control. It is simple to use and powerful enough if all you need is to show the data as a table. Logically, it corresponds to the table element of HTML. See http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.table(v=vs.90).aspx
SPView class represents a list view in the SharePoint object model. As far as I know, it does not perform any content rendering.

Related

What kind of dynamic content is available in Eloqua?

In Eloqua, can you send out an email to a contact list but version the "hero" image headline for each segment using dynamic content blocks?
And then can you do the reverse, have the main image remain the same, and dynamically populate products below that they've purchased in the past?
For scenario 1, yes that is possible out of the box.
Scenario 2 however is a bit more complicated and would generally require a 3rd party tool to provide this type of dynamic code generation based upon a lookup table (in this case a line item inventory or purchases). Because a contact could have zero or more products (commonly as individual records in a CDO), you would generally need to aggregate or count the number of related records, and then generate your HTML table and formatting around those record values, and be contextually aware if it is the first or last record (to begin and close the table). Dynamic content does not have mathematical functions and would not be able to count those related records - this is something usually provided by a B2C system like SFMC using ampscript or dynamically generated through custom code and sent through a transactional SMTP service. You could have multiple dynamic content on top of each other, but your biggest limitation becomes the field merge, with only lets you select a record based upon earliest/last creation date, or last modified. This is not suitable if you have more than 2 records. A third party service that provides a cloud content module for your email is your best bet.

SAP Flight reservation application

I am accessing flight reservation application built in SAP.
The application has a section on catering which contains: BC_MEAL, BC_MEALT, BC_STARTER, BC_MAINCOURSE, BC_DESSERT.
However, there are no such tables prefixed with BC_.
The tables are SMEAL, SMEALT, SSTARTER, SMACOURSE, SDESSERT instead.
Why is this discripency due to? How does SAP manage to convert application names into table names.
You're looking at the Data Modeler (SD11) and trying to compare it to the Data Dictionary / ABAP Dictionary (SE11). The actual table names are assigned to the entities explicitly:
expand BC_FLIGHT
double-click on BC_SFLIGHT
Button Dict. (?)
--> This screen should show the tables and/or views used to represent the entity.
It is worth noting that for many applications, no explicit data model exists (which is why I personally never bothered with the Data Modeler - a tool like this is virtually useless unless everyone else uses it as well).

Multiple groupings without SPD

our client wants multiple groupings in a Sharepoint 2010 list. Aprox 6 grouping headers. Unfortunatelly we are not allowed to use SPD. is there any way that i can create multiple groupings without SPD?
You can use metadata navigation. It's not exactly grouping, it's filtering. But you can use a combination of the default group by and metadata navigation to achieve the purpose.
Metadata navigation is available for choice columns and taxonomy columns.

Making rdlc datasource filter from other datasource

So to summarise the problem, I have a report which has two datasources - and is really two reports stuck to each other. I want the second part of the report to display data based on what the first part of the report is showing.
To go into more detail, the situation is as follows. I have two database tables - lets call one Customers, and the other Orders.
Customers contains data about the customers.
Orders contains a link to customers and contains the person's orders.
The report itself is supposed to display some sort of letter in part 1:
"Hello [CustomerName], you have an ongoing balance of [TotalBalance] bla bla bla..."
and a list of all the orders he has made in part 2
"Order 1: Item 1: 1 euro
Order 2: Item 2: 2 euro ..."
Originally these were two separate reports which we were generating one record at a time, outputting as pdf files and merging them using third party software such that the letter and the list of orders were next to each other. The problem is that this system will need to generate hundreds of them at a time, and it was taking ages. So now I want to pass a pair of large data sources and generate them in batches (call them 600 at a time) - which works faster.
So how can I force the second tablix which uses a different datasource, to filter based on what is in the first tablix with its own datasource?
I've looked at subreports, but they only work using reporting server and these are local reports.
Anything I can do ? I'm worried that its not possible.
There's no reason subreports won't work with local reports.
I recommend you download the samples from this site ReportViewer Samples. The project named "SupplyingData" shows how to load data into a subreport.

ssrs multiple datasets - master detail

I'm working on migrating all of our reporting solutions to SQL Server Reporting Services 2008 R2. I have a problem with one of the reports which builds a CP12 - for readers outside the UK, this is a Gas Safety certificate. The report has two data sets, one containing the tenant and landlord details, the other containing a list of appliances. The list of appliances are displayed in groups of 5 in the centre of the page with the tenant and landlord details at the top and bottom. The problem is when there are more than 5 appliances the report splits over multiple pages, I need the surrounding tenant and landlord details to be repeated - a bit like a header and footer. Can anyone help suggest a good approach?
Mark
If possible, I recommend combining the datasets into a single dataset, putting the appliances into a detail row, and the tenant and landlord data into header and footer rows; then set the RepeatOnNewPage property of the header and footer rows to be True.