Lookup column exceeds List View Threshold - indexing

I have created a list which contains records/list items more than the list view threshold which is 5000.
I have also created a site column (as lookup) which points to a column in this parent list.
I have added this site column to a library. And I uploaded a document. But when I edit the properties of the document, I could not update value for this lookup column. The error is showing as:
This is a lookup column that displays data from another list that currently exceeds the List View Threshold defined by the administrator (5000).”
So I have indexed this column in the parent list. from list settings -> indexed columns -> add a column
But still I'm getting this error.
The details of column in parent list is given below:
Type: Single Line of Text & Not Unique

As a workaround, we can use SPAutocomplete of SPServices library/REST API to avoid List View Threshold issue. Check the articles below.
Similar thread
Automatic Parent/Child List Relationships for Large Lists in SharePoint

Related

How to link a calculated id with a many to one field in Odoo studio?

I'm working for the first in a new app in odoo, and I have conditionals for several fields so I wanted to use a changing id with a many to one field, in other words my domain is where id=calculated_id which will be only one value, I tried to obtain a string of the name of the many to one field to try it to use it as the context but I retrieved a list of an object similar to [x_model_data(2,)] instead of the desired field value "test 2", I believe that the 2 of the parentheses relates to the calculated id=2

sm30: Set matching column heading

I created a table in SAP via se11, then I used the table maintenance generator.
Now I edit the table via sm30:
The second and the third column: Both have the heading "Feldname".
The first "Feldname" column is called COLUMN_NAME and its data element is "Fieldname".
The second "Feldname" column is called AUTH_FIELD and its data element is "XUFIELD"
I would like to see the column names which I gave the columns in se16 (COLUMN_NAME, AUTH_FIELD) in the heading.
How to prevent the table maintenance generator from giving other names in the headings?
Option 1 - use custom data elements:
Instead of using Fieldname and XUFIELD data elements, you can create your custom data elements and give them what header you would like.
(You will have to regenerate table maintenance)
Option 2 - editing screen
When generated the table maintenance, you supplied a function group and a screen number.
Go to SE80 -> Function Groups -> <function_group_supplied> -> screens -> <screen_supplied>.
Then edit it as you want.
Note: Modifying a generated object is considered risky. Your customized changes might be overwritten in a future regeneration.
Add custom data elements with suitable descriptions. Let the new data elements refer to the original ones (resp. the domains) to avoid having to reinvent everything.
Data element descriptions can be translated.
You can set different descriptions for different lengths, e.g. "Field" for the narrow column with length 10, and "Field name" for a wide label with length 30.
Regenerating the maintenance screen won't accidentally delete the changed descriptions.

Mapping field purpose in SchemaPropertyTypes table

I am trying Sense/Net Community edition features.
I defined and installed content type called "Vacation Request" successfully.
I want to know what is the purpose of "mapping" field in table: SchemaPropertyTypes
Many thanks,
I really, really hope you are asking this only out of curiosity, and not because you want to change something manually in the db - because it is not recommended :). Please always access the content repository through the API, do not query or modify the db directly.
Property types and values
Simple property values (like int or short text values) are stored in the FlatProperties table. This is a fixed-with table, containing a predefined number of columns dedicated to different types (e.g. x pieces of string columns, y pieces of int columns - see column names in the table).
Property definitions are stored in the SchemaPropertyTypes table, as you have found out.
The zero-based Mapping field in the SchemaPropertyTypes table defines the column index in the FlatProperties table for a particular property. E.g. a value of a string property with mapping 6 will be stored in the FlatProperties table's 'nvarchar_7' column (note the index is shifted by one, because the column name index is one-based).
If you take a look at the PropertyInfoView view (not table), it may help clarifying this: the last column of the view is a computed column that displays the column name that you can look up in the flat properties table.
(there are other useful SQL views there that display data in a more readable way)
Property 'overflow'
It is possible to register more properties of the same type (e.g. int) than can fit in one row in the FlatProperties table. Solution: Sense/Net stores these nodes in multiple rows - this is why there is a Page column there.
Although MS SQL Server supports a huge number of columns for some time, this design has been kept for compatibility reasons.
This is why you see mapping values in PropertyInfoView like 249 with column name nvarchar_10: the value is stored on page 3, which means that content occupies 3 records in the FlatProperties table.
'Other' property types
You may have noticed that in case of reference or long text properties there is no mapping. This is because we do not store them in the FlatProperties table, they have their own tables like ReferenceProperties or TextPropertiesNText.

How to validate field in InfoPath against separate SharePoint list

I have two SharePoint Lists. One is a simply a list of items with a title and description, the other is a list of requests which contain a workflow. These requests are requests for adding or updating items in list A.
I want to validate the Title field on the add new item form for the Request List. I'm wanting to check that the Title does not already exist in List A.
I know can set the properties to only allow unique values on the Title for List A but as these request are going into a separate list I am not sure how I can check to see if the item already exists in List A.
I am creating the forms for the Request List in InfoPath.
Any ideas would be great.
This is a rough idea, but you could load in List B into your data form and set a textbox to the value of the list, filtered by the title field from list A. If the field is blank then you know it doesn't exist already.
This blog can help with the loading and filtering of the list data:
http://pravahaminfo.blogspot.com/2011/05/filtering-sharepoint-list-data-using.html

How can I create multiple field sets in a list item in SharePoint 2010

Spawnable Field sets, bunches of them - all on a single list item. Can it be done?
In our particular instance, we're creating a look-up field and a couple of text fields that relate to the item.
The user needs to be able to generate those field sets multiple times in the same item, to look up a distinct value, and also enter information about that look-up in the other text fields.