I have a website with sharepoint 2010 site i'm pulling data from into a report for SSRS reporting services. On the website, there's an area where we select to change views such as "All Items" or "2013" or "2014".
By default when I run the query designer on SSRS, it pull data from 2014. I would like to know how to edit it such that I can change the view to All Items instead of "2014" where I can pull from that view instead. All items would include everything while 2013 and 2014 would be a smaller set.
Is this possible? I went searching for answers but didn't know what key words to search up and mainly came across links teaching how to use a sharepoint site as a datasource. I have below an example of what i'm trying to do.
<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ListName>MyList</ListName>
<ViewFields>
<FieldRef Name="ID" />
</ViewFields>
</RSSharePointList>
In your SSRS Builder, you can create a Dataset there. Click the Query Designer button and add the fields that you want that is included in a specific view in your SP site.
The code that you've shown will be automatically created once you selected the columns that you wanted to show on a specific view
Related
Guys!
I have a Sharepoint List, and I'm struggling to customize the webpart to include a new Item.
The need is to create a Dropbox that changes values based in another field in same webform.
Here in this list, I select the Coordinator list, but the problem is I really don't know how to show in Analyst field just the analysts from the coordinator I just choose.
Note: We are using a workspace in Sharepoint 2013, and due adm restrictions we can only use the regular settings, so we can't create custom HTML webparts for example.
Is there any good reference to change Content Query Webpart formatting. I would like to display results in two columns for a specific CQWP without changing the XSL file.
You will have to change XSLT.
see e.g.:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/1484df2b-0fb9-4b58-b833-a75019db88c7/content-query-display-multiple-columns
Please check the below link
http://pholpar.wordpress.com/2010/01/21/displaying-results-in-multiple-columns-using-the-content-query-web-part/
Other option is you ca use Dataview webpart to show the list details from one site to other site
http://www.learningsharepoint.com/2012/08/12/sharepoint-2013-add-dataview-webpart-with-sharepoint-designer-2013/
http://sharepointgeorge.com/2009/display-sharepoint-list-site-data-view-web-part/
I resolved the issue by using SPServices, JQuery.
I am an extreme newbie to the SharePoint/InfoPath environment and I am stumped.
I have an existing list in SharePoint. I have created an InfoPath form that retrieves a column from this list and uses it to populate an InfoPath Multiple Selection List box. I also some additional date picker controls on the form to capture start end end dates.
I would like to do the following:
Select one or more items in the multi-select list box using the available check boxes.
Fill in the start and end date fields on my form.
On clicking the form's submit button, somehow have the form update the SharePoint list items corresponding to those selected in the list box with the contents of the start and end date fields. The "somehow" is what has me stumped. I've read that I can use web services to do this, but have no idea how to go about doing so.
The tools I have at my disposal are:
SharePoint 2010
InfoPath 2010
SharePoint designer 2010
I do not have access to Visual studio
Any ideas?
Here is a basic tutorial that walks through how to use InfoPath to update a SharePoint list.
http://www.bizsupportonline.net/browserforms/update-sharepoint-list-items-object-model-infopath-browser-form.htm
I don't use InfoPath much but it looks like it requires a bit of coding that you'd need to do in Visual Studios. I am not sure how well an InfoPath form will work to update multiple SharePoint list items.
Here is a link to another Stackoverflow question that is similar.
https://stackoverflow.com/a/14287616/1594166
Did you know that you can link MS Access to a SharePoint list and then you can write a query to update the rows like a table? Using a form and some VBA you could build a custom SQL string and execute that based on selections from the form.
When using an InfoPath form using a list, you can go to the list itself, then click on list, and then customize the form. From this you should first be able to:
a. Create the columns needed for the certain list (this would contain the start and end dates etc. on your end)
b. Have Microsoft InfoPath 2010 installed (i'm guessing you already have this)
Since you already have the columns on the list, you can just click on customize this form and infopath will open and you would be able to customize your own form from there.
Another option is to use the DataSheet view in SharePoint. This provides the ability to filter, sort and update lists. It may be sufficient for your purposes. It requires MS Access to be installed but if you're using InfoPath then you presumably also have Access. If that doesn't work then I would second #AxGryndr's approach of linking to the list from Access and using a query to perform your bulk updates.
InfoPath is probably not a useful option for the requirement you've described. Out of the box InfoPath integration with SharePoint is fairly capable but has limitations that make it unsuitable for more complex requirements without integrating third party tools (Qdabra's qRules) or Visual Studio.
Simply create one or more workflows on the InfoPath form library that use the form data to create other list items on different lists as required. These workflows would trigger when a new item is created on the InfoPath form library.
We just migrated to SP 2010 and I am trying to migrate a report library. I had no problems updating the project and re-deploying reports. They work just fine. The problem is that in my Default View or any Report Category view the report names are not visible. I double checked that the names are visible in properties. If I add a Title or Description they show up just fine. For some reason the name will just not display.
The only way I can get the names is the All Reports and Dashboards view.
Here is a screenshot of my Default View:
I suppose I can just use the Title field as a work around. But that solution does not allow the user to click the name to view the report and that is what they are used to.
I can view the reports by clicking the type image. Any ideas of why the name will not display are greatly appreciated. Thanks!
I discovered the solution. In SP 2007 the default view was using the column Report Name. Changing it do Document Name instead resolved the issue.
We have an InfoPath 2007 form that populates a drop down from a SharePoint 2007 list of Employees. However, when opening the form in the browser (like it is designed to do) it does not alphabetize the drop down. But if i open the form on my computer, it does. Anyone else come across this issue and have a solution to it? I am wondering if it has to do with the indexing of the list, where if opened in the browser, if it sorts by the ID number that is assigned, where when on the computer it sorts by value.
Instead of adding the List as a Data Source, add the Data View XML of the list as the data source.
You can locate the Data View XML of the list by using this URL:
<Site URL>/_vti_bin/owssvr.dll?Cmd=Display&List={<GUID of the List>}&XMLDATA=TRUE&SortField=<Internal name of the Field that you want to Sort>&SortDir=Asc
Use this XML file as the data source in your InfoPath form, the dropdowns will be sorted according to the field you have specified.
Looks like View-based sorting is not supported in browser-enabled form templates because it requires manual hand editing of the view XSL file Refer
Options you have are
Hand edit the xsl
Write custom code on the load event and sort it
For more tricks refer to this link
One good example that works like charm is here