Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9177463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:19:55+00:00 2026-06-17T17:19:55+00:00

$mlField = [SPFieldMultiLineText]$field I have a field, it is of type field but I

  • 0
 $mlField = [SPFieldMultiLineText]$field

I have a field, it is of type field but I want to cast it as SPFieldMultiLineText (I can confirm that this is a valid cast, I’m assuming my syntax is bad).

The error I’m getting:

Unable to find type [SPFieldMultiLineText]: make sure that the assembly containing this type is loaded.

This is a SharePoint Management Console so all relevant SharePoint assemblies are loaded – this is not the issue.

Any pointers in the right direction of making this cast without an error?

Thanks a lot.

EDIT: For a bit more context, this is ultimately what I’m trying to achieve:

http://blogs.msdn.com/b/pavankumar/archive/2008/11/17/how-to-change-a-multi-line-text-field-to-allow-unlimited-length-in-a-document-library.aspx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:19:57+00:00Added an answer on June 17, 2026 at 5:19 pm

    Try with full type name:

    $mlField = [Microsoft.SharePoint.SPFieldMultiLineText]$field 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a field which is not required i.e. can be nil. i want
I can display errors for specific fields using this tag: <s:fielderror fieldName=myField /> But
How can I set the encoding of EditText value? I tried this but it
Let's say I have this class: @Annotate class MyClass { MyField field = new
I have a input tag with an onblur event listener: <input id=myField type=input onblur=doSomething(this)
I want to manually validate field in command object I know I can get
If I have a static class with a static field such as: private static
OK maybe this is a trivial issue but I'm very interested to see if
Why is this valid public struct MyStruct { public MyStruct(double value) { myField =
I have an object which has one field- double[] _myField it's hashcode is public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.