Content type attribute

how do i add attribute to a MimeMessage object's content-type?
when i create a MimeMessage I always get a content-type which looks similar below,
Content-Type: multipart/related;
     boundary="----=_Part_1_2704014.1032764882171"
now i want to add a "type=application/smil" attribute like below
Content-Type: multipart/related;
     boundary="----=_Part_1_2704014.1032764882171";type=application/smil
i cant find a MimeMessage or Multipart function that enables me to add an attribute to the content-type? what's the work around here??
thanks!

Your question:
now i want to add a "type=application/smil" attribute like below
Content-Type: multipart/related;
boundary="----=_Part_1_2704014.1032764882171";type=application/smil
i cant find a MimeMessage or Multipart function that enables me to add an attribute to the content-type? what's the work around here??
thanks!
Did you ever find a solution to this?
thanks, brian

Similar Messages

  • Any Content-Type attribute is interpreted as "charset"

              WL 6.1 sp 2
              I have a servlet that set the Content-Type of the response to something like "application/*;name=blabla".
              According to the http/1.1 spec that should be fine.
              However, WL seems to interpret any Content-Type attribute as if it were "charset".
              In the example the attribute is "name" and the result is an exception saying that
              the encoding "blabla" cannot be found and the default encoding will be used.
              Is that a (known) bug?
              Here is a stack trace:
              <05.06.2002 13:18:24 CEST> <Error> <HTTP> <[WebAppServletContext(7200375,myWebApp,/myWebApp)]
              Unsupported encoding: "null" specified. Using the default encoding.
              java.io.UnsupportedEncodingException: "blabla.txt"
              at sun.io.Converters.getConverterClass(Converters.java:107)
              at sun.io.Converters.newConverter(Converters.java:138)
              at sun.io.CharToByteConverter.getConverter(CharToByteConverter.java:67)
              at weblogic.servlet.internal.ChunkOutput.create(ChunkOutput.java:99)
              at weblogic.servlet.internal.ChunkOutputWrapper.changeToCharset(ChunkOutputWrapper.java:46)
              at weblogic.servlet.internal.ServletResponseImpl.setEncoding(ServletResponseImpl.java:734)
              at weblogic.servlet.internal.ServletResponseImpl.setHeader(ServletResponseImpl.java:581)
              at weblogic.servlet.internal.ServletResponseImpl.setContentType(ServletResponseImpl.java:248)
              at com.bla.MyServlet.handleFileDownLoad(MyServlet.java:219)
              

    This has been fixed for 610sp3 already. One off patches are available for
              610sp1 and 610sp2.
              Contact support if you need one. CR061782 was used to track the CR.
              --Vinod.
              "Dimitri I. Rakitine" <[email protected]> wrote in message
              news:[email protected]...
              > Yup, it looks like a bug, but, thankfully, it appears that WebLogic just
              prints out
              > the exception stacktrace and doesn't consider this as an error - client
              still gets
              > back the correct response:
              >
              >
              > HTTP/1.0 200 OK
              > Date: Thu, 06 Jun 2002 18:47:49 GMT
              > Server: WebLogic WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
              > Content-Length: 7569
              > Content-Type: application/*;name=blabla
              > ...
              >
              > Alexander Bunkenburg <[email protected]> wrote:
              >
              > > WL 6.1 sp 2
              >
              > > I have a servlet that set the Content-Type of the response to something
              like "application/*;name=blabla".
              > > According to the http/1.1 spec that should be fine.
              >
              > > However, WL seems to interpret any Content-Type attribute as if it were
              "charset".
              > > In the example the attribute is "name" and the result is an exception
              saying that
              > > the encoding "blabla" cannot be found and the default encoding will be
              used.
              >
              > > Is that a (known) bug?
              >
              >
              > > Here is a stack trace:
              >
              > > <05.06.2002 13:18:24 CEST> <Error> <HTTP>
              <[WebAppServletContext(7200375,myWebApp,/myWebApp)]
              > > Unsupported encoding: "null" specified. Using the default encoding.
              > > java.io.UnsupportedEncodingException: "blabla.txt"
              > > at sun.io.Converters.getConverterClass(Converters.java:107)
              > > at sun.io.Converters.newConverter(Converters.java:138)
              > > at
              sun.io.CharToByteConverter.getConverter(CharToByteConverter.java:67)
              > > at
              weblogic.servlet.internal.ChunkOutput.create(ChunkOutput.java:99)
              > > at
              weblogic.servlet.internal.ChunkOutputWrapper.changeToCharset(ChunkOutputWrap
              per.java:46)
              > > at
              weblogic.servlet.internal.ServletResponseImpl.setEncoding(ServletResponseImp
              l.java:734)
              > > at
              weblogic.servlet.internal.ServletResponseImpl.setHeader(ServletResponseImpl.
              java:581)
              > > at
              weblogic.servlet.internal.ServletResponseImpl.setContentType(ServletResponse
              Impl.java:248)
              > > at com.bla.MyServlet.handleFileDownLoad(MyServlet.java:219)
              >
              > --
              > Dimitri
              >
              

  • HELP: Extended Attributes Not Appearing In Instances of Custom Content Type

    From Java code I create a custom content type derived from Document and define some extended attributes with default values for that type. All done using the same methodology shown in the Developer's Guide and Oracle example code.
    I start ifsmgr and I can indeed see the content type and the extended attributes.
    If I however create an instance of this (custom) type, either from the Viewer (file Upload) or from Java code (using code simuilar to createDocument from the Oracle ContentModule example), the extended attributes do not appear!
    BUT, if I delete one of the extended attributes using ifsmgr (highlight one of my extened attributes, click on "Remove", and then "Apply"), from that point on the previously missing extended attributes appear (except for the one I deleted of course) when I create files of the custom type from either Java code or the Viewer. Furthermore, once I get ifs to "see" one of these extended attributes in this manner, I can delete the extended attribute and re-create it from Java at will and it will appear in created instances of my custom content type just fine.
    If however I add another new extended attribute to the custom content type, I have to do the "Remove/Apply" drill in ifsmgr to get this new attribute to appear in created files of my custom type.
    I've tried deleting all instances of the custom type and closing both ifsmgr and the Viewer, but unless I delete one of the extended attributes from ifsmgr I cannot get new extended attributes to appear.
    What do I need to do in my 9ifs Java code to get new custom content extended attributes to appear in instances of that custom type?
    Thank you,
    Jeff "Did Kafka Write ifs?" Rininger

    Dear @user10993347,
    As mentioned by @vinod2303, you need to maintain content relationships along with subscriptions.
    Regards,
    Saurabh

  • Creating iFS content type require more then 4 values to be set for 1st attribute

    We get the following error:
    exception in thread "main" oracle.ifs.common.IfsException: IFS-30002: Unable to
    create new LibraryObject
    java.sql.SQLException: ORA-01400: cannot insert NULL into
    ("IFSSYS"."ODM_ATTRIBUTE"."SETTABLE")
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java:1483)
    at
    We were happily creating, updating and deleting various iFS content types by
    declaring 'n' attributes and then setting 3 or 4 of these properties of each
    one of the 'n' attributes of every content type i.e.
    //First attribute of the content Type
    AttributeDefinition adef1 = new AttributeDefinition(ifsSession);
    //First property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.NAME_ATTRIBUTE,
    AttributeValue.newAttributeValue("FIRSTNAME"));
    //Second property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.DESCRIPTION_ATTRIBUTE,
    AttributeValue.newAttributeValue("The firstname of the
    Employee"));
    //Third property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.DATATYPE_ATTRIBUTE,
    AttributeValue.newAttributeValue
    (Attribute.ATTRIBUTEDATATYPE_STRING));
    //Fourth property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.REQUIRED_ATTRIBUTE,
    AttributeValue.newAttributeValue(true));
    //Fifth property of the first attribute of content Type
    //We are forced to set this up. Otherwise we get above error.
    //However only required for first attribute of the content type.
    //Rest of the attributes (n-1) are fine.
    adef1.setAttributeByUpperCaseName(Attribute.SETTABLE_ATTRIBUTE,
    String.valueOf(true));
    //Sixth property of the first attribute of content Type
    //We are forced to set this up. Otherwise we get above error.
    //However only required for first attribute of the content type.
    //Rest of the attributes (n-1) are fine.
    adef1.setAttributeByUpperCaseName(Attribute.UPDATEABLE_ATTRIBUTE,
    String.valueOf(true));
    codef0.addAttributeDefinition(adef1);
    The other attributes are fine. We only need to set 3-4 properties of these
    attributes and could get away with it. Only the first attribute is causing the
    above problem. For other attributes of the content type, we are still setting
    only the first three/four properties
    If you look at the definition of iFS internal table "odm_attribute", apart from field "id", which is an implicit column, there are 12 columns which are NOT NULL.
    This means for every iFS attribute it must be required to set the values
    of these 12 properties. However like most of the examples in iFS doco,
    you could get away with setting 3-4 properties explicitly. I am sure some
    of them are set implicitly by iFS.
    The problem is, sometimes these implicit setting of properties by iFS is
    not working and its complaining about them. The ones which are causing
    problems are SETTABLE and UPDATEABLE.
    We are forced to set them explicitly. Hence the inconsistency.
    The problem is, what is the reason for iFS setting "SETTABLE" and
    "UPDATEABLE" implicitly for some attributes and requiring us to set them
    explicitly?
    Thanks and Regards

    hi srini,
    i have includedthe char in rows. i want you to explain in detail how to use these values in the if then else statement in query.
    i have created a calculated key figure 2= (formual variable =1 & keyfig a =0)* keyfig1kefig2 +not(formual variable =1 & keyfig a =0)keyfig2 *calculated keyfig1.
    so this formula variable of replacement path have ref. to then char. and with what value should it replace, key, name, external char or attribut etc so that i should get the values of the char from 1 to20.
    i donot to repalce with the attribute. i just want the char. values and not thier attributes (1. description 2. the second attribute has the values say abc1,efg2,ghi3 for respective charteristic values.
    ie
    char value               desc                 2nd attrib
    1                            hi                     abc1
    2                            bye                  defg2
    3                            ciao                  ghi3

  • Application Error while activating the feature - for creating list content type, list definition and list instance

    Dear all,
    I am getting application error while enabling the feature. if any body can point out the issue - that will be helpful.
    content type
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Field ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns"/>
    <!-- Parent ContentType: Item (0x01) -->
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9"
    Name="TrainingCourses"
    Group="Training Content Types"
    Description="Defines a Course"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    List definition
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="TrainingCourses"
    Type="10100"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="410"
    DisplayName="TrainingCourses"
    Description="Training Courses List Definition"
    Image="/_layouts/images/itgen.png"/>
    </Elements>
    List instance
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="TrainingCourses"
    OnQuickLaunch="TRUE"
    TemplateType="10100"
    Url="Lists/TrainingCourses"
    Description="Training Course List Instance">
    </ListInstance>
    </Elements>
    schema
    <?xml version="1.0" encoding="utf-8"?>
    <List xmlns:ows="Microsoft SharePoint" Title="TrainingCourses" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/TrainingCourses-LD_TrainingCourses" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
    <MetaData>
    <ContentTypes>
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9" Name="TrainingCourses" Group="Training Content Types" Description="Defines a Course" Inherits="TRUE" Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" />
    </FieldRefs>
    </ContentType>
    </ContentTypes>
    <Fields>
    <Field ID="{4c1b0a21-fce0-4cfe-8742-a250672afe4f}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns" />
    </Fields>
    <Views>
    <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="LinkTitleNoMenu">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="Modified" Ascending="FALSE">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
    </ParameterBindings>
    </View>
    <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="Attachments">
    </FieldRef>
    <FieldRef Name="LinkTitle">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="ID">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    </ParameterBindings>
    </View>
    </Views>
    <Forms>
    <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
    </MetaData>
    </List>
    I am applying the feature to SPWeb level.
    cheers
    Sathya

    redeployed a new solution; since I was getting this error. I would have done typo errors etc.
    https://naveengopisetty.wordpress.com/2011/09/10/error-occurred-in-deployment-step-activate-features-invalid-file-name-the-file-name-you-specified-could-not-be-used-it-may-be-the-name-of-an-existing-file-or-directory-or-you-may-not-have-pe/
    Cheers
    Sathya

  • Problem with content type

    Hi All,
    I have set the content type to text/html by using the following statement in jsp
    <%@page contentType=�text/html�%>And if I give
    out.println("<a href="aaa.do">Click here</a>"); it is showing me a link to click here that's fine.
    But my problem here is that I am using struts <bean:write name="user1" property="subject"/> tag and the data in the subject field is Click here i.e the output from the database, now its not showing the link instead displaying every thing even if the content type is set. How can I achieve this? please help me out.

    in your bean:write tag try setting the filter attribute to false, like so
    <bean:write name="xxx" property="xxx" filter="false"/>
    http://struts.apache.org/1.2.9/userGuide/struts-bean.html#write

  • Cannot get rid of default field in a custom content type

    hi guys,
    I have custom content type based on Document Set in a List based on Document Library. I created both using XML declaration in SP solution.
    I have all fields in my content type which I declared, except to defult fields: 'Name' and 'Description'. I need to hide both of them. After I set Inherits="FALSE" in ContentType section in Elements.xml in ContentType description the field
    'Description' goes away. But the field 'Name' marked as required and stays.
    I've also tried to add RemoveFieldRef parameter to the same Elements file, but the field persists. I assume it comes from list definition, not content type. But I cannot figure out how to get this field out from list definition.
    Do I miss something?

    I am assuming that content type's elements.xml file is looking like this 
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <!-- Parent ContentType: Document Set (0x0120D520) -->
      <ContentType ID="0x0120D520008d2ff418027e4c31b54d155b98596748"
    Overwrite="True"
    Name="Custom Dossier"
    Group="Custom group"
    Description="Custom dossier"
    Inherits="True"
    Version="0">
        <FieldRefs>
                <FieldRef
    ID="{8D6C094C-3E1F-41f4-BEE3-25B27EE09702}"
    Name="Dossier_Nummer"
    DisplayName="Dossiernummer"
    Required="True" 
    />
        </FieldRefs>
        <XmlDocuments>
          <XmlDocument NamespaceURI="http://schemas.microsoft.com/office/documentsets/allowedcontenttypes">
            <act:AllowedContentTypes
    xmlns:act="http://schemas.microsoft.com/office/documentsets/allowedcontenttypes"
    LastModified="05/31/2012 08:46:56">
              <AllowedContentType
    id="0x0101"
    />
              <AllowedContentType
    id="0x0101000490d50c50624b6ca21c637ef39cd89b"
    />
            </act:AllowedContentTypes>
          </XmlDocument>
        </XmlDocuments>
      </ContentType>
    </Elements>
    In the FieldRef  section ,we have  <FieldRef
    ID="{8D6C094C-3E1F-41f4-BEE3-25B27EE09702}"
    Name="Dossier_Nummer"
    DisplayName="Dossiernummer"
    Required="True" 
    />  this field is there.
    Try to add ShowInNewForm="TRUE" ShowInEditForm="FALSE" those attributes.
    or    Hidden="FALSE" 
    Sorry for the bad English. Could you paste your code.So that we can assist u.

  • How to set content type for a JSF page

    Hi,
    I want to know is there any way we can specify the content type of a JSF page, like in JSPs we have the page attribute <%@ page contentType="application/vnd.ms-excel" %>
    In JSP we can create a html table with values and if we specify the contenType as application/vnd.ms-excel, we would get an excel file generated.
    But do we have something similar to this is JSF, as I am using Facelets I cannot use page directive in the xhtml file.
    I tried setting the content type in MangedBean's action as follows
    ((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).setContentType("application/vnd.ms-excel"); but it did'nt work.
    Thanks in advance.

    //add related mutip-part to combine parts
    MimeMultipart multipart = new MimeMultipart("related");
    //attach a pdf
    messageBodyPart = new MimeBodyPart();
    fds = new FileDataSource("h:/something.pdf");
    messageBodyPart.setDataHandler(new DataHandler(fds));
    messageBodyPart.setFileName(fds.getName());
    multipart.addBodyPart(messageBodyPart);
    //add multipart to the message
    message.setContent(multipart);
    //send message
    Transport.send(message);

  • Setting webservice response content type / charset header

    I have a webservice .war file.
    I need to set the content-type/charset http header and add another http header. I wrote a filter to do that and had partial success. The other header (pics-label) is indeed sent in the response with the correct value. However, setting the content type proved to be another matter.
    I read through the documentation that one can set the system property weblogic.webservice.i18n.charset=utf-8. However, this doesn't seem to work. The filter setting the header also doesn't work. It seems that weblogic has the final word on that. Only when I set the <web-service> element attribute charset="UTF-8" does the header gets back to the client.
    Due to deployment/build related issues which I won't get into, this is most annoying.
    If anyone has encountered a similiar issue and have a solution/workaround/thoughts I'll be glad to hear about it.
    P.S.
    Also tried -Dfile.encoding=UTF-8 but didn't do any good.
    Thanks.

    you don't define a charset for non-text file types. Excel files are not text files.

  • Created column not showing in the Document Library View for a Custom Content Type based on Document

    We have a custom content type based of Document Content Type. The OOTB "Created" column does not show up in the view as well as in the Site Settings -> Columns.
    But it shows up in the Display Form and Edit Form of the Item at the bottom "Created at " by " " and "Modified by" at by ""
    Would anyone know how to make this column appear as part of the view ?
    thanks,
    Harsh

    Hi,
    They should by default be possible to add to a view. The only reason they would disappear from the UI if someone has changed the attribute of the Field to hidden = true. You can verify that with PowerShell and if so you can use PowerShell to revert the setting
    to false.
    $w = Get-SPWeb http://dev13$f = $w.Fields.GetFieldByInternalName("Created")$f.Hidden$f.Hidden = $false$f.Update()

  • Content type "Link to a Document" to content type Document SET

    Hello,
    Could you please assist.
    I have a customized document sets.
    I added the content type "Link to a Document” to content type Document SET.
    I uploaded several documents to each document set.  There are several identical documents in different document sets.
    How can I arrange for uploading just a link to the documents, but not the additional documents?
    In other words, how to arrange for convenience for users to download a link?
    I mean them not to enter
    http://server/files ,
    but a certain “dropdown” appeared, a kind of menu with a choice of downloaded documents.
    Suppose, I added to each file its own attribute link and this link. I want to present  in form of creation “Link to a Document”
    There are 2 forms of creation. The first one is where we point a link. The second one is where we point the attributes.
    For example:
    I have two document sets: Project 1 and Project 2.
    There are 2 documents “instruction.doc” and “invoice.xls” uploaded to Project 1.  Each document has a field – link (a link to this very document).
    I want to add a link to “invoice.xls” in Project 2.
    I want to do it in that way a user could choose a list of links from a dropdown menu.
    Thanks

    Lookup column is the attribute of file. Attribute can not be upload! . Did you try to use the content type of link to document? If yes, you can understand my question. I want to change uploaded.aspx ( link of document) and add lookup column to this form.
    Standart scenario: User create link to docunent. 1. Prees button start. 2. Input text link to upload.aspx form 3. Set attributes new. Aspx I want: 1. Press button. 2. User press dropdawn menu and choise neddeng link. 3. Set attributes Plese read my question
    again. Sorry for my not good english

  • Text Fields of an External Content Type come across as Multiple Line of Text

    In SharePoint 2013 I have an external content type that consists of a couple of short (nvarchar)  fields (no more that 15 characters). When I use this ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    I am not sure how this happens. I have verified this by accessing the list via poweshell where I see the Type being as "Note" and also the SchemaXml showing the colName attribute as "ntext".
    The strange thing is that initially when I created the web application and built my lists this was working.
    Any ideas or pointers would be appreciated.
    Thanks

    Hi,
    Based on your description, my understanding is that When you use the ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    Have you ever changed column types from "Single line of text" to "Multiple Lines of Text" in list?http://www.sharepointdiary.com/2013/09/change-column-type-in-list-using-powershell.html
    External content types are made up of fields whose types are a subset of the primitive types of .NET. For each such .NET type, a rudimentary mapping to SharePoint’s field controls exists, describing a field’s visual appearance. Fields of type string for
    instance will, on the new and edit forms, render as a single-line text field.
    Besides, check whether the following link is useful:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fcb5a9f-8445-4a37-9e60-ac5e9e14e8f1/sharepoint-designer-external-content-type-shows-single-line-text?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Struggling to have two document type attributes in the same notification

    Hi All,
    I need some help. I am working with Oracle Time and Labor, and am trying to get two document type attributes to play nice in the same notification message body.
    One documentation type attribute is made available to me. Here is its attribute value:
    JSP:/OA_HTML/OA.jsp?&OAFunc=HXC_TIMECARD&akRegionApplicationId=809&retainAM=Y&Action=ApprovalDetail&Timecard_id=-&APP_BB_ID-&ResourceId=-&RESOURCE_ID-&TimecardMode=TIMECARD-REVIEW&Review=Y&FromAppPage=YES&NtfId=-&#NID-&StartTime=-&FORMATTED_APP_START_DATE-
    The second one I created as a PLSQL document. This one I have simplified to just a 'Hello World'.
    When both are in the message body at the same time, the notification message body looks like this (the name of one of the document type attributes is 'TIMECARD'):
    hello world Attribute TIMECARD refers to Framework Region JSP:/OA_HTML/OA.jsp?&OAFunc=HXC_TIMECARD&akRegionApplicationId=809&retainAM=Y&Action=ApprovalDetail&Timecard_id=-&APP_BB_ID-&ResourceId=-&RESOURCE_ID-&TimecardMode=TIMECARD-REVIEW&Review=Y&FromAppPage=YES&NtfId=-3614187-&StartTime=-&FORMATTED_APP_START_DATE-.
    When either document type attribute exists by itself in the message, everything works as planned.
    Any suggestions?

    I think the problem here is caused when you token - substitute an attribute which appears in another attribute.
    Suppose that you have two document type attributes as shown below:
    1. CONTENT whose value is:
    plsqlclob:PA_PWP_NOTIFICATION.SHOW_PWP_NOTIFY_PREVIEW/&CONTENT_ID
    and
    2. CONTENT_ID whose value is: 11629
    Now, what happens is, while token substituting &CONTENT_ID in the first attribute, &CONTENT_ID is possibly being broken into
    &CONTENT and replaced with a null value and then ID is left as is. The problem seems to be because CONTENTID is used
    inside another attribute CONTENT.
    The workaround here is to change the name of attribute CONTENT to some other name or change the attribute name CONTENT_ID
    to something different.
    In your case I suppose that the names of attributes you are having may be similar or one being subset of other. You can avoid the
    problem by having different names (or name which is not part of another attribute's name).
    If this does not solve the problem you can generate output of $FND_TOP/sql/wfmlrdbg.sql output for this notification id.
    Hope that helps !!
    Thanks,
    Dilbagh

  • How to know whether the Content Type at Library level is Inheriting Parent Content type or not Using Powershell?

    Hi,
    How to know whether the Content Type at Library level is Inheriting Parent Content type or not using Powershell?
    Is there any property for that? Or Do I need to compare the Content type Id's at Site collection level and Library level?
    Any help would be greatly appreciated.
    Thank you,
    AA.

    Hi Ashok,
    For a content type, there is an attribute called Inherits, the value of this attribute determines whether the content type inherits fields from its parent content type when it is created.
    If Inherits is TRUE, the child content type inherits all fields that are in the parent, including fields that users have added.
    If Inherits is FALSE or absent and the parent content type is a built-in type, the child content type inherits only the fields that were in the parent content type when SharePoint Foundation was
    installed. The child content type does not have any fields that users have added to the parent content type.
    More information, please refer to the link:
    https://msdn.microsoft.com/en-us/library/office/aa544268.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • CFHTTP request with content-type "application/atom+xml"

    Is it possible to send a HTTP request (method="post")  with a body that has a set content-type (such as "application/atom+xml")?
    using CFHTTP and CFHTTPPRAM, it seems the tag does not accept a content-type.
    <cfhttpparam type="body" value="#myAtomXML#">
    is there anyway to have CFHTTP , post the body with a given content-type?
    IF NOT, could anyone point me to the right direction to accompolish this using Java?

    Hi,
    Have you tried the "mimetype" attribute of the <cfhttpparam> tag?.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_g-h_10.html

Maybe you are looking for

  • New Row in a Table View

    Hi, I need to add a new row to a table without using any NEW button. The first column in my table is a drop down . Whenever user selects a value in drop down a new row should be created . Also am not able to see drop down options throughout my tablev

  • Access 2000 with VBA code doesn't work in Access 2013

    I have a database that was created in Access 2000 with lots of VBA code to pull data from SQL for reports. When I try to run a report in 2013, I get 'file not found".  When I go into debug, it appears the forms for the reports are not being found.  H

  • How to get sytem information in abap

    Freinds, I want to create a screen/report form by executing them  or on that sceen user can know his/her computer existing ip,computer name please suggest.

  • More than 8 Input

    Hi, I wonder if there is any way to have more than 8 inputs  on Digout (e.g, entering two 8bit numbers for adding ) in multisim. Thanks

  • Initial Backup: Failed; Drive: All Good

    I have been having a lot of problems with my time machine and this new hard drive that I bought specifically for this purpose. In summation, after following all advice on this site, I reformatted my hard drive and all that and it Time Machine still g