Questions tagged [custom-field-types]

field type that has been custom developed and not provided out-of-the-box

Filter by
Sorted by
Tagged with
11
votes
3answers
3k views

Purpose of the <MAPPINGS> CAML element in a custom Choice Field definition

I have yet to find a clear answer to this topic, so I'm writing this question in hope that someone can explain me the correct way to achieve my goal. I must also add that all my test was done on ...
6
votes
1answer
141 views

Custom field type from SPFieldLookup - item values are not appearing in List view

I have created custom field type with SPFieldLookup as a parent class. Using my custom field type, I can able to create custom lookup type columns where source columns are of types: Choice and User ...
5
votes
1answer
2k views

Render Pattern in list view for “custom field types” sharepoint 2010

I have developed a custom field type which will show the link to the "workflow history list" in the list (It's a column in the list). It works fine in sharepoint 2007 site. when i migrate the code to ...
5
votes
2answers
6k views

Is it possible to have a lookup field with multiple source lists?

I have two lists: list A and list B. List A should have a new multiple choice lookup column that allows the user to choose items from both list A and list B. Is this even possible? I have a kind of ...
5
votes
1answer
848 views

Creating a Custom File Upload CoreProperty Field?

I'm currently working on a site where the client has requested a "Resume" field where they can upload a Word Document of the person's Resume. So far, I have created the CoreProperty field: "Resume" ...
4
votes
1answer
1k views

Attaching a document to an item

Is there any way in SP 2007 of showing a column name and a file attachments dialog similar to the one that is displayed when clicking the link 'Attach' on a an list's newform.aspx but as a list column ...
4
votes
2answers
1k views

Custom field type won't postback

I've been trying to build a custom field type. It's basically a set of cascading dropdowns, where the values of the second dropdown are taken from another list based on the selected value in the first ...
4
votes
2answers
4k views

Problems with Custom Field Type list view rendering in 2013

I'm upgrading an existing 2010 Custom Field Type to work with 2013. Where possible I'm attempting to re-use code from the 2010 version, to avoid duplicate work. The main problem I'm coming across ...
4
votes
1answer
4k views

Custom field type XSL in SP2010

Has anybody upgraded an old custom field type to use the new XSL transform in SharePoint 2010? I have a multi-column field type, and want the Display pattern to render the 2nd "column", which contains ...
4
votes
1answer
246 views

Custom Field Type in 2013 Not Respecting Header Template

I have a custom field type with a fldtypes_xxx.xsl template that we have carried forward from a 2010 solution into a 2013 solution. The Number_body template we are using works just fine. However, I ...
3
votes
2answers
9k views

what does “ows” means and why people use it before name of a field

I seen at different places if a field has a name "LinkFilename" then while trying to get its value using CAML query or any other way, developers put it as "ows_LinkFilename", can someone explain it to ...
3
votes
3answers
1k views

Can I use a custom field type icon instead of value?

I'm creating a new custom field type to go with my custom document library. What I want to do is to have the column display a small icon upon meeting a certain condition, for example if the element ...
3
votes
3answers
245 views

Possible to have an administration page for a custom type?

I've created a custom type and I would like to have a custom administration sight where a few global settings can be defined. I've done a bit of looking around but haven't found anything that shows ...
3
votes
3answers
6k views

Override the custom field rendering in a list view

When creating a custom field in SharePoint 2010, what method do I need to override to control what is rendered for the custom field type in the list where it is used? I tried overriding GetFieldValue ...
3
votes
1answer
220 views

Custom field type editable in Excel mode?

I have written a custom field type with this definition (to be used in SP2010): <FieldTypes> <FieldType> <Field Name="TypeName">MyField</Field> <Field Name="...
3
votes
1answer
4k views

Custom Field XSL — Name vs FieldType

I've created a custom field according to the following walkthrough: http://msdn.microsoft.com/en-us/library/ff606773.aspx My field XML is as follows: <FieldType> <Field Name="...
3
votes
1answer
1k views

Passing a C# object into an XSLT in SharePoint 2010 without using a custom web part

I have created a custom field type that renders the input as an html link. The xsl transform that creates the link tag should prepend the user input with a base url from an xsl parameter. I want this ...
3
votes
1answer
433 views

Why do I get an error updating a custom field type from 2007 to 2010?

I'm upgrading a publishing site from 2007 to 2010, the upgrade completes with errors in the upgrade log, all of which relate to a particular custom field type. An example of one the errors is here: [...
3
votes
0answers
116 views

Optional Field in SharePoint Online Doesn't Allow Blanks

First time coming over to the SharePoint area here. I'm experiencing an issue with our company's team site. We've set up custom managed metadata fields which use a closed term set. Changes cannot be ...
3
votes
1answer
620 views

Filter list items using custom field type in REST API

I have a custom field type created by inheriting default SPFieldLookup type field. I have a SharePoint custom list with these type of fields. I want to fetch list items from this list using REST API. ...
2
votes
1answer
213 views

Changing the field type of a column to a custom field type

Here's the situation: I have a site column of type Choice that is used in content types and libraries. Document libraries contain items. So the site column is currently used. I have created a custom ...
2
votes
3answers
939 views

Does Designer make page XSL static?

I've been chasing some weird problems with a Custom Field Type on a page that has a list view web part with Designer-provided Conditional Formatting. It seems like the XSL for the fields have been ...
2
votes
2answers
2k views

SetCustomProperty within OnSaveChange

Saving Custom Field Type properties using SPField.SetCustomProperty within the IFieldEditor.OnSaveChange event does not seem to work, for reasons explained elsewhere. I've seen all kinds of bodges ...
2
votes
1answer
743 views

Custom field in edit mode

I have created a custom field type. I have added the field in a list and added a new item through it. Display mode also shows the value perfectly. But when I edit that item and my field is in edit ...
2
votes
3answers
111 views

How can I create a column that always points to the same hyperlink and is not editable

Working with foundation 2010. I'm trying to create an admin configurable read-only hyperlink field. I'd like a column type where I can specify the url and description (in the content type ...
2
votes
2answers
2k views

Custom field sorting and grouping

Is it possible to implement a custom field type where sorting and grouping in list view webparts will work correctly? I have a scenario with a cross-site collection lookup field we implemented and ...
2
votes
3answers
6k views

Page layout not showing Content type fields

I'll try my best to describe this problem as it is quite tedious. We have a sharepoint solution, in where we create Columns that are deployed through a feature. I added my custom columns to a custom ...
2
votes
2answers
3k views

How do I format the Custom Field DateTime?

I want to create a date input box. When you select a date, it puts it in the format dd/mm/yyyy using the following Custom Field. <Field ID="{3a521b04-fca1-4707-9134-fa4acd1456d8}" Name="...
2
votes
3answers
1k views

SPListItem.Add method bug. Always create Folder instead of Item

I have created a custom lookup field inherited from SPFieldLookup. It works exactly like SPLookupField but allows user to add new values. These new values gets added in the Lookup list and becomes ...
2
votes
1answer
675 views

JSLink and lookup field problem

I am trying to make a cross site lookup field. So for now I made javaScript file and overrided the JSLink parameter. I want to made it clear for sharepoint and followed clientforms.debug.js practice....
2
votes
3answers
6k views

Sharepoint: How to enable a field when a check box is selected on new item form?

In Sharepoint, I need modify a new item form of a list to make a field visible/invisible when a check box is selected: For example: There is a checkbox field called "Is XYZ affected?" When a user ...
2
votes
1answer
1k views

SPContext.Current.FormContext.OnSaveHandler Not Firing from Custom Field Type Control

I am having the exact same problem described here. Unfortunately because I don't have 50 points yet I can't comment on it so I have to create a new duplicate question. I mean it's not "100% EXACTLY" ...
2
votes
2answers
6k views

How to remove a field from the list settings page

I created one custom list. While deploying that list, it gives me a deployment error. I remove that solution from the solution gallery and recreated the list with similar functionality with another ...
2
votes
1answer
439 views

Custom Field Type error when deploying solution

I'm having problems when deploying a solution that creates several custom columns, for the content types I need to use. As it turned out I needed a couple custom field types for my application. The ...
2
votes
1answer
2k views

Get all users from active directory to sharepoint

I have to populate my autocomplete PeopleEditor-like control based on brililant ASPTokenInput with all people from my AD domain. Reflecting PeopleEditor shows a real mess in their Active Directory ...
2
votes
1answer
1k views

listdata.svc and custom field types

I have a custom SharePoint field, that inherits from SPFieldMultiColumn (always a SPFieldMultiColumt(2)). When I add this field to a SharePoint list it works good. But I can't see that field in the ...
2
votes
1answer
449 views

Easiest way to display computed field Or Is custom Field only option

I have a need to calculate working days until an item is due or working days past due. I also have to exclude holidays and the holidays may or may not apply to that item based on what project the ...
2
votes
0answers
104 views

Update custom field type without having to remove the column and adding it back

I have a custom field type that I use in SharePoint 2013 lists. The custom field type is built using C# and JS and it extends the built-in SPFieldMultiLineText. When I updated the RichTextMode ...
2
votes
1answer
429 views

How to create Resource with custom fields

I need to create resources which might have custom fields. I've encountered the issue that, if the custom field is mandatory, then I get an exception after running context.ExecuteQuery();. This is my ...
2
votes
0answers
471 views

CQWP display custom field from all lists in subsite

I am trying to build a CQWP to display custom fields on list items from several lists in a subsite. So far i have configured the CQWP.webpart file to display the custom field when i query by "Show ...
2
votes
0answers
285 views

Custom field XSLT Rendering Issue in SP 2007, Works on 2010

I have created a VS 2008 WSP builder solution. IN that i have a custom field which has a XSL for list item view rendering using XSLT. This Solution does not render the image or hyperlink in SharePoint ...
2
votes
1answer
507 views

Deployment Issue with Custom FIeld Types

SHORT DESCRIPTION Custom Field Types are not being correctly deployed/activated on all but one Virtual Machine. I have several VMs with identical SharePoint environments. I have a Visual Studio ...
2
votes
0answers
636 views

Error: TypeName property is missing in a field type definition

My Windows Application event log continues to show me the error: "TypeName property is missing in a field type definition." I am setting the TypeName property in the fldtypes_MyCustomField.xml ...
2
votes
0answers
291 views

Are Display Form FieldControls used in 2013 Custom Field Types?

When using a Custom Field Type that has a Field Control (provided by FieldRenderingControl), it seems that the Field Control isn't used when rendering data on the Display Form if the SPField.JSLink is ...
2
votes
2answers
288 views

Problem retracting custom fields

I have this project with custom field for a content type. When I deploy the first time after creating the new field everything is fine. Once i retract the solution my field is the only one left on ...
2
votes
1answer
885 views

Custom Field Type Problem in “ViewMode” Sharepoint 2010

I'm creating a Custom Field that shows me multiple links... In edit or new mode it uses an Asset Picker to let the user choose links... When the item is display in the view it shows (using overriding ...
2
votes
1answer
898 views

How to create SPLink in Sharepoint 2010? Custom Type Field

I'm creating a custom field that stores multiple link inside. The user control works, but it shows me the link like text so now I'm overloading the GetFieldValueAsHtml to modify the HTML.. How can I ...
2
votes
2answers
1k views

How do I create custom control or action that works in a list's DataSheet view?

I have created a cascading lookup column field for a list in sharepoint 2010. It's working fine in the Standard view but not in the DataSheet view. In datasheet view it is showing all the possible ...
1
vote
3answers
3k views

Choices from Sharepoint list

How do get choices from a Sharepoint list, so the users has a way to define new choices. Right now I have defined fields in elements.xml, but that is static. Anybody know how? I would be really ...
1
vote
2answers
3k views

Get Lookup table value via REST

I've got a project server app in which I hava a custom field that gets populated through a lookup table I've previously filled. What I want is to get the value of this custom field using the REST ...