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
1
vote
1answer
262 views

Design View is Gone! How Do I Modify My List Views Now?

I have just recently moved into using SharePoint 2013 and 2013 designer. On my 2010 SP list, I have custom priority indicators which require me to open the list view in SPD and modify the valueof XLT ...
1
vote
1answer
50 views

Custom field and list view totals

I have created a custom field that inerits from a SPFieldMultiColumn. It stores the area size like this: 10;#km 25;#km I want to use this field in totals for list view. Is it possible to ...
1
vote
1answer
3k views

How Can I Create Password Field In SharePoint 2010

I had a problem with SharePoint data Types. when I create a single line text column, type of this column is text and when I want to use this column as password field, There is no option change type ...
1
vote
0answers
173 views

Custom Field RenderPattern Customization - SharePoint 2007

I'm creating a custom field in SP 2007. I need to Get the Custom field value and field properties on Item click, in the list item display view. Also i Need to pass these values to a JavaScript. So, ...
1
vote
0answers
872 views

Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it

I have created a custom field in SharePoint 2010. I have a xsl file which does the Xslt rendering for item display in list view. I need to add some C# code to the xslt code. So I included code as ...
1
vote
1answer
483 views

SharePoint 2010 - Create related hierarchical fields from external source

Is there a way to create two related columns as a custom field type in SharePoint? For example, can you develop a custom field type named CustomerOrder that consists of two related lookup columns ...
1
vote
0answers
196 views

SPFieldUrl does not work

I have an external list, items in that list have a field that contains an url. I want to show this url as a link in sharepoint form. I found this example and defined in my Creator and Updater methods ...
1
vote
0answers
221 views

System.MissingMethodException when creating new column based on custom RichImageField field type

I'm trying to create a custom field type inherited from the publishing RichImageField type. I did the following, 1- Created the XML declaration of the column as follows <FieldTypes> <...
1
vote
0answers
663 views

Custom Fields - how to get the value of one rendering control in another rendering control?

I am working with some custom fields. One of them is a choice field. I need to be able to get the value of the currently selected item in the choice field rendering control (i.e. what would be ...
1
vote
1answer
191 views

Does the SPField.OnAdded() method get called from a CAML deployment?

If I create a custom list definition and instance in CAML, as part of a feature, and I have included a custom field as part of that list, will that field's OnAdded() method get called when the feature ...
1
vote
1answer
380 views

Custom Column, Shared Properties and Document Sets

I have created a custom column with SharePoint and it appears to be working nicely. I have created a document library and added to it a document set content type. This document set has the custom ...
1
vote
1answer
365 views

ListItem GUID doesn't shown

I want to display the GUID of a ListItem in a column of a List. I have created a list with some fields, including a custom field to display the guid of each listitem, this field is not editable. When ...
1
vote
1answer
83 views

Parsing custom field type [closed]

I developed a custom field type for List, now I am trying to get list data using SharePoint list web services in "K2 workflow" I can get all fields values except this custom field type as I am not ...
1
vote
1answer
300 views

Custom Discussion Board Join User Profile Custom Properties Linked Datasource

I have been tasked with modifying the SharePoint 2010 default Discussion Board to include two additional custom fields that have been definied in the User Profile list. In an ideal world I would like ...
1
vote
1answer
201 views

Custom field type - how inherit attributes from base field type

I need to create custom field type which must inherit ATTRIBUTES from inherited field type (e.g. Note). I know how to add custom attribute on my custom type (using fldtypes...xml, custom ascx,...) ...
1
vote
0answers
250 views

How to Url Rewrite in Custom Field Type?

I'm creating a custom field. I'd like to pass some data to my control when the FieldRenderingControl property is getting. How could I do? I think about Url Rewriting but in the get, I can't access ...
1
vote
1answer
358 views

Issue updating a custom field type

I've created a custom field type called CompanyRule. I've created a content type call RulesCT with four site columns that are of type CompanyRule. Initially I can give and update the values of the ...
1
vote
1answer
188 views

After upgrade from 2007 to 2010 - Field Duplicate when trying to add feature

I upgraded a sharepoint from 2007 to 2010 with attaching the content database. After that i developed a new solution with the same content type i used in 2007. Adding the solution works fine but ...
1
vote
1answer
3k views

Custom field type rendering in XSLT

How can I render a custom field type with XSLT. I want to render in the same manner like I do with this CAML <RenderPattern Name="DisplayPattern"> <Switch> <Expr> &...
1
vote
1answer
2k views

Custom dropdown list field type in datasheet view (MOSS)

I would like to create a custom field type that renders a dropdown list, specifically to be used in the datasheet view. In the datasheet view it should render a dropdown list, (like a lookup field of ...
1
vote
3answers
587 views

How can I add Custom Field settings to all OOB Field types?

I need to add a custom "Check Box" property to all existing OOB SharePoint column types. This should appear in the Additional Column Settings section for any column type created; this property will be ...
0
votes
2answers
209 views

Export libraries and documents into filesystem preserving fields

I'm exporting some DOCX documents from site and subsites to filesystem, I would like to preserve: the site/library/file structure in the form of subfolder hierarchies fields (latest version, original ...
0
votes
2answers
316 views

How to create a custom field type which is inherited the “Text” field type

I am using sharepoint 2010. I would like to create a custom field type in Visual Studio which is inherited the "Text" field type. I never created a custom field type. Can someone tell me how to do ...
0
votes
1answer
65 views

Make formfields required in different form

I have two "New item" forms, and I have been wondering, is it possible to make the some of the fields required in one form, and in the second form the same fields not required. I tried to add ...
0
votes
3answers
2k views

SharePoint 2013 - Document Library Custom Field Type

In our testing, it seems we've found an issue where Document/Record Libraries in SharePoint 2013 refuse to work properly with a custom field control. We created a very simple custom field control, ...
0
votes
2answers
390 views

Custom Field with Custom Format

I have been tring to create a text field (SPFieldText) with a custom format XX-XXXX-XXXX and add a check (control) so that when you add a dokument with same property but different format to a document ...
0
votes
1answer
1k views

Display for Custom Field in List View

This post is the same as Override the custom field rendering in a list view, but I don't have the ability to ask a question to an answered post. I was hoping Stuart Pegg could elaborate on his answer....
0
votes
2answers
380 views

Filling a list instance's MultiUser Field

i created a UserMulti field inside my list's instance. Heres how i declared it. <Row> <Field Name ="Title">List1</Field> <Field Name ="aatMessage">Message place ...
0
votes
2answers
137 views

Access the column DisplayName from within a custom field's CreateChildControls()

I am making a custom field in SharePoint 2010. From within the CreateChildControls() function, I would like to refer to the field by the name it has been given in the list. Is this possible? For ...
0
votes
1answer
867 views

Custom Field Type - Multiple Edit Field Settings Sections

I'm currently creating a custom field type and I've followed all the online tutorials to create an edit control and I'm able to customize the "Additional Column Settings" area without any issues. Is ...
0
votes
1answer
198 views

render Custom Field Type

I have a Custom Filed Type which is rendered in default view (using a simple XSL) like this StreetName,1,K1,2,1,3,Los Angeles,90210 It's an simple adress. How can I render it like StreetName, nr. 1 ...
0
votes
1answer
851 views

NewDocSet and JSLink

I'm creating a custom field type and use JSLink for rendering this field in forms. Unfortunately, when I try to create a new Document Set, my .js file is not attached to the page and field rendering ...
0
votes
1answer
71 views

XSL: How can I personalize Content By Query Web Part?

I'm doing my first steps with SharePoint and I don't have any idea how to show the number of comments of each entry of a blog in a different page in a upper level. I guess I have to use a "Content ...
0
votes
2answers
1k views

How to add columns to Relevant Documents Web Part?

The client has a custom aspx page that displays to users files that have not been checked in (marked by an icon), version number, user that the file is checked out to (marked out), Library location, ...
0
votes
2answers
4k views

Converting text field to hyperlink via xslt

In my list I have a field for just a regular old text field - all default. It's just a plain, default text field named [TextLink]. And in my fldtypes_custom.xsl file I have included some lines to ...
0
votes
1answer
2k views

Calculated Field from another Sharepoint List

Relative newbie to Sharepoint Lists so please bear with me. I have 2 Lists that I need to work together to provide a bit of help to my Service Desk colleagues. List A (Tickets) FIELDS: Ticket ...
0
votes
1answer
712 views

Create person or group column

I am Creating a "Upcoming Training List" (custom list): I need to create a system where Managers can log in and enroll their team members in a certain upcoming training. What I did: I added a ...
0
votes
1answer
2k views

SharePoint Powershell Number and User columns

I need to create two list fields by powershell. One that accept only Integer (type Number with no decimal) and the other User (multiple selection). I can create Number field and Single User field ...
0
votes
1answer
645 views

Alpha-Numeric Value Format

How can I set up a required value format in a custom form text field? example: Q###-###### Q310-12345
0
votes
1answer
66 views

Change Sharepoint field by custom

I was write custome sharepoint field that extend functionality for select users, but now i need change default user field to my field type. I find User in fldtypes.xml and change FieldTypeClass ...
0
votes
1answer
308 views

Is there a column type that supports both internal and external links?

I'm creating a custom list as part of a solution. The list items are then rendered via a visual webpart which also exists in the solution. The webpart is designed to allow a user to maintain a list of ...
0
votes
1answer
444 views

Custom columns (IFRAME), web parts and connections

We have created a number of custom columns for our client. Some of them display content using an iframe to an .ASPX page (so that some code-behind can be executed). I was recently tasked to create a ...
0
votes
1answer
561 views

How to List SharePoint Groups in a dropdown list when uploading docs

I would like to list all users and SP groups in a dropdown list when uploading documents.I need this so i admins can select a specific group or users to assign permissions too. Is this possible? I ...
0
votes
1answer
95 views

Reason for Custom Field not getting displayed while adding new Item

I had a custom field deployed in one of server and now am trying it on my VPC which is exact copy of Server, however I added/deployed solution, checked GAC, dll was there, looked at controltemplate ...
0
votes
1answer
108 views

Help to understand content type

Given the below definition of a content type: <List xmlns:ows="Microsoft SharePoint" Title="Algorithm Types List Definition" EnableContentTypes="TRUE" FolderCreation="FALSE" Direction="$...
0
votes
1answer
459 views

Custom Field PropertySchema Type=User

I have a custom field in my SP Project. In my .xml file, I have a propertySchema and a user field inside it. Currently the field does not accept multiple users/groups. How can I change that? I ...
0
votes
1answer
373 views

Custom Field to show when an Item has broken role inheritance

I had to realize a Custom Field to show when the associated Item has broken role inheritance... I see 2 ways to do that: Read just in time if the Item has broken role inheritance Derive a Boolean SP ...
0
votes
1answer
1k views

Document library Custom Column Problem

I have a document library, where I created a custom field, Now I am not sure how to add value to it. If I add a new folder or new document, I am not getting any field to enter the custom column value, ...
0
votes
1answer
273 views

How to retrieve item name and permission from URL

I'm creating a Custom Field Type. During the creation of the Item the user can insert some link inside of a list. I've overloaded the GetFieldValueAsHtml and GetType to make that work. In my ...
0
votes
1answer
840 views

SharePoint 2007 : Custom Field Type

I'm trying to create a custom field type in SharePoint 2007, and the steps I did as below: i) Create a Class Library project in Visual Studio. The code: public class CustomField : SPFieldText { ...