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)
Similar Messages
-
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 -
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 AlphaOne 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 -
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 -
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) -
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 -
Hi!
Version Info: SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
I have two lists, let's call them
-Assets
-Asset Checkouts
"Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
Basically, what I need to accomplish is this: I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
for "Asset Checkouts" with the values from the selected items in "Assets".
Any ideas or suggestions on how to do this would be most appreciated!
Thanks!Hi,
According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
If so, we can achieve it with SharePoint Client Object Model.
We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
new item in "Asset Checkouts" list with the values needed.
Here are some links will provide more information about how to achieve it:
Use
SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
How to: Create, Update, and Delete List Items Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
Add ListItem with Lookup Field using Client Object Model (ECMA)
http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
In the ribbon, click the button “Default New Form”:
Then we can add web part into NewForm.aspx:
Best regards
Patrick Liang
TechNet Community Support -
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 -
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 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 -
Cannot move an item in a reminders list
Ever since upgrading to IOS 7.0.4 (from 6.1.5), the reminders app will not let me move items from any list below the first 4. It always forces the item back to the 4th list.
I can create new items in the lower lists, and can move things out, as long as the item only moves to one of the first 4 lists. Orientation has no bearing on this.
Any ideas, or is this yet another annoying IOS 7 bug that i can hope will one day be fixed.This is what I have just tried, on a new empty page. I have a table "users" (userid,usernname,countryid) and a table "countries" (countryid,countryname)
- put a dropdown list and fill it with a countriesRowSet
- drop a button and an outputtext on the page
- in the button action handler I put:
String v = dropdown1.getValue().toString();
outputText1.setValue(v);
return null;
- when I click on the button, I see the value of the country id in the outputtext: CORRECT
next step:
- drag&drop the table "users" on the dropdown list and choose "bind to selection"
- right click on the dropdown, then "bind selection to database..." and choose the users.countryid
- edit the usersRowSet query to add the "WHERE userid=22" (for example) so that a single users gets hit by the rowset (this emulates the "current" user)
- run the app
- I see the dropdown list, with all the countries in it, preselected with the country whose countryid is in the record for the user with userid=22 in the table "users": CORRECT
- I choose a different country, click the button...and I always get the same country id in the outputtext (the preselected one): WRONG!!!
what is weird is that the dropdown list correctly keeps the last selected value when the page is reloaded...but I cannot read that value from the code
I don't get why this happens
thanks again -
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. -
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 -
JQuery Tutorial needed to customize Add New Item and Edit Item forms
Hello,
I need a tutorial to use JQuery to customize the UI Screen of SharePoint to add a new item in a list.
since I don't have prior UI experience it will be nice if the tutorial is specifically targetted towards customizing the automatic form which is presented by sharepoint when we try to add an item to a custom lists.
val it: unit=()Hi,
According to your post, my understanding is that you want to customize the New Item and Edit Item forms using jQuery.
The following examples for your reference:
http://ankursharepoint.blogspot.com/2012/10/jquery-for-tabbed-navigation-in.html
http://social.technet.microsoft.com/wiki/contents/articles/21730.sharepoint-2010-conditionally-hide-fields-on-standard-list-forms-using-jquery.aspx
https://www.nothingbutsharepoint.com/sites/eusp/Pages/10-jQuery-Snippets-for-SharePoint-2010.aspx
jQuery Tutorial
http://www.w3schools.com/jQuery/
Thanks,
Dennis Guo
TechNet Community 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]
Dennis Guo
TechNet Community Support
Maybe you are looking for
-
WebCache Failed to start : Failed to assign port 80: Permission denied
Hi All, I have three server running IAS 10.1.2.0.2, running forms and reports application. One Infra and two Midtier. Suddenly Midtier1 is crashed, but before it happen I have already backup with TAR : OracleHome and all its related configuration fil
-
Message Mapping - SUM a field per unique combination of 2 other fields?
I'm receiving a proxy with detail records, and I need to create a subtotals file. Here an example: BEFORE MAPPING <ROW> <KOSTL>0000010300</KOSTL> <POSID>DUMMY</POSID> <FTE>0.51</FTE> </ROW> <ROW> <KOSTL>0000010400</K
-
Forgot my security question! no rescue email!
HELP! i forgot my apple security question answers and i don't have a rescue email address!!! please please please please HELP ME!!!
-
I Think I have a keylogger on my mac. Need Help!!!
ok so i was watching a youtube video, and I clicked a link by accident in the bottom. a grey screen came up and it looked like java was trying to do something. I quit safari and turned off my internet, however, I am worried about this. I followed the
-
Best settings for quality/size trade-off when exporting to QT?
Hi All, I've been using Keynote '09 (5.3) to record narrated slide shows (slides with me narrating by voice) for my online class "lecture" podcast series for a while - now that the beloved, but quirky and unsupported, ProfCast has fallen by the waysi