tag:blogger.com,1999:blog-5495217247354866797.post1389804186355619933..comments2023-03-24T16:40:55.122+01:00Comments on Antoine.MOSS2007: SharePoint 2007 - Create field lookup and associated list as a featureAntoine Pichothttp://www.blogger.com/profile/15190228901796083769noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-5495217247354866797.post-86121807525770729902008-06-30T09:31:00.000+02:002008-06-30T09:31:00.000+02:00Thanks for the code, Antoine.Some thoughts on it.T...Thanks for the code, Antoine.<BR/>Some thoughts on it.<BR/>The most methods can be static. An utility class will be better than inline blocks of code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-7867179274861659562008-03-20T10:23:00.000+01:002008-03-20T10:23:00.000+01:00Hi Antoine,I've deployed the solution, my lists ar...Hi Antoine,<BR/>I've deployed the solution, my lists are correctly created and my lookup fields reference these lists. But... when I try to create a item (using a lookup field), even if the dropdown list is correctly populated, I can't save the item :<BR/><BR/><I>"Invalid data has been used to update the list item. The field you are trying to update may be read only."</I>.<BR/>Did you have the problem?<BR/><BR/>Thanks!<BR/><BR/>-------------------<BR/><BR/>Bonjour Antoine,<BR/>J'ai déployé la solution, les listes sont bien créées et les lookup fields associés pointent bien sur ces listes.<BR/>Mais... quand je veux créer un item (comportant un lookup field), même si la liste déroulante comporte les bonnes valeurs, je ne peux pas enregistrer :<BR/><I>"Invalid data has been used to update the list item. The field you are trying to update may be read only."</I>.<BR/>As-tu déjà rencontré ce problème?<BR/><BR/>Merci!Pierre G.https://www.blogger.com/profile/03298851774176545741noreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-10417423119392376992008-02-21T20:29:00.000+01:002008-02-21T20:29:00.000+01:00Hi Antoine,Thank you for your solution, it's worki...Hi Antoine,<BR/>Thank you for your solution, it's working great and saves me a lot of trouble. But still have an issue when using the resources; the resources are not working and i tried all the folders (12/resources; ...). Below the field declaration, thank you for any tips on this issue.<BR/><BR/>Field ID="{2227273B-3CA7-4507-9577-20EB18001CE3}"<BR/> Name="ServiceField"<BR/> StaticName="ServiceField"<BR/> SourceID="http://schemas.microsoft.com/sharepoint/v3"<BR/> Group="$Resources:SiteColumns,MyGroup;"<BR/> DisplayName="$Resources:SiteColumns,LookupField;"<BR/> Type="Lookup"<BR/> Mult="TRUE"<BR/> Required="FALSE"<BR/> List="CustomList;Services List"<BR/> ShowField="Title"<BR/> UnlimitedLengthInDocumentLibrary="FALSE"<BR/> DisplaceOnUpgrade="TRUE"<BR/> FieldAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-67413824091466640332007-12-31T14:18:00.000+01:002007-12-31T14:18:00.000+01:00I use VS 2005 Team Edition. It seems you can't thi...I use VS 2005 Team Edition. It seems you can't this project with VS Tools for Application.<BR/><BR/>Naijacoder, you'll find a solution in developping a custom field.Antoine Pichothttps://www.blogger.com/profile/15190228901796083769noreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-47700670302625465992007-12-27T03:41:00.000+01:002007-12-27T03:41:00.000+01:00Excellent work to improve the lookup field code. ...Excellent work to improve the lookup field code. Did you use particular VS extensions to create the project. I am unable to open the VS project file in VS 05.<BR/><BR/>Thanks in advanceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-8968193018747986932007-12-14T01:31:00.000+01:002007-12-14T01:31:00.000+01:00Hi Antoine,I'm not sure whether your solution woul...Hi Antoine,<BR/>I'm not sure whether your solution would solve my problem but<BR/>I have created 2 columns(Choice field - dropdown list) in a doc lib.<BR/>1)Category<BR/><BR/>2)Types<BR/><BR/><BR/>Currently when users are uploading document they have to select a category then a Types but this 2 fields aren't related.<BR/>But what i want is when they choose a Category i want certain fields of Types to populate based on the Category they selected.<BR/><BR/>I want to to have dependent dropdownlist like a normal asp.net app<BR/><BR/>Any ideas?<BR/><BR/>Thanks in advancenaijacoderhttps://www.blogger.com/profile/09244341510241881160noreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-977191968922015922007-12-13T17:04:00.000+01:002007-12-13T17:04:00.000+01:00This comment has been removed by the author.Antoine Pichothttps://www.blogger.com/profile/15190228901796083769noreply@blogger.comtag:blogger.com,1999:blog-5495217247354866797.post-19150759317282181912007-12-07T01:47:00.000+01:002007-12-07T01:47:00.000+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.com