How do I change a field type?

I have a content type with a field_maps whose type is Text (plain, long). I needed to change it to Text (plain).

So I've done this SQL statement:

ALTER TABLE node__field_maps MODIFY field_maps_value VARCHAR(200); 

It seems that field_type has changed to VARCHAR(200), but there is still one more problem: On the content type and manage fields tabs, the field is still shown as Text (plain, long).

How do I change it to Text (plain)?

Replay

Category: fields Time: 2016-07-31 Views: 0

Related post

  • How do you change which content type a field is attached to (which one owns it?) 2011-12-08

    While exporting configuration for my site using the Features module, I noticed that one of the fields I use on many content types was initially created on the "news" content type instead of the "article" content type. This presents a p

  • How to change a field type and deploy when field is referenced in code 2014-03-24

    I have a custom field on the user object that I need to change from Field Type Text to Field Type Multi-Picklist. The field is referenced more than 500 times in 25 Classes, Triggers and VisualForce Pages. To commit the change, I am about to fo the fo

  • How to change a field type in production instance using a change set? 2014-09-25

    We need to change a field type (Number to Currency) in the production instance using a change set. And we can't change the field type directly, because there are references of those fields in triggers and classes. we can remove the references and cha

  • How do I change the data type in attribute table in QGIS 2012-09-27

    I have county data in which the FIPs (actually State FIPS and County FIPS combined). I have data imported as CSV with the sames FIPS data titled STCounty. However, the shapefile FIPS is listed as a Real and the CSV came in as an Integer and the Join

  • Changing the field type of a column to a custom field type 2011-01-18

    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 field type and I would like to the site column to u

  • Changing a field type from Integer to Decimal 2013-07-15

    On a Drupal 7 site, I have a content type with an integer content field. The field needs to contain float data. What's the easiest way to change the field type from integer to decimal? (There are thousands of existing nodes I will have to convert). I

  • Changing custom field type 2014-08-28

    I need to change the field type of custom field from Text to Text Area (Long). I have around 2000 records for an object requiring this change. I also have apex and visualforce code referring to the custom field that requires change of type. I plan to

  • How can i change the field name based on condition in xml file? 2016-01-29

    How can I change the field name based on condition in XML file? My code is: <field name="parent_id" position="attributes"> <attribute name="string">{'HOD':[('is_student','=',True)]}</attribute> </field>

  • how can I safely change the empty lines /n in the database to /p p so they will be rendered correctly when I change the field type? 2013-02-26

    On a website with many many entries i've recently changed a textarea field to an expresso field. I now have 2 types of entries, entries with formatting, and without formatting. My idea so far: Buy low_search, use find and replace Write some SQL code,

  • How to change the field type from dropdown list to a lookup field in Flow? 2015-05-19

    I have a requirement to change a Flow related field type from an existing Banner field(a picklist value) a dropdown list to lookup field in Flow. Is it possible to change, Please do reply the steps to change if possible. Thanks & Regards, Bhuvan ----

  • How can I change the "content type" field name particularly in a view? 2015-10-19

    I have a few content types on my Drupal instance. Eg. case study, forum topic etc. I have built a view, to display few nodes and their content types. In this view, I want to display the content type as case studies instead of case study, forum topics

  • Conditional Checkbox to change following field type 2014-11-10

    I have a requirement where by I would like to have a field type following a checkbox change to a Master-Detail Relationship if the checkbox is check. E.g Employee Visitor (tick as appropriate) Name of Injured Person: _________________________________

  • How to make a Custom Field Type "write" HTML code in a sharepoint list 2011-11-22

    I'm encountering some problems with my Custom Type Field... It works, but I cannot make it display as I want inside my list! First of all I've overwrite the FieldValueType like this: public override Type FieldValueType { get { return (typeof(MultiLin

  • Custom field type - how inherit attributes from base field type 2012-02-08

    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,...) but I can't preserve its additional attributes which

  • How deep into a Matrix field type can I go with IF statements? 2013-09-25

    Bear with me as I explain my setup... I have a channel called Speaker and a channel field called speaker_media that is a matrix field type. Inside the matrix I have a channel field for speaker_audio, speaker_video, speaker_photos. the Speaker entry i

  • Oracle - how to reference to a field%TYPE using database links? 2013-11-05

    I have this database which includes a couple of schemas. Say I need to access schemaONE from schemaTWO. To do this, I have created a database link named "DB_ONE_LINK". I am able to access to schemaONE's tables using the following syntax: SELECT

  • Is it possible to change the field type in a node form afterwards? 2014-04-28

    I have an instance here where an existing textfield in a node form should be limited to enter only three possible values. I though it might be possible to alter the field to #type => 'select' and attach my '#options' as well. So I altered the form to

  • How to create a custom field type? 2014-05-05

    I can see the following field types as default in share-point 2013, But, I want to create a custom field type here, for the example consider 'slider' is a new field that is available after 'Managed Metadata', So What i want to do? --------------Solut

  • How to create a custom field type which is inherited the "Text" field type 2014-07-09

    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 this? --------------Solutions------------- You c

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 1.218 (s). 13 q(s)