Add textbox values to the sharepoint choice list column - sharepoint

I am a beginner in PowerApps + SharePoint List development. I have a form that contains a list of a few items. I am trying to implement a textbox for the user can add the new item if the item did not exist in the Listbox.
I am tried a few workarounds for this, But I understand there is no straightforward method to achieve this. I already found if it's a dropdown list it provides a search box for searching the items that do not exist in the items. But I want to achieve this on the Listbox.

I got a solution for doing this
If(Not IsBlank(DataCardValue#.Selected), DataCardValue#.Selected,{Value: DataCardValue#.SearchText,'#odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"})
It works fine for me.

Related

SharePoint 2010 search scopes: Hide lists, show only elements

I have a SharePoint list. It is a custom list with items.
However when I search for a word from the title of an item, the item shows up aswell as the list itself. I want to hide the list and only want to show the items.
I tried it with search scopes. If I set a rule with the criteria "Author" and my username, it works fine. I can't seem to find the right attribute for the listitems. I tried contentclass = "STS_ListItem" but it won't work.
I tried all contentclasses from this link:
http://slalomdotcom.wordpress.com/2010/04/07/sharepoint-2010-search/
but none shows my results, only when I set up the Author criteria.
Anybody has an idea how I could solve this problem?
Thanks in advance.
Niels

Link a custom column to SharePoint List items

Status: I have a custom list, and a custom column.
Problem: SharePoint lists has a built-in column called "Title". When you create a new item in the list, the item "Title" column is by default linked to the item with edit menu. I am trying to use this linkage by linking a custom column to the item. I want to disregard the built-in "Title" column and have my own custom column (i.e: "Issue") linked to the item.
I've looked around and I found this solution:
To link the Item to a specific column/field, you need to open the list in SharePoint Designer and edit the view AllItems.aspx in Advanced Mode, then look for the "ViewFields" tags and add LinkToItem=”TRUE” at the end of the column name tag like:
FieldRef Name="My Column" LinkToItem="TRUE"
Sadly however, the suggested solution above didn't work for me even though it worked for some (including the author). I followed it to the letter, and tried it on a different columns and content types. But it did not work. It would never link.
Any help?
Thanks.
Are you using SP 2013?
If this is the case the you shlould use "linkToItem" (small l).
I hope this works.
Best regards
Leandro.

adding a checkbox against each item of a list in the view ( sharepoint 2007 )

In sharepoint 2007 i have created a list.
i am using a default view to add items to the list.
how can i add a checkbox against each item in the view. to select one or many items and then do something like copy these items to another list ?
any help appreciated
I`ll just provide you with a link to resource and another great example how to select and do action on multiple list items.

Custom column in list

Can any one tell me that, Is is possible in wss to have our custom column in a view of list. The way how we are adding edit and delete column in asp.net grid by setting autogenerateedit button property to true. I have to write my custom login on click event of that button. This action is going to be common for all list items.
Thanks
Sachin K
I am afraid that it is not possible out of the Box in SharePoint (WSS / MOSS). If you want to have such an option, you might need to create a Separate page that will have code to do the opertion. Try out the SPGridView and SPDataSource.
Else I would suggest (Recommend) you to have a look at the DataSheetView option provided by the List, it will list List item details as all editable format, like Excel sheet.

Can I change the column that links to the item with edit menu in a sharepoint list?

There was a similar question asked but it wasn't exactly what I am trying to do.
Here is a link to the question: Auto Number Column in SharePoint List with Link to Item
Two solutons were offered to that question.
Could either of these solutions work for an imported list I have where Sharepoint has decided which column links to the item with edit menu? I want to change which column does this as I need to change the format and this means removing the column that has defaulted to being the link to item with edit menu.
You cannot dynamically change the menu column OOTB in SharePoint. To "move" the menu to a different column, you should create a new computed column and wrap the rendering (DisplayPattern) with the _EditMenuTableStart and _EditMenuTableEnd fields.
To see an example of how to do this, take a look at the "AddMenuColumn" PowerShell script from the iLoveSharePoint project on CodePlex. The script is pretty straightforward, so you should be able to translate it into code if you need that (or add declarative using features).
You could also just use the script as it is, to add the new menu column to your list.

Resources