Unlink a list item from source item

by Mark Deraeve 24. July 2009 05:34

When you use the Copy method, to copy a list item from one list to another, the item is linked automatically to the source item. This enables the user to go to the source item, even if we don't like it.

the solution is to unlink the item. This can be done manually, but when you copy using coed, you can directly unlink the item like this:

SPListItem.Copy(SPContext.Current.Web.Url + "/" + _doc.Url, _publicLibUrl + _doc.Name);
SPListItem fileToUnlink = site.AllWebs[_publicSiteName].GetListItem(_publicLibUrl + _doc.Name);
if (fileToUnlink != null)
{
fileToUnlink.UnlinkFromCopySource();
fileToUnlink.Update();}

The first try I forgot to add the .Update(). It is required to to this, if not, your change is not updated and the item is not unlinked. The unlinking cannot be undone.


Tags: ,

Comments (47) -

blog belajar internet
blog belajar internet
8/8/2009 5:41:25 AM #

This is pingback or trackback right.??

seo analysis
seo analysis
12/20/2010 10:06:02 AM #

I find blogging one of the good ways of internet marketing. I have received a small number of visitors on my site especially from the sites where I commented their blogs.

cursive tattoo font generator
cursive tattoo font generator
12/20/2010 10:12:39 AM #

When you have a desire for something, you'll enjoy the process  connected with that passion. The more you welcome the enthusiasm, the more you will end up moved to take action. This can take place in almost any area of endeavor, whether it's a hobby or a desire to completely improve your life's work. You certainly place a lot more energy on to a task you are obsessed with. But don't mix up eagerness with delusion. Keep everything in perspective and feed your passion.

cheap healthy cooking
cheap healthy cooking
12/20/2010 11:43:04 AM #

Amazing! This post really opened my eyes.  It would've been great if the edge hadn't have gone off the screen.  I think it was the picture at the bottom.  Happy holidays!

Alejandra Melgarejo
Alejandra Melgarejo
12/20/2010 1:13:54 PM #

Interesting article. Were did you got all the information from?

online surveys cash
online surveys cash
12/20/2010 11:53:53 PM #

This is the reason I keep coming back to this site. I can not believe all the new content since my last visit!

Amy Klobuchar
Amy Klobuchar
12/21/2010 12:41:44 AM #

I really do not think I would ever be able to keep up with running a website like this! Fantastic piece of work and I just would like to see you keep up the pace for a good long time.

tv online
tv online
12/21/2010 12:57:31 PM #

Interesting info here. Please continue to study and post beeter fo for us.

what to eat to build muscle
what to eat to build muscle
12/21/2010 9:26:17 PM #

Wow! This post truly opened my eyes.  It would've been fantastic if the edge hadn't have run off the screen.  I believe it was the image at the bottom.  Merry Christmas!

Cordell Malave
Cordell Malave
12/21/2010 9:52:40 PM #

You actually wrote about several engaging things here. I found it by using Bing and I've got to admit that I am now subscribed to your website, it is extremely decent (:

mydirtyhobby livecams
mydirtyhobby livecams
12/22/2010 1:04:03 AM #

I uploaded a YouTube video -- mydirtyhobby Amateursex Freestyle Bhangra http:youtu.becXF0keBpG6o?a

Smokeless Cigarettes Now
Smokeless Cigarettes Now
12/22/2010 5:40:33 AM #

Hey, That was a fantastic blog post thank  very much for sharing this information with everyone.

tv online
tv online
12/22/2010 3:41:12 PM #

http://www.tv-online-live.com - watch tv online

How to increase semen
How to increase semen
12/22/2010 6:57:17 PM #

Have you ever pondered why anyone might wish to enhance the volume of seminal fluid they ejaculate? The answer is improved performance and satisfaction in the bed  

whey protein recipes
whey protein recipes
12/23/2010 4:17:19 AM #

I have a couple of questions.  How can I use this in every day life?  Will it help me to follow what you have outlined here?

Sheree Morreale
Sheree Morreale
12/23/2010 8:14:39 PM #

Hi, i think that i saw you visited my blog so i came to "return the favour".I am trying to find things to improve my website!I suppose its ok to use some of your ideas!!

Doris Leonette
Doris Leonette
12/25/2010 9:37:30 AM #

The trouble utilizing Private label rights web content is most people usually do not utilize it effectively.  These people need to either apply it to acquire ideas for themes to write about or even fully re-write it or spin and rewrite it up and then simply put his or her own identify onto it.

Gay Dating
Gay Dating
12/25/2010 4:58:37 PM #

