Cannot "Add new Item" in my SharePoint 2010 custom lists
Hi guys,
All these days it was working fine and all of sudden now when i click on "Add new item" in the the custom lists which i have created in my SharePoint 2010 and fill in the fields and click "save",
I am getting an exception...:(
Please HELP!!!
Neo Alpha
One more thread for the same issue
http://social.msdn.microsoft.com/Forums/en-US/51f37f3b-18a3-4d6b-b90f-2a4240306bf8/when-update-a-folders-property-it-throw-a-comexception-0x81020089
hope this will help you
Senthilrajan Kaliyaperumal
Similar Messages
-
Cannot add new items to a value list in AW database
I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?Oops
I read too fast.
Here is a short script which may help.
Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
Select the field to fill and run the script.
Then choose an item in the displaid list. It will be pasted in the selected field.
This trick would give you to work with a "no limit" list of items.
-- [SCRIPT DB fillFieldFromAlist ]
Assuming that
the front document is a database one
and that a text field is selected,
run the script to select an item in a list
and paste it in the field.
Yvan KOENIG, Vallauris (FRANCE)
le 19 mars 2007
property MyList : {"item 1", ¬
"item 2", ¬
"item 3", ¬
"item 4", ¬
"item 5", ¬
"item 6", ¬
"item 7", ¬
"item 8", ¬
(* edit the list to fit your needs *)
tell application "AppleWorks 6"
activate
tell document 1
set laClasse to (get class of selection)
if laClasse is not field then return (* the selection is not a field *)
set myItem to choose from list MyList
if myItem is false then return
set the clipboard to myItem's item 1
select menu item 7 of menu 3 (*
Tout sélectionner •• Select All *)
paste
end tell -- document 1
end tell -- AppleWorks
-- [/SCRIPT]
Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53) -
Crystal Report not listed Add New Item for Visual Studio 2010
I just finished installing cryestal report for visual studio 2010.
During the installation a visual studio error dialog popped up "Operation cannot be completed. Access Denied", the crystal report installation continued and was informed that the installation was successful.
But on opening my visual studio project to add new item, crystal report item is not listed there.
Is there anything that needs to be done to get it listed in the Add New Item dialog for visual studio?I wonder what file you ran to install CRVS2010? Was it the MSI as opposed to the actual install file?
The link to the correct install is here:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe
Is that the file you ran to install CRVS2010? E.g. as opposed to:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
- Ludek -
Edit Add New Item link in certain view of list in SharePoint Programmtically
this is my requirements
i have one list called List 1 and two content types on it
CT 1 and
CT 2 and create two views on the list
View 1 to display items of CT 1
View 2 to display items of CT 2
the creation of list and views is done via XML
now i need to change the URL of add new item link in every view to open its content type, i.e. when i was on view 1 i click on add new item, it will open new item form of CT 1 and hen i was on view 2 and click on add new item, it will open new item form
of CT 2
i do a lot of search on the internet but get the following code but it doesn't work for me, i already wrote it in event receiver
SPSecurity.RunWithElevatedPrivileges(delegate()
SPWeb web = properties.Feature.Parent as SPWeb;
web.AllowUnsafeUpdates = true;
SPList contractList = web.Lists.TryGetList("Contract");
SPLimitedWebPartManager webpartManager = web.GetLimitedWebPartManager("Lists/ContractList/SICET%202A%20Contract.aspx", PersonalizationScope.Shared);
foreach (System.Web.UI.WebControls.WebParts.WebPart item in webpartManager.WebParts)
if (item.GetType().Name == "XsltListViewWebPart")
XsltListViewWebPart listViewWebPart = (XsltListViewWebPart)item;
Guid guid = new Guid(listViewWebPart.ViewGuid); // get the view details which is applied to web part
SPView sicet2AView = contractList.Views[guid];
sicet2AView.GetType().InvokeMember("EnsureFullBlownXmlDocument",
System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.InvokeMethod,
null,sicet2AView,null);
PropertyInfo nodeProp = sicet2AView.GetType().GetProperty("Node", BindingFlags.NonPublic | BindingFlags.Instance);
XmlNode node = nodeProp.GetValue(sicet2AView, null) as XmlNode;
XmlNode toolbarNode = node.SelectSingleNode("Toolbar");
//sicet2AView.ViewFields.DeleteAll();
if (toolbarNode != null)
string toolbarType = toolbarNode.Attributes["Type"].Value;
string linkText = "abdeen";
toolbarNode.Attributes["Type"].Value = "Freeform";
XmlAttribute positionNode = toolbarNode.OwnerDocument.CreateAttribute("Position");
positionNode.Value = "After";
toolbarNode.Attributes.Append(positionNode);
//toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><![CDATA[ <table width=100% cellpadding=0 cellspacing=0 border=0 > <tr> <td colspan=""2"" class=""ms-partline""><IMG src=""/_layouts/images/blank.gif"" width=1 height=1 alt=""""></td> </tr> <tr> <td class=""ms-addnew"" style=""padding-bottom: 3px""> <img src=""/_layouts/images/rect.gif"" alt=""""> <a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com""]]></HTML><URL Cmd=""New"" /><HTML><![CDATA["" ONCLICK=""javascript:NewItem(']]></HTML><URL Cmd=""New"" /><HTML><![CDATA[', true);javascript:return false;"" target=""_self"">]]></HTML><HTML>" + linkText + @"</HTML><HTML><![CDATA[</a> </td> </tr> <tr><td><IMG src=""/_layouts/images/blank.gif"" width=1 height=5 alt=""""></td></tr> </table>]]></HTML></Then></IfHasRights>";
toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com"">Test</a></HTML></Then></IfHasRights>";
sicet2AView.Update();
//listViewWebPart.ViewGuid = sicet2AView.ID.ToString("B").ToUpper();
//listViewWebPart.Visible = true;
webpartManager.SaveChanges(listViewWebPart);
web.Update();
but it doesn't work, my first trail is changing the text of the link then go to change the link any help plz
Mohamed AbdeenHi,
The “Add new item” button will redirect users to add new item with the default Content Type of the current list.
So a workaround can be like this: We can change the default Content Type of this list every time when users open this list view page, then the “Add new item” button will work
as you expected.
Here is a link with code demo about how to programmatically set a content type as default content type in a SharePoint 2013 List:
http://www.ashokraja.me/tips/How-to-programmatically-set-a-content-type-as-default-content-type-in-a-SharePoint-2013-List
We can put the code into a Visual Web Part and add it into your two views, then when users open a list view page, the code will be executed to change the default Content Type
of the current list.
To develop a custom web part, you can take a look at the links below with steps in detail for a start:
Creating Web Parts for SharePoint
http://msdn.microsoft.com/en-us/library/ee231579.aspx
SharePoint 2013 Create a Visual Web Part
http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
How to disable custom list --Add New Item in share point 2010
Hi,
I have associated the workflow for the custom list .So i should not allow user to add any item on the custom list.
Regards,
LakshmiI understand that you want to restrict users from adding item to a list but they can do it from workflow.
You can break inheritance on that list and remove all permission.
Now run workflow using elevated privileges to add item to list
http://office.microsoft.com/en-in/sharepoint-help/what-is-permissions-inheritance-HA102772762.aspx
office.microsoft.com/en-001/sharepoint-foundation-help/edit-permissions-for-a-list-library-or-individual-item-HA101805400.aspx
Try above
If this helped you resolve your issue, please mark it Answered -
PSE 9 Organizer; cannot add new items to catalog, do I need to rebuild it?
I'm using Photoshop Elements 9, running on Windows 7.
And PSE9 says it is updated to the latest version.
I have about 35000 images, using about 89 G. And I have about 160 Gb space left on the hard drive.
(I'm using a Swedish version, so I might not be using the correct English terminology everywhere.)
I have been using PSE 9 for a couple of years, and suddenly I have problems with the catalog.
1) When I've edited an image, (.jpg) in Photoshop elements, and saved it, using the "save in version set with original" option,
I don't see the edited version in the catalog. But, looking in the file system, the saved file is there.
2) When I try to import new images, (.jpg), using Import from files and folders, it first tries, then I get a Popup message saying: Nothing was imported. The files or folders marked for import contains files with unsupported formats, or, the files already exist in the catalog." My files are .jpg as I've been using all the time, and they definitely don't exist in the catalog.
My conclusion is that maybe the catalog has become corrupted. I do remember there was a time when my computer was bogged down for some reason, and PSE9 was extremely slow, maybe I interrupted something in the middle, or something, but I'm not sure. That might have been when the corruption happened, but this, is just guesswork.
Anyway, I have tried to Optimize the catalog, and then repair it, as suggested as a workaround for this kind of problem. And that, rebuilt the index, which took some hours.
But this, did not solve the issue. I still have the same problems.
So now what to do. According to the Help information on this site, the next step is to create a new catalog and reimport all the images.
So here comes my questions:
1) Could there be other solutions? (I assume not.)
2) Could the problem be something else? (I don't want to do the work of reimporting everything to a new catalog, to find it does not solve the problem).
I was a little worried about the size of the catalog, but I see nowhere a limitation to the catalog size or number of images in it. I was also a little worried if this could be related to some computer performance issue. But, the machine works nice and clean now.
3) When recreating the catalog, is there any way of preserving the tags, and version sets? In case not; is there any way of telling PSE9 to treat a certain file naming convention as version sets? such as myImage.jpg and myImage_edited-1.jpg?Oops
I read too fast.
Here is a short script which may help.
Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
Select the field to fill and run the script.
Then choose an item in the displaid list. It will be pasted in the selected field.
This trick would give you to work with a "no limit" list of items.
-- [SCRIPT DB fillFieldFromAlist ]
Assuming that
the front document is a database one
and that a text field is selected,
run the script to select an item in a list
and paste it in the field.
Yvan KOENIG, Vallauris (FRANCE)
le 19 mars 2007
property MyList : {"item 1", ¬
"item 2", ¬
"item 3", ¬
"item 4", ¬
"item 5", ¬
"item 6", ¬
"item 7", ¬
"item 8", ¬
(* edit the list to fit your needs *)
tell application "AppleWorks 6"
activate
tell document 1
set laClasse to (get class of selection)
if laClasse is not field then return (* the selection is not a field *)
set myItem to choose from list MyList
if myItem is false then return
set the clipboard to myItem's item 1
select menu item 7 of menu 3 (*
Tout sélectionner •• Select All *)
paste
end tell -- document 1
end tell -- AppleWorks
-- [/SCRIPT]
Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53) -
Add new items to the top of a list in iWeb
One of my sites is for a cat charity :
www.catsprotectionshop.com
When a new cat is added it is easiest to add it to the bottom of the page. The alternative would be to move all the others down to put it at the top.
Is there an easy way to move the existing items down, please?Here's the page in iweb :
And this is thepage on the web :
http://wyodor.byethost8.com/cats/Adoption/Adoption.html -
HT5557 I cannot add new/pre-release books to my Wish List.
I can add books that have been previously released. I would think that since iTunes promotes pre-release advertising that they would allow users to flag the title for future purchase.
I click on the down arrow at the Buy/Order/PreOrder window but "Add to Wish List" is not an option.Thanks. That solved it. I had my doubts since I wasn't concerned about my lost bookmarks. I was concerned about the broken functionality. In any event, restoring from a backup solved both the functionality and the lost bookmarks. I appreciate the response!
-
Sharepoint 2010 - Cannot make field Required in Add New Item form.
I made a fleld Required by making the proper selection in List Settings > Editing the column. It now shows as required when I edit an existing record in the list, but is not required when adding a new item. Why does the setting not apply
to the Add New Item form? How can I make it apply/required?
btw, there are no content types associated with the list.Hi ,
According to your description, my understanding is that you cannot make field required in the list new form.
For my test, I created a custom list , added a non-required field and added some records. Then I made the field required. But it worked fine as expected both in existing records and in Add New Item
form.
Do you have some customization in your list new form?
You can go to your list -> Customize Form under list tab, then the new form will be opened in the InfoPath. In the InfoPath, right click the field and select Text Box Properties, make sure “Cannot
be blank” has been checked.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
How to disable Add New Item in SharePoint 2013
Hi,
I want to disable the Add New Item button after the user created one item in SharePoint 2013.
Is it possible to disable?
Please reply
Thank youI'd do it creating a custom web part that would mimic the list web part, and have logic in there that makes sure to hide the button once an entry by the current user has been made in the list. You could also create a workflow that would remove the user's
permission to add a new item on the list upon creating an item.
Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com -
How to change the url of "Add New Item" of a particular list in SharePoint 2013???
Hi Guys,
How to change the url of "Add New Item" of a particular list in SharePoint 2013???
I need to redirect it into the page where I have created my Visual web part.
Please suggest
Warm Regards,
Tony JoyHi,
There are multiple ways to change the form url like javascript, SharePoint designer, custom code, editing default form to have custom web part etc, Please follow the url below that describe diffent methods and steps
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec2769a0-683c-4023-8804-b596e4f92a3a/change-default-forms-on-custom-list?forum=sharepointcustomizationlegacy
Hope it helps!!!
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet -
Hello,
I am using Internet Explorer 9 to create a new item by launching Performance Point Dashboard Designer from browser.
When i click on "Add new item", an Iframe will open showing dashboard design redirect which keep loading for couple of minutes and the designer never opens.
Yes, there are working workarounds like opening these links in other tab or opening dashboard designer directly or by clicking on "Run Dashboard Designer" from BI Center homepage.
However, Can someone please help me how to get designer opened when "Add new item" has been clicked from PerformancePoint Content List from browser?
Thanks in advance.
NKV Prasad PanthangiAn Update :
I found this is due to the browser limitation.
I have downgraded my Internet Explorer Browser to IE 8 and did the following changes in my browser settings.
Tools --> Internet Options --> Navigate to Security Tab --> Click on Custom Level Button --> Under Download --> Select "Enable" radio box for Automatic Prompting for File Downloads.
Sadly, I cannot ask users to downgrade their browser to IE 8 because MS already stopped support for this browser and there are no other solution for this except going by workarounds.
This clearly says why people are moving away from PerformancePoint Services in SharePoint.
Thanks
NKV Prasad Panthangi -
I have a list which has a underlying infopath form for insert and edit a record.
The list has various views spread across different pages .
Now depending on different pages "New Item", a value for the form will have a corresponding value.
If there is a single line of text control in the list, and depending ona page name, the value for the single line text should be autofilled when Add new item is clicked.
How do i achieve that?
Thanks...Hi,
According to your description, there are several list views in your list, there is a textbox control which holds the “Single Line of Text” type of data in your custom
form. When users click the “Add new item” button in one of the existing list views, you want the textbox control in the custom form to be populated automatically.
By default, when user clicks the “Add new item” button in a list view, the URL of the custom form page will contain the name of that list view page, thus, a workaround
which requires custom code can be like this:
After the form page loaded, we can extract the name of the list view page from the URL, then populate it into the textbox control immediately. This can be achieved
using jQuery.
About how to
get URL parameters of current page using jQuery:
http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html
About
adding jQuery into InfoPath form:
http://riteshudupak.blogspot.com/2010/09/add-jquery-to-browser-enabled-infopath.html
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
How to add new item in more options dialog box
Hi all,
Can anyone tell me how to add new item in more options dialog box(site actions -> more options). I want to add new item there to the new page layout which I created but I didn't find any way to do it. can anyone assist me for this.Good point, in order to add a Page into that area, you will need to define a Custom Action. You can learn more about creating Custom Actions here:
http://msdn.microsoft.com/en-us/library/hh500259(v=office.14).aspx
As an example, Microsoft uses the following Custom Action to add the "Publishing Page" to that Create Silverlight control when enabling the Publishing features:
<CustomAction
Id="CreatePublishingPage"
GroupId="WebPages"
Location="Microsoft.SharePoint.Create"
Sequence="100"
Title="$Resources:cmscore,Create_WebPages_PublishedPage;"
Description="$Resources:cmscore,Create_WebPages_PublishedPage_Description;"
ImageUrl="/_layouts/images/ltpp.png">
<UrlAction Url="_Layouts/CreatePage.aspx" />
</CustomAction>
Dimitri Ayrapetov (MCSE: SharePoint) -
Why "New Item" in ribbon and "Add new item" in xsllistview link to different form
Hi all,
I have a question. I have a list with two new forms, one is created in SPD the other one is created in InfoPath (both forms are created by developer).
I don't know why the new form link to different page when I click "New Item" in ribbon and "Add new item" in list view.
1. Will open new form that created in InfoPath when click on "New Item" in ribbon.
2. Will open new form that created in SPD when click on "Add new item" in list view.One way to do this would be to hold the urls for the pages you need to display in a table. You could then build the links as one of the columns of a report using some fancy SQL.<br>
<br>
Or you could make a simple function to return the correct link based on the relevant parameters:<br>
<br>
create or replace function get_url (p_criteria in varchar2) return varchar2<br>
is<br>
lv_url varchar2(500);<br>
begin<br>
if p_criteria = 'Personal' then<br>
lv_url := 'http://host:port/pls/portal/etc...';<br>
end if;<br>
etc...<br>
return '<a href="' || lv_url || '">' || p_criteria || '</a>';<br>
end;<br>
<br>
Your report could then include the function as one of the columns in your report.<br>
Not very elegant but it should do the job.
Patrick.
Maybe you are looking for
-
How do I brighten a video in iMovie for Mavericks?
Since Apple likes to update their software without telling people the changes they made or how to access their old menus in the new interface, I am confused. I want to brighten a video. I don't want to use the new chance feature. I want to brighten a
-
How do I open a pw protected zip file?
This question appears to be different from similar questions asked because I HAVE the password. I really don't want to download extra safe-cracker's-anonymous software to hack into it. The file just never gives me the option of entering it. I have th
-
Hello Every one, Can any one please point me to good documentation on how to enable PCR for MSS. If any one has step by step implementation of MSS . Can you please forward me. Thanks, Boiler
-
Itunes music artwork mixed with book covers?
After a certain version fo itunes.I forgot... It'd start putting my book covers on my music artwork. I mean even if I try to add new artwork the book cover won't come off..... Even trying to readd the music.
-
Where can I get help on issues related to Adobe AIR?
First, please be sure to review the Adobe Air release notes to determine whether the issue you're experiencing is a known one. Second, try searching for a resolution to your issue in on our Tech Notes page. Next, search the Adobe AIR forum to see if