WSS3 SP2 Search cannot find list item by number column - sharepoint

When I add a new column to a list in WSS3 (SP2, note: not MOSS), the search feature cannot find items by the values in those columns.
What I've done:
Added an issues list (built in)
Added a column called customid of type number to the list
Added a column called customref of type text (single line) to the list
When I add items, the search feature detects them (after indexing is run) by the title, Issue ID (built in), and customref. However, when I search by the customid, it returns no results.
I cannot find any documentation online which indicates that this is a limitation of WSS3.
Does anyone have any idea why this is happening?
Your time is much appreciated

basically you would have to create a managed property to achieve the functionality you are looking for but i'm afraid that you can not achieve in WSS alternatively you can use search server which is also a free you can find more details about search server at following links
http://technet.microsoft.com/en-us/library/dd183108(v=Office.12).aspx
http://technet.microsoft.com/en-us/library/cc297193(v=office.12).aspx

Related

How to search for specific items in a SharePoint list?

I want to know if there is a way to search a sharepoint list for specific items. So in my list there is around 4,000 items, each with a specific Issue ID, the searchbar in the top left does not search for the issue ID it searches for something completely different as it never returns the correct item. IssueID is the first colum in the list.
At the moment, I'm having to export the list to excel and use CTRL+F to find specific items. Is there any possible way of changing the search bar so that it serahces for Issue ID?
You need to add the column to the search schema so it is indexed, otherwise the column wont be pulled into the search results.
There's a guide here: https://blogs.technet.microsoft.com/o365totd/2015/12/11/using-site-columns-to-create-searchable-metadata-in-sharepoint-online-office-365/

Getting the latest value of the item in a column and displaying that value into other list, without using code

I want to get the highlighted value, that is the latest value of the "Availed" from the list shown above, and display it on the second list's "Availed" column, circled below:
Basically, what I am trying to do is, whenever a new item is created in the second list, it fetches the latest value of the "Availed" from the first list and displays in its "Availed" column.
I have tried couple of lookups with IDs and dates using SharePoint designer 2013, but every time I am getting the first entry.
The only way, I could achieve this was, by mentioning the exact item ID in the lookup, but I do not want that. I want that it should automatically pick the latest value when a new item is created in the second list.
Also, there are couple of solutions online using the code, but I am not that great at coding and want to achieve this feature without coding.
Is there a way we can do this without a code?
You could create a workflow for second list, in your workflow, call REST api by 'Call HTTP Web Service' action, Sample here.
Use rest api to get the latest value by $orderby, demo here.

How do I expose the actual value of a Document Library custom column based on People and Groups in SharePoint 2013?

SharePoint 2013 in Office 365
I have added a custom column to a Document Library. The column is called "Author", and it is a lookup of type People and Group, filtered to show People only, and shows the field Name.
I have a workflow that is conditional upon the column being non-empty, but the Workflow builder doesn't have is empty or is not empty for that Current Item.FieldFromSource (Current Item:Author), so I've read the value into a string variable
Now I can check for existence:
However, I found that the behaviour of the Workflow was somewhat inconsistent, and as you probably know if you've read this far, Workflows are notoriously difficult to debug. So, I created a Task that would run after the loop, assigned to the CurrentUser, that would show the value of the two data items (this in the Task Description):
Value of author = [%Variable: Author_Value%]
Other author = [%Current Item:Author%]
When I run the Workflow (having set the Author to Joe Bloggs) and examine the Task, instead of the author's name it has more-or-less gibberish.
Two questions -
1 - how can I output the Name of the Author, since that's what I thought I'd done?
2 - why is there not an is empty / is not empty for lookups? All of them, no matter what they are bound to, only seem to expose equals / not equals.
Thanks, and hope this makes sense!
Edward
Just discovered that outputting the Current Item:Author as string is the issue - I've changed this to Display Names, Semicolon Delimited and it all works fine. I still don't understand why the condition builder on lookup columns doesn't give you more than equals / not equals but hey ho, this is SharePoint.

SharePoint Web Parts can not be connected via hyperlink fields