When I use this search engine to find websites to be able to learn your own has arise several times about numerous groups. which simply made me want to go through it far more, I can see why. It is excellent. Keep up the awesome work and I will continue reading.

Palawan Beach Resort
Palawan Beach Resort
12/26/2010 1:49:22 AM #

I have found a fantastic place to go for your next holiday.  It's beautiful and unspoilt with amazing beaches you can have all to yourself.  It’s Palawan in the Philippines.

creation site internet mulhouse
creation site internet mulhouse
12/26/2010 7:34:25 PM #

Great article. I wish I could write so well.

e cigarettes
e cigarettes
12/28/2010 1:30:15 PM #

I smoked for 12 years, I quit immediately after trying the e-cigarette. It's been over a month now and I am feeling excellent. I have not gone back to cigarettes at all, not once.

cheapest car rental
cheapest car rental
12/29/2010 5:29:06 AM #

1. Great article it is actually. We've been searching for this tips.

You made some good points there. I looked on the web for the problem and located most individuals will approve along with your blog.

Buy Backlinks
Buy Backlinks
12/31/2010 10:05:32 AM #

I love your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you? Plz reply back as I'm looking to create my own blog and would like to know wheere u got this from. thanks

grants for college
grants for college
12/31/2010 3:47:21 PM #

There is evidently a bundle to know about this.  I consider you made various nice points in features also.

download youtube videos
download youtube videos
1/1/2011 2:26:04 AM #

Have you tried freecorder before for downloading youtube?  If so - got any feedback? Would love to hear your review.

cf tera patrick porn
cf tera patrick porn
1/1/2011 3:51:12 PM #

Your blog is outrageous! I mean, Ive never been so entertained by anything in my life! Your vids are perfect for this. I mean, how did you manage to find something that matches your style of writing so well? Im really happy I started reading this today. Youve got a follower in me for sure!

Sherika Teem
Sherika Teem
1/1/2011 5:00:51 PM #

When did you start this website..? I am interested to receive updates when someone makes a new entry on my Kindle.

Iraida Vanham
Iraida Vanham
1/1/2011 11:11:49 PM #

I'd like to post a snippet of this article on my new website I hope you will allow me! Thank you

Michal Woodis
Michal Woodis
1/2/2011 10:50:29 PM #

I would like to quote this article on my new blog I hope the author will let me! Thanks

celeste star tori black
celeste star tori black
1/3/2011 1:02:16 AM #

I have studied a few of the articles on your blog, and I genuinely like your style of writing. I added it to my bookmarks blog site directory and will be coming back in the near future.

Randy Joos
Randy Joos United States
9/3/2013 6:11:35 PM #

I just want to say I'm new to blogging and site-building and really liked your web site. Most likely I�m going to bookmark your blog . You really have terrific article content. Cheers for sharing your web site.

http://ps3mediaserverdownload.blogspot.com
http://ps3mediaserverdownload.blogspot.com United States
9/8/2013 11:55:41 AM #

This is getting a bit more subjective, but I much prefer the Zune Marketplace. The interface is colorful, has more flair, and some cool features like 'Mixview' that let you quickly see related albums, songs, or other users related to what you're listening to. Clicking on one of those will center on that item, and another set of "neighbors" will come into view, allowing you to navigate around exploring by similar artists, songs, or users. Speaking of users, the Zune "Social" is also great fun, letting you find others with shared tastes and becoming friends with them. You then can listen to a playlist created based on an amalgamation of what all your friends are listening to, which is also enjoyable. Those concerned with privacy will be relieved to know you can prevent the public from seeing your personal listening habits if you so choose.

sex and fuck
sex and fuck United States
12/6/2013 6:33:08 AM #

Hi there,  You've performed a great job. I'll certainly digg it and in my view recommend to my friends. I'm confident they'll be benefited from this site.

WP Simple Split
WP Simple Split United States
12/13/2013 4:33:34 AM #

Hey There. I found your blog using msn. This is a very well written article. I�ll make sure to bookmark it and return to read more of your useful information. Thanks for the post. I�ll definitely return.

buy injectable steroids online
buy injectable steroids online United States
12/18/2013 2:58:32 PM #

Lovin your blogs Ive discovered in some time! Its simply amazing exactly how i can take away from some thing simply because of how aesthetically gorgeous it is.

austin texas persaonl injury attorneys
austin texas persaonl injury attorneys United States
12/24/2013 12:46:48 PM #

Should you are using WordPress, to about arrive spam difficulty just set up plug-in contact Akismet.

Denver SEO
Denver SEO United States
12/28/2013 6:42:07 PM #

