Display data from multiple document Libraries in List View Webpart
Hi All,
I want to display data from multiple document libraries into one list view webpart(custom i have created)
I went through the following link http://blogs.msdn.com/b/ramg/archive/2009/04/22/implementing-a-simple-cross-site-collection-list-view-webpart.aspx
but it tells to display only from one document library.
My motive behind displaying data in the list view webpart is to achieve the functionality of Check In ,Check Out and other OOB features.
With Regards,
Jaskaran Singh
Hi,
As there is no such OOTB feature, a workaround is to create a visual web part to gather items from libraries and implement functionalities like Check in, Check out files
in different libraries.
The links below will provide more details:
Create Visual Web Parts in SharePoint
2010
A demo about displaying list items in visual web part:
http://www.dotnetcodesg.com/Article/UploadFile/2/217/Web%20Part%20in%20SharePoint%20To%20Show%20All%20List%20and%20List%20Items.aspx
About the Check In and Check Out:
How to Check In a document programmatically
SPFile.CheckIn method
and SPFile.CheckOut method
Best regards
Patrick Liang
TechNet Community Support
Similar Messages
-
Display Data from multiple models in one table
Hi Experts,
Is it possible to display data from multiple models in one table smltnsly.
I have created a table dynamically.Now I would like to display data from multiple models... If this possible,can anyone give me a lead as to how to do it..
Regards
SUHi
Your Model Nodes be
Model1
---Output_Model1
Attrib1
Attrib2
Model2
---Output_model2
Attrib1
Attrib2
and the value node is
ValueNode
---Attrib1
---Attrib2
Now the coding.
int size;
IPrivate<ViewName>.IOutput_mode1Node node1 = wdContext.nodeOuptut_Model1();
IPrivate<ViewName>.IValueNodeElement elem;
size = node1.size();
for(int i=0; i<size; i++)
elem = wdContext.createValueNodeElement();
elem.setAttrib1( node1.getOutput_Model1ElementAt(i).getAttrib1() );
elem.setAttrib2( node1.getOutput_Model1ElementAt(i).getAttrib2();
wdContext.nodeValueNode().addElement( elem );
similar code for Model Node 2
Regards
Abhimanyu L -
How do I display data from Multiple Queries in a spreadsheet?
I am running Oracle forms 10g as a kicker to export a report (rdf 10.1.2.0.2) to PDF or Excel Spreadsheet - User's choice.
Doesn't matter if I have desformat = SPREADSHEET, DELIMITEDDATA, or DELIMITED; I still get only the first query displayed when I run in spreadsheet format.
How do I display data from Multiple Queries in a spreadsheet? Is this possible?
Thanks in advance!Hi adam,
did you search the forum? You will find a lot of threads handling the problem of Excel file access.
In short: you need to use ActiveX (the RGT also uses ActiveX under the hood)!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Displaying data from multiple columns into a single line graph
Post Author: hollowmatrix
CA Forum: WebIntelligence Reporting
Hey,I have an issue with the WEBI reporting.I have a data source that has multiple columns say ( month1, month2, month3, month4,.....month 12, month 13, ....month24) with the sales data for each month.Now say I call the month 1 to month 12 as "current year", and call month 13 - month 24 as "previous year".I want to put a prompt in the report which allows me to select between "current year" and "previous year".Based on the prompt value we get a graph of the sales vs month ....as in if we select "current year", then we get a graph of the sales Vs time( remember that the sales data for each month is in a different column.)and if we select "previous year" then we get a graph of the sales Vs time for previous year..( sales vs time for Month 13, month 14, month 15....month 24).I am not able to pull data from multiple columns into a single object that I can use to populate the graphs.Any help on the same will be appreciated .Hi,
<p>
please click
here (asktom) and look for the words "how about the other way round"
</p> -
Displaying data from multiple table/column
hello ..
anybody can help me how to diplaying data from multiple table/ column in PHP. TQFollow the "How do I SELECT, INSERT, UPDATE and DELETE data from PHP?" example from http://wiki.oracle.com/page/PHP+Oracle+FAQ and change the "select ..." query to your favourite join, e.g.
select country_name, region_name from countries, regions where countries.region_id = regions.region_id; -
Displaying data from an XMl in horizontal list
Ok so here's the skinny:
I have this flex app that works fine
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" width="100%"
viewSourceURL="srcview/index.html">
<mx:Style source="source.css"/>
<mx:Image x="15" y="4" source="images/title.jpg"
width="210" height="65"/>
<mx:Image source="images/title1.jpg" id="image1"
horizontalAlign="right" verticalAlign="top" top="3" width="784"
height="58" x="241"/>
<mx:XML id="tempXML" source="
http://development.company.net/interface.php?username=user&password=pass&customer= customer&action=showopen&operation=defects&format=xml&critcal=both"
/>
<mx:XMLListCollection id="defectXMLList"
source="{tempXML.defect}" />
<mx:DataGrid id="dataGrid" dataProvider="{defectXMLList}"
width="1024" rowCount="{defectXMLList.length + 1}" x="0" y="62"
borderThickness="2" borderColor="#fda600" themeColor="#fda600"
alternatingItemColors="[#fda600, #ffffff]" cornerRadius="0"
color="#000000" borderStyle="none" alpha="0.73">
<mx:columns>
<mx:DataGridColumn id="assetCol" dataField="asset"
headerText="Asset:" />
<mx:DataGridColumn id="componentCol"
dataField="component" headerText="Component:" />
<mx:DataGridColumn id="conditionCol"
dataField="condition" headerText="Condition:" />
<mx:DataGridColumn id="ffdCol" dataField="ffd"
headerText="FFD:" />
<mx:DataGridColumn id="inspidCol" dataField="inspid"
headerText="Inspection ID:" />
<mx:DataGridColumn id="mileageCol" dataField="mileage"
headerText="Mileage:" />
</mx:columns>
</mx:DataGrid>
</mx:Application>
However they now want to just display the asset and not in a
data grid but as a horizontal list and I have tried and tried to
look for an effective example of this and how to make it work.
I have tried Horizontal List, Vertical List, HBox, and VBox
but all I want the thing to do for now is to just display data
Horizontally.
any help would be greatHorizontalList is what you're looking for. But that alone
won't do. You'll need to write a custom renderer.
Search in the Flex Build helper for how to implement custom
renderer. Essentially, each row that you see in the grid would be
passed to each element in the horizontal list and you can use any
<mxml> or actionscript based component as renderer.
here are some of the topics that will get you started:
Using Item Renderers and Item Editors
Working with item renderers
ATTA -
Some of the document libraries I am using need to have publishing enabled and some do not. But the query (for most recently updated documents in the site) shouldn't let the user check-out any documents (only see them in read-only mode).
Hi,
Is the query in search? Could you provide a screen shot about it ?
Did users click view library button to check out document? Could you provide more details about it?
Thanks,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Updating data from multiple rows in a table view
Hello,
so far in my OAF programming, I have always selected one particular row from a table and saved from it. Now I have a requirement where in my table, fields from more than one row shall have to be updated.
Can anyone please let me know how to accomplish this.
Regards
HawkerHi Prince,
currently I am selecting one row from the table and rendering a region at the top of the table and capturing the user entered data with the following code:
ViewObjectVOImpl vo = getViewObjectVO1();
Row CurrentRow = vo.getCurrentRow();
//After this I perform the checks like user entered value is not null or check input as per business logic.
if(CurrentRow.getAttribute("attributeName") ==null){
//Add what message you want to display
//Add other business logic.
After making all the checks, i commit it.
getOADBTransaction().commit();
Now in my new page I am capturing the user input in the table itself like an excel sheet. Suppose there are ten rows in my advanced table on my page, and each row has one editable field. I have one save button at the bottom of the table.
Now on clicking the save button I have to capture the user input, check whether there is any null value and if all the entered data is correct then only I should commit it.
Can you please let me know how we can accomplish that.
Regards
Hawker -
How can I take data from multiple pages documents and put them into a numbers table?
I produce invoices in pages, with dates, invoice numbers, references and amounts due. I want to take all this data from multiple documents and transfeer it to a single numbers table. Is this possible and if so, how do I do it. I know I can do it the other way round with mail merge but I can't figure out how to do it this way round?
Thanks,
KeithThe data is spread throughout a pages document in specific areas here's a copy of an invoice for you to have a look at.
-
Move data from multiple Tables to a Single Table & Convert the list to ALV.
Hi,
My aim is to get the list of Materials with their descriptions, with MRP Controller, with Unrestriced Qty. & the Reorder Qty. So, I have to fetch the data from different tables. But finally I am not able to copy or move the fetched data from multiple tables into the single final table.
Also tell me how to convert this list into ALV.
Below is the program code.
*& Report Y_REORDER_REPORT
REPORT Y_REORDER_REPORT.
tables : marc,makt, mard.
DATA: Begin of i_final occurs 0,
matnr type marc-matnr,
maktx type makt-maktx,
DISPO type marc-DISPO,
MINBE type marc-MINBE,
LABST type mard-LABST,
end of i_final.
DATA: Begin of i_marc occurs 0,
matnr type marc-matnr,
DISPO type marc-DISPO,
MINBE type marc-MINBE,
end of i_marc.
DATA: Begin of i_makt occurs 0,
matnr type makt-matnr,
maktx type makt-maktx,
end of i_makt.
DATA: Begin of i_mard occurs 0,
matnr type mard-matnr,
LABST type mard-LABST,
LGORT TYPE MARD-LGORT,
end of i_mard.
SELECT matnr
dispo
minbe from marc
into corresponding fields of table i_marc
where dispo EQ 'STR'.
SORT I_MARC by MATNR.
WRITE: /10 'Material',
75 'MRP',
80 'Reorder Qty.'.
LOOP at i_marc.
Write: /10 i_marc-matnr,
75 i_marc-dispo,
80 i_marc-minbe.
ENDLOOP.
write: /.
SELECT matnr
MAKTX from makt
into corresponding fields of table i_makt
for all entries in i_marc
where matnr = i_marc-matnr.
LOOP at i_makt.
Write: /10 i_makt-matnr,
30 i_makt-maktx.
ENDLOOP.
SELECT matnr
LGORT
LABST from mard
into corresponding fields of table i_mard
for all entries in i_marc
where matnr = i_marc-matnr.
LOOP at i_mard.
Write: /10 i_mard-matnr,
30 I_MARD-LGORT,
40 i_mard-labst.
ENDLOOP.
move i_mard-matnr to i_final-matnr.
move i_marc-dispo to i_final-dispo.
move i_marc-minbe to i_final-minbe.
move i_makt-maktx to i_final-maktx.
move i_mard-labst to i_final-labst.
WRITE: /10 'Material',
30 'Material Desc.',
75 'MRP',
80 'Reorder Qty.',
105 'Current Stock'.
LOOP at i_final.
Write: /10 i_final-matnr,
30 i_final-maktx,
75 i_final-dispo,
80 i_final-minbe,
105 i_final-labst.
ENDLOOP.
*LOOP at i_mard.
*Write: /10 i_mard-matnr,
30 i_makt-maktx,
75 i_marc-dispo,
80 i_marc-minbe,
105 i_mard-labst.
*ENDLOOP.
Regards,
VishalChange like this,
SELECT matnr
lgort
labst FROM mard
INTO CORRESPONDING FIELDS OF TABLE i_mard
FOR ALL ENTRIES IN i_marc
WHERE matnr = i_marc-matnr.
LOOP AT i_mard.
WRITE: /10 i_mard-matnr,
30 i_mard-lgort,
40 i_mard-labst.
ENDLOOP.
LOOP AT i_marc.
READ TABLE i_mard WITH KEY matnr = i_marc-matnr.
READ TABLE i_makt WITH KEY matnr = i_marc-matnr.
MOVE i_mard-matnr TO i_final-matnr.
MOVE i_marc-dispo TO i_final-dispo.
MOVE i_marc-minbe TO i_final-minbe.
MOVE i_makt-maktx TO i_final-maktx.
MOVE i_mard-labst TO i_final-labst.
APPEND i_final.
ENDLOOP.
WRITE: /10 'Material',
30 'Material Desc.',
75 'MRP',
80 'Reorder Qty.',
105 'Current Stock'. -
Fastest way to get data from Multiple lists across multiple site collections
HI
I need to get data from multiple lists which spread across 20 site collections and need to show it as list view.
I have searched on internet about this and got some info like options would be to use search core APIs or BCS . I can't use search because I want real time data. Not sure of any other ways.
if anybody can provide ideas it would be help.Might LINQ be an option for you? Using
LINQPad and the
SharePoint Connector, you should be able to write a query that'll retrieve this data, from which you can tabulate it. I'm not sure how you'd be able to automate this any further so that it's then imported in as list.
For something more specific, I used a third party tool called the
Lightning Tools Lightning Conductor, which is essence a powerful content roll-up tool. In one of my solutions, I created a calculated column that gave an order / ranking on each item, so that when lists were combined, they'd still have some form of
order. The web part is also fairly customisable and has always proven a useful tool.
Hope that helps.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Display new items in document libraries on hompage
I have created several document libraries and added documents to each one. How do I show new items added to the document libraries on the homepage of the subsite>
sukaiYou've had a few suggestions in your post here
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cdb3305-b3ef-4884-8745-b14d76e7fb60/display-new-items-in-document-libraries-on-hompage?forum=sharepointgeneralprevious
Have you any budget to spend? If so, I'd suggest looking at the Lighning Tools Lightning Conductor Web Part. This'll allow you to combine multiple libraries into one. You can then set a date filter to show the most recent 3/4 days of documents
only.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How to submit data from multiple Input Ports in single SUBMIT button click
Hi,
I am in SPS8.
What exactly steps I need to perform to submit data from multiple Input Ports.
I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
I debugged the VC application in SPS8.
While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
form are being passed to the BAPI, But not the Table Form data.
If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
Essentially I need to submit both of them in one SUBMIT button.
Thanks,
RamakrishnaRamakrishna,
From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
1/ Automatic Source
2/ SKIP_ITEMS_WITH_ERROR
On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
Hope this helps,
Cheers,
Scott -
Walkthrough: Displaying Data from Oracle database in a Windows application.
This article is intended to illustrate one of the most common business scenarios such as displaying data from Oracle database on a form in a Windows application using DataSet objects and .NET Framework Data Provider for Oracle.
You can read more at http://www.c-sharpcorner.com/UploadFile/john_charles/WalkthroughDisplayingDataOracleWindowsapplication05242007142059PM/WalkthroughDisplayingDataOracleWindowsapplication.aspx
Enjoy my article.hi,
this is the code :
public class TableBean {
Connection con ;
Statement ps;
ResultSet rs;
private List perInfoAll = new ArrayList();
public List getperInfoAll() {
int i = 0;
try
con = DriverManager.getConnection("url","root","root");
ps = con.createStatement();
rs = ps.executeQuery("select * from user");
while(rs.next()){
System.out.println(rs.getString(1));
perInfoAll.add(i,new perInfo(rs.getString(1),rs.getString(2),rs.getString(3)));
i++;
catch (Exception e)
System.out.println("Error Data : " + e.getMessage());
return perInfoAll;
public class perInfo {
String uname;
String firstName;
String lastName;
public perInfo(String firstName,String lastName,String uname) {
this.uname = uname;
this.firstName = firstName;
this.lastName = lastName;
public String getUname() {
return uname;
public String getFirstName() {
return firstName;
public String getLastName() {
return lastName;
ADF table code:
<af:table value="#{tableBean.perInfoAll}" var="row"
binding="#{backing_Display.table1}" id="table1">
<af:column sortable="false" headerText=""
align="start">
<af:outputText value="#{row.firstName"/>//---> Jdeveloper 11g doesn't allow me to use this.. it says firstName is an unknown property..
</af:column>
</af:table>
Please tell me is this the way to do it.. or is it a must to use the DataCollection from the data controls panel...
Thanks... -
Simple example of a combobox displaying data from a CF datasource
Can anyone point me to a simple example of a Flex 3 combobox that displays data from a ColdFusion datasource? I cannot seem to find a simple example. As always, thanks!
Thanks for the response, but the example you provided is more complex than I need. For example, I have a simple table accessed through ColdFusion. The table has one filed with 7 records. I need a flex page to display that data in DataGrid, ComboBox and List controls. The Datagrid displays the 7 records but the ComboBox and List are blank. How do I get the values from the database to display in the BomboBox and List controls?
Below is my code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initComponent()">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import mx.rpc.remoting.RemoteObject;
private var currentIndex:int = 0;
private var _key:Object;
[Bindable]
public function get key():Object
return this._key;
public function set key(key:Object):void
this._key = key;
private function initComponent():void
refreshList(null);
public function refreshList(event:Event):void
this.dataManager.getRoles(this.key);
private function getRoles_result(event:ResultEvent):void
this.roleList.dataProvider = event.result as ArrayCollection;
this.roleList.selectedIndex = this.currentIndex;
]]>
</mx:Script>
<mx:RemoteObject
id="dataManager"
showBusyCursor="true"
destination="ColdFusion"
source="ifqgtfuses.com.vwRoles">
<mx:method name="getRoles" result="getRoles_result(event)" />
</mx:RemoteObject>
<mx:Canvas width="100%" height="100%" x="0" y="0">
<mx:DataGrid id="roleList"
x="10" y="10">
<mx:columns>
<mx:DataGridColumn dataField="vchar_role" headerText="Role" />
</mx:columns>
</mx:DataGrid>
<mx:ComboBox x="10" y="160" id="rolesComboBox" dataProvider="{roleList.selectedIndex}"/>
<mx:List x="120" y="10" id="rolesList" dataProvider="{roleList.selectedIndex}"/>
</mx:Canvas>
</mx:Canvas>
Maybe you are looking for
-
Mouse Lag and poor performance. Video Card or Power?
Not specifically a FCP question but related. I recently purchased a new rig. Here are the specs. 2 X 2.93Ghz 6 Core/16GB RAM/ ATI Radeon 5870 video card. I am having very odd mouse lag problems that are quite annoying. I am also having issues with pl
-
Disk " disk " does not exist or is not instantiated after reboot the server
Hi, I have one issue with 11gR2 cluster. I have 2 node cluster on CentOS 5.5. I am using HP MSA 1000 storage LUNs and create disk group and volume for RAC setup in openfiler. The whole setup was running fine but before few days some one has recreate
-
Serial number unavailable in about this mac
serial number unavailable in about this mac
-
ITunes- request for GLOBAL changing of folder options
At present, a user can only alter the 'View Options (CTRL-J)' for one particular folder in your iTunes Music at a time. But what if you wanted ALL folders to have the SAME View Options? Wouldn't it be so much easier if Apple allowed a user to alter o
-
Word 中.pdf文件的打开(Adobe Reader X(10.0.1))有问题
当打开word 中.pdf文件时候,提示如下: 用于创建次对象的程序是AcroExch.你的计算机尚未安装此程序.若要编辑此对象,你必须安装可以打开此对象的程序.