In short:
I'm trying to filter an XSLTListViewWebPart based on what is selected in another XSLTListViewWebPart. Using a String field as connection this is working fine. Using a hyperlink field no data is displayed.
In more detail:
I have two lists, say Accounts and Projects. Both have a hyperlink field accountURL.
All accounts have different accountURLs. Different projects can have the same value for accountURL. Both are displayed on a page using the XSLTListViewWebPart.
The simple goal is to filter the Projects list based on which item is selected in the Accounts list using the accountURL field. So I established a web part connection using the acountURL as a filter. Alas, when an item in the Accounts list is selected no items are showwn in the Projects list although I double checked that there are matching values.
When using a string field instead of a hyperlink field for accountURL everything works like a charm. Problem is, I need the hyperlink field.
Is this desired behaviour? Do you have any suggestions for a workaround?
(I already tried converting the hyperlink field to a string field via a calculated column which did not work out either.)
All was and is to be done in the web interface or SP-Designer. Coding a WSP is not an option for this problem. As I'm not quite familiar with the correct terminus technicus I use field and column interchangeably.
All help is greatly appreciated.
Ben
Someone on the Microsoft forum suggested the following workaround which does its job well:
Add a hidden text column to both lists.
Use a workflow which is triggered on item creation and update to copy the value of the hyperlink column to the hidden text column.
Connect both webparts using the hidden column as filter.
Nonetheless, I still wonder whether it is possible to use hyperlink columns or other special columns for filtering. I also had the problem that I cannot use a person column as lookup.
Does anyone know if whether there ist some kind of overview
which column types can be used for filtering/formulas/lookup/...?
Cheers,
Ben

Retrieving a sharepoint list in Infopath only shows first 100 records

I am retrieving a list of values from a sharepoint list, which works well but my problem is that it only retrieves the first 100 records. there are currently 500 records that should be available.
Scenario: I have two comboboxes on an infopath form:
A List of Locations
A list of areas within the locations
the list of locations will filter the list of areas but as infopath seems to only retrieve the first 100 records so most of the locations do not show any areas as there is nothing to filter.
By design, the query will only return the first page of results from the default view for the list. Change the item limit for the default view in SharePoint, and you'll change the returned values for InfoPath.
EDIT (links from my comments, here for greater readability):
Here are sources describing this fix in MSDN forum (scroll to the bottom), a blog comment that describes the SharePoint setting step-by-step, one with a screen cap of the somewhat counter-intuitive interface, and another describing performance implications on the server side.
Hope this helps.
Just documenting what I have discovered trying to resolve the problem. I have not been able to change the default view as yet as I dont have the permission to. That should change though.
One possible workaround I have found is that you can export the list to Excel which contains all the data that I was looking for. the file that sharepoint produces is an Excel Query file like "export.iqy". You can save and open the file in notepad. which will look something like the following
WEB
1
http://SharepointSite/_vti_bin/owssvr.dll?XMLDATA=1&List={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}&View={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}&RowLimit=0&RootFolder=%2fLists%2fSharepoint%20Sites
Selection={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}-{8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}
EditWebPage=
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
SharePointApplication=http://SharepointSite/_vti_bin
SharePointListView={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}
SharePointListName={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}
RootFolder=/Lists/My list
You can take the third line which is -
http://SharepointSite/_vti_bin/owssvr.dll?XMLDATA=1&List={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}&View={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}&RowLimit=0&RootFolder=%2fLists%2fSharepoint%20Sites
And use that to retrieve the complete list. I added an new receive data connection, selected an xml document and added the above URL.
It is not formated particullary nice but it will return all the data that I was expecting.
I think that Argalatyr solution is much simpler at this point, but it depends on if i am able to get the default view changed.
there is yet one workaround of this without such hardcoding. If you open Query editor, then you have there available ribbon with menu items. Open "Home" -> "Select top rows" and enter there some realy high number (I have in my list 596 rows, so I entered there as limit of top rows 20000 and I got whole list).
Sorry, I don't have available English version of Excel, so I cannot add screenshots.
enter image description here

Resources