Really Nice Blog! If you are looking for Denver SEO, make certain to check out www.ethicalseoconsulting.com

Denver SEO
Denver SEO United States
12/31/2013 4:47:00 PM #

Really Nice Blog! If you are looking for Denver SEO, make certain to check out www.ethicalseoconsulting.com

Denver SEO
Denver SEO United States
12/31/2013 5:15:17 PM #

Denver SEO firm, www.ethicalseoconsulting.com might be exactly what you are looking for!

Denver SEO
Denver SEO United States
12/31/2013 5:15:17 PM #

Really Nice Blog! If you are looking for Denver SEO, make certain to check out www.ethicalseoconsulting.com

injury attorney austin
injury attorney austin United States
1/1/2014 9:28:49 AM #

I can not but agree.I usually wanted to jot down in my web site some thing like that but I suppose you'r more rapidly. Ciao, Pricey Pal!

personal injury lawyers austin
personal injury lawyers austin United States
1/4/2014 8:11:08 AM #

detailed about my trouble. You aare incredible! You then can listen to some playlist created based on an amalgamation of what all your close friends are listening to, which is also enjoyable. I like it when folks occur together and share tips. Great internet site, maintainis an excellent start, but it's currently hampered by the inability to store locally on your iPod, and incorporates a dismal 64kbps little bit rate. If this changes, then it will somewhat negate this advantage with the Zune, but the 10 songs per month will however be considered a big plus in Zune Pass' favor. Just after I originally commented I clicked the -Notify me when new remarks are added- checkbox and now each time a comment is added I get 4 emails together with the identical comment. Is there any manner it's possible you'll remove me from that service? Thanks! I always was concerned within this subject and continue to am, thankyou for putting up. You may definitely see your techniques within the get the job done you generate. The earth hopes for more passionate writers like you who are not worried to state how they believe. Constantly follow your heart. Whoa, this internet site is excellent and that i appreciate looking at your posts. Keep up the awesome work! You have an understanding of, many folks are hunting spherical for this facts, you could possibly enable them alot. I am about to bookmark your web site. Thanks. Howdy! I read your web content everynight, just just just after I water my plants Terrific write-up. I was examining continuously this web site and i'm amazed! Incredibly handy information and facts in particular the final element I care for these types of information lots. I was searching for this distinct info to acquire a quite lengthy time. Thanks and best of luck. Useful and precise Pleasant weblog suitable in this article! Additionally your site quite a tiny bit up incredibly rapidly! What world wide web host are you the use of? Can i get your affiliate connection in the host? I want my web-site loaded up as quickly as yours lol I will constantly been dying to read perfectly about detailed article I do agree with all of the ideas you've got offered in the set up. They're quite convincing and can undoubtedly give great results. Even so, the posts are incredibly brief for newbies. Could you make sure you extend them somewhat from up coming time? Many thanks towards the submit. I need to position out my adore for the kindness supporting women and men who seriously want guidance on this vital concern. Your specific commitment to passing the concept all close to ended up obtaining quite powerful and have undoubtedly empowered men and women today like me to see their ambitions. Your incredible warm and pleasant recommendations signifies a complete lot to me and more additional to my office colleagues. Many thanks lots; from all of us. I plainly wished to cultivate a uncomplicated remark to appreciate you for all the precious secrets you might be producing at this web-site. My considerable net lookup has last but not least been recognized with superb facts and techniques to jot down about with my neighbours. I'd point out that a lot of us internet site guests actually are undoubtedly endowed to generally be inside of a great neighborhood with so numerous brilliant persons with beneficial suggestions. I sense quite lucky to obtain encountered your entire site and show up ahead to some ton of extra pleasurable moments studying appropriate listed here. Thanks once more for that lots of particulars. I like this submit, enjoyed this one many thanks for publishing. "The goal of revival is conformity into the image of Christ, not imitation of animals." by Richard F. Lovelace. Sorry for that huge review, but I am definitely loving the new Zune, and hope this, as perfectly as the excellent assessments some other individuals have written, will assistance you decide if it truly is the appropriate choice for you. This can be acquiring a little a lot more subjective, but I significantly prefer the Zune Marketplace. The interface is colorful, has far more flair, and some neat features like Mixview' that let you quickly see connected albums, songs, or other users similar to what you're listening to. Clicking on 1 of those will center on that item, and yet another set of "neighbors" will arrive into watch, allowing you to navigate all around exploring by comparable artists, songs, or users. Speaking of users, the Zune "Social" is also terrific enjoyment, letting you locate other people with shared tastes and becoming friends with them. You then can listen into a playlist created based on an amalgamation of what all your good friends are listening to, which is also enjoyable. Individuals concerned with privacy will likely be relieved to understand you may prevent the public from seeing your own listening habits if you so choose. Where by can i receive a cheap bathroom renovation estimate I do not need to pay a whole lot.. Surf shorts are designed to withstand being abruptly pulled off. For safety, surf shorts are extensive. Surfers cover surfboards that has a layer of sticky wax, this wax allows a surfer to comfortably stand on a surfboard without the fear of losing grip. Without shorts covering a surfers legs, the surf wax could potentially stick to a surfers leg hair and then rip when attempting to stand up. Though built for functionality, the design of beach shorts is known to change extra often based about the newest trends in popular clothing style. There are actually a lot of distinct colors, styles and prints to consider when buying a pair of shorts. Board Shorts To assure that the shorts stay on, there is both a velcro fly as well as a lace tie that circles the waist. A person of the most convenient factors on swim shorts is the pocket. Having a pocket on a pair of trunks is extremely efficient for holding a car key when browsing. Board shorts are known for their loose and lengthy style. For safety, surf shorts are very long. Though made for functionality, the design of beach shorts is known to change additional often based within the most recent trends in popular clothing style. When known for being lengthy, swim trunks can also be as short as over the knee. Many guys prefer wearing their beach shorts low enough that their butt shows. Board shorts appear in all distinct patterns including hawaiian floral, stripes, solid colors and more. Thanks for sharing your thoughts on brick and motar. Regards I enjoy examining a put up that can make you think. You already know your net marketing, and i just like many of the free reports! I often emailed this site post web site to all my pals, since if choose to study it up coming my links will way too. If Dr. Weidert provides a blog site, is it possible to submit that sometime? There is surely quite a bit to understand concerning this topic. I like many of the points you manufactured. Ahaa, its pleasant dialogue concerning this bit of creating below at this weblog, I've examine all that, so at this time me also commenting at this area. Hi there, following reading this awesome piece of producing i am also happy to share my knowledge below with colleagues. Many thanks for your enlightening post. I intend to employ these suggestions being much more productive! I discovered you site accidentally, and preferred to let you are aware of that it really is actually exciting to go through. I've bookmarked the internet site to come back back again to in the long run. It really is a embarrass you don't have a donate button! I'd definitely donate to this amazing site! I estimate representing now i'll settle representing book-marking and including your RSS feed to my Google account. I glance progress to brand pristine updates and can distribute this website with my Facebook team. Chat soon! I like everything you guys are usually up far too. This kind of clever operate and reporting! Keep up the wonderful is effective guys I've integrated you guys to my own blogroll.

Austin personal injury lawyers
Austin personal injury lawyers United States
1/9/2014 8:30:00 AM #

a blog every single as soon as within a although that isn't a similar outdated rehashed data. Aw, this was an particularly nice publish. Getting the

car accident attorney Austin
car accident attorney Austin United States
1/23/2014 4:45:14 PM #

content. I cherished your post! The place am i able to obtain out a lot more details about this? Is it alright to put element of the on my particular blog site if I submit a reference level to this webpage? Awesome article, many thanks, I will bookmark you now! Is it okay to location portion of this in my personal webpage if perhaps I submit a reference to this world-wide-web web-site? Indeed it's ok. This actually answered my dilemma, thanks! A insightful article there mate . Thanks for that ! I really like that website format . How do you help it become!? Its really interesting. Dude. This blog site is neat! How does one allow it to be search this great . It appears to me this world-wide-web internet site doesnt load up on a Motorola Droid. Are other people having precisely the same dilemma? I enjoy this site and dont wish to have to miss it any time Im absent from my computer. Have you ever considered including a couple of social bookmarking links to these blogs. In the pretty least for bebo. Have not imagined of that. Any Strategies on how to go about it? This truly answered my difficulty, thank you! In the event you dont thoughts, wherever do you host your weblog? I am looking for the superior internet host and your webpage appears to become particularly fast and up just about every one of the time I use hostgator Just to permit you know your web site seems to be a little bit unusual on Safari on my pc with Linux . It appears to be to me that this web site doesnt load on a Motorola Droid. Are other folks having the exact exact situation? I enjoy this webpage and dont wish to have to miss it when Im absent from my computer. Have you considered incorporating some differing opinions towards the article? I do think it will genuinely enhance viewers knowledge. This weblog web page is excellent. How did you enable it to be ? I purchased an book on world wide web designing and that i follows the step by step outline within. It is actually incredibly easy to utilize as I do not even know HTML. A appealing blog site article correct there mate . Thanks for submitting ! Just identified this page thru Yahoo, what a pleasant shock! Just identified this web site thru Google, what a pleasant shock! Desired to drop a remark and enable you realize your Feed is not functioning today. I tried introducing it to my Google reader account and got certainly absolutely nothing. Thanks for the observation but I have not but set up a feed for this site very handy stuff, total I picture this can be worthy of a bookmark, thanks If you could information me having a several hints & suggestions on how you manufactured your blog site web site glance this awesome, Id be appreciative. The appear for your internet site can be a tad off in Epiphany. Even So I like your site. I may well really need to set up a normal browser just to enjoy it. Have you ever assumed about incorporating some relevant links to the report? I do think it will really enhance viewers comprehending. Have you considered introducing some videos into the article? I think it will definitely enhance everyones knowing. I've not believed of that. Any Idea? Have you considered including some social bookmarking links to these websites. At the extremely least for bebo. Have not thought of that. Any Tips on it? This website web page has some definitely practical info on it! Cheers for helping me. I like your wordpress net template, exactly where did you get yourself a hold of it? Nice put up ! Cheers for, commenting on my blog webpage gentleman. Ill message you some time. I didnt realize that! As soon as I originally commented I clicked around the Notify me whenever new opinions are additional checkbox and now each time a comment is extra I receive 4 emails using the identical comment. When i start your Feed it appears to generally be being a great deal of garbage, will be the issue on my side? I enjoy your wordpress template, in which did you get yourself a hold of it? I downloaded it from the world wide web working with google lookup engine Hello just wished too provide you with a quick heads up. Thee terms within your

Whitney Mcclinsey
Whitney Mcclinsey United States
1/30/2014 6:24:54 PM #

Helpful information. Fortunate me I discovered your website by chance, and I am surprised why this coincidence didn't happened in advance! I bookmarked it.

personal injury lawyers Austin
personal injury lawyers Austin United States
2/24/2014 10:48:38 PM #

Also pay a visit to my weblog; viagra - 210.240.29.141/wiki/index.php?title=Viagra_online I definitely adore your site.. Pleasant colors & topic. Did you make this incredible internet site oneself? Make sure you reply back as I am setting up to make my really possess site and want to discover where by you obtained this from or just what the topic is called. Respect it!

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About the author

I started as a VB6 developer, programming all kinds of applications. I also got involved in the development of a e-market in ASP.

When .Net was introduced, I had the privilege to start in a team of professionals and develop a framework. I learned a lot and started to work as a c#.Net consultant from then on.

After 2 years I also got the chance to work for several months with Sharepoint. Sharepoint kept chasing me all the years after and when the product got more and more mature I started to love it. Now Sharepoint is a somewhat daily occupation for me. I implemented a large quality document management system at PMRL being the only developper/technical analyst. Working close togehter with the QA department we succeeded in making and improving a very good Quality document management system. Its used up until this day.

I worked for 6 years as a .Net consultant for 2 of the largest consultancy companies in Belgium. I mainly worked as a Sharepoint engineer, but also .Net expert and several ASP.Net and Windows applications. One of my last projects with the consultancy was creating a custom LIMS system. This was a succes and the customer asked me to stay and help to expand and maintain this LIMS. I had great years in this company. There was a focus on innovation and a lot of opportunities for improving and developping new IS systems. Apart from several small projects I further more improved the custom LIMS system, created a SOP library based on Sharepoint and a web based Skill matrix system to handle the skills of the employees in the company. 

Then I was involved in transferring the LIMS to a new lab in Singapore. This was done in a short time frame. The deployment was again a success and it passed the GLP inspection tests. I learned a lot from the Quality engineers about validation of computerized systems.

At my current job I have a wide range of challenges. Mainly I'm still working with .Net (VB.net and C#.Net). But outside of the Microsoft world I also do some ABAB programming in our SAP system. Like developing Adobe Forms and the program behind it. Or making small changes to customized code.

Latest I started to follow a course from Stanford Univercity on Objective C programming for IPAD and IPHONE.I just finished the first app for IPad and it appears to be a great succes. People in the factory are working with IPad to take pictures and upload them to orders. Already more and more projects are coming my way. The iOS apps are supported by a home made .Net architecture that exposes WCF services. Its working great. My second app is almost ready for deployment in factories. Now I started an App for the management team so they can manage projects on their IPAD and IPHONE.

My linkedIn!

Month List

Tag cloud

Locations of visitors to this page