i have been asked to develop a feature of cloning list items in sharepoint. do you think it means the same as copying the list item to another list ?
i found a couple of places saying that this can be very tricky. and take care of versioning issues etc.
has someone already implemented this because i am not sure which method to follow out of the ones i found from google ? my list is a pretty basic one so i dont think i need versioning issues fixes etc.
please give me a link to help me out regarding this.
any help appreciated
Thanks
I found a solution at the below location. Hope that helps
http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=107
Do you need to clone the item to the same list as the parent item? Then it is not that tricky. See my response in this post: How to copy SPListitem from one SPList to Another SPList
I recently wrote a blog post about synchronising two lists, which sounds like what you are after.
Have a look here.
Related
I have a plug-in on Pre of RetriveMultiple.
It works well, but does not display charts.
Have someone met solution for such problem?
Update:
I modified view with my custom GUID, if plugin found it, then performs action.
In PreRetriveMultiple I pass modified QueryExpression to context.InputParameters["Query"].
From this QueryExpression deleted my GUID and added list of records from link entity with OR condition.
Same issue:
By ZOHAIB UDDIN KHAN
His topic on community.dynamics.com with post by AASHTON that have this issue.
This is a fairly common issue. You can not remove the charts or dashboards from the query. There is not a good way to hide those views from the lists. I wish that I could explain the answer, but I can't... just the way it is.
Hope that it helps you by proving it's not just you! :)
I have a basic knockoutjs project loading data from a SharePoint 2013 list scenario. Getting data and displaying data is easy, the problem that I'm running into is on the edit mode displaying the proper control. Everything should not be a textbox. This means the people picker control to dropdownmenus to calendar controls.
MSFT has some pretty good documentation on using the client side people picker control here"http://msdn.microsoft.com/en-us/library/office/jj713593.aspx
The problem that I have is calling this control inside my viewmodel.
Setting the value of the control doesn't look difficult courtesy of this blog post: http://www.sharepointcolumn.com/sp2013-setting-people-picker-value-in-newform-aspx/
I attempted to looking into computed values, but that doesn't seem to work. Does anyone have a blog post that I skipped over? The closest related post that I can find: http://yetanothersharepointblog.wordpress.com/2012/12/11/working-with-sharepoint-lookup-columns-in-knockout-js/
Lastly since it seems that I'm the only one doing this, does anyone think that I should not be reinventing the wheel with my forms and should just link each item to the appropriate SharePoint list item in edit or display view? I suppose that would be easier.
From a SharePoint Professional to another, I would highly recommend you to do that.
Just redirect the user to the item edit/display item page an let SharePoint take the leash of how to handle UI form elements.
Because, assume that you implement your custom form, what if the user decides to add one more site column to the list? Will you update your code to support another field?
From my personal experience with the beast I've come to the conclusion that structural implementation over already existent functionality tends to go wrong.
Also, if you have some kind of listing of items custom made and you want to provide editing, try to do something opening a pretty SP.UI.ModalDialog, its elegant and you use the sharepoint to do the work for you.
But it's just an advise.
I want to link a SharePoint list to a map to color code regions, based on criteria from the list. Can someone help, or suggest an easy to build solution?
Thanks,
I would look at either custom development as suggest above, or look at contributing/re-using the following codeplex project http://googlemapswebpart.codeplex.com/
I noticed that sitecore has the option of exporting users in an Excel format.
I need to have similar functionality for exporting 'participations', (a users can enlist to take part in an 'event', and if their entry is approved via a sitecore workflow, a 'participation' item is created in the content tree)
Since mostly everything in Sitecore is in essence based on items, and I want to export items to Excel, my question is - what are some of the best ways of doing this?
Questions:
Is there a way to re-use this functionality for regular items?
Would it be a good idea to create a custom admin page (any tips on doing this?) which has some custom code that reads the items from the database using the API?
are there sitecore plugins/shared source projects that can help me achieve this?
Or does anyone have a better idea? - would it be better to just store the participations in SQL? I'm mostly doing it this way because I want to make use of the 'free' functionality offers, for example workflow, but if that leads to me using anti-patterns please shoot me ;)
Link is different now: https://marketplace.sitecore.net/en/Modules/Advanced_System_Reporter.aspx
P.S. Couldn't leave a comment to original answer as I don't have enough reputation. Oh well :)
Found a most excellent shared source module which does exactly this (and much more)!
Basically it allows you to configure (and easily extend, if you need to) any kind of table based report on 'items'.
The report module shows up as an application in the sitecore menu (like the user manager tool) and comes with features such as xml,csv, xls export. It's also really easy to set up, once you get the hang of it.
http://trac.sitecore.net/AdvancedSystemReporter
I have googled this and seem to only be able to find the same Tutorial here or variations thereof. I have two lists. Each one is on a different site. I need to make a list/view joining these two lists. One site contains basic employee data, (such as department) and the other site contains details about that department that we need to show on a high level overview of employee data.
It's sharepoint 2007, two sites, same collection
I used this tutorial.
He mentions "Please note: If your lists are on another site collection you will have to use the Connect to another library... link" and he includes a screenshot.
Aonther way to go is to roll your own field type and make it similar to a lookup field but instead make it go fetch data from a list in a different sitecollection. I donĀ“t have ready example of something like this but this post atleast explains how to go about constructing a custom field type.
I would use Sahil Malil's technique. However this is much the same as the link to Microsoft that you've already given. Why doesn't this do what you need?
Here are a couple good places that have worked for me.
Connect to Another Library in SharePoint Designer 2010
Displaying a SharePoint List from Another Team Site