Recognization of content type?
Hello everybody I've a little problem with javamail
I try to identify the type of the parts in a message, my code work well with a lot of mails but with some mails javamail can't recognize the type of some part.
so my code to recognize "text/html" and "text/plain" part is :
Part p;
if (p.isMimeType("text/html")) {....}
else if (p.isMimeType("text/plain")) {....}
But some message which contain part marked like this :
NextPart2434489_boundary
Content-Type: text/plain; charset:ISO-8859-1
or
NextPart2434489_boundary
Content-Type: text/html; charset:ISO-8859-1
cannot be recognized whereas if the message have part marked like this :
NextPart2434489_boundary
Content-Type: text/plain
charset:ISO-8859-1
or
NextPart2434489_boundary
Content-Type: text/html
charset:ISO-8859-1
My code recognize the text/html and the text/plain part! it's normal?
Should I parse the mail before trying to recognize part, to put it in the correct format, or there is another solution with javamail?
Help me please
Thank you very much and excuse me for my poor english.
I just started with javamail this morning, so I'm no expert. But maybe this will help you. I did my checks like this:
if (msg.getContentType().toUpperCase().startsWith("TEXT") ) {
...}which has worked on the dozen or so emails I've checked.
Similar Messages
-
Displaying Custom Content Types
Short Version
I have created custom content types that has a few properties that are complex. One is an image type and another is a collection of another custom content type. I am unable to display or access these items.
Long Version
I have a custom content type with the following properties
It is called PageThreeColumn
PageTitle : String
LeftNav : String
RightNav : String
HeroImage : image (complext type that came with weblogic)
ContentCollection: Collection of type ContentPlaceholder
The other custom type ContentPlaceHolder
Type : String
HtmlContent : Binary
I created a content presenter view (wlp-templete-config.xml) and I am able to get a simple string property to be displayed.
So I can do the following
<cm:getProperty name="LeftNav" node="${node}"/>
And I get the expected String back.
What I am unable to do is get to anything that is more complicated then the simple datatypes. For instance the Image data type.
I have tried node.HeroImage but it does not display correctly.
I appreciate any help you can give and would definately like a link to an example of displaying content that is not as trivial as most of the examples.I have tried the following code variations
<div>
${node.properties[0]}
<!--//Shows string as expected-->
${node.properties[1]}
<!--//Shows string as expected-->
${node.properties[2]}
<!--//Shows string as expected-->
${node.properties[3]}
<!--//Shows the following
HeroImage: [Lcom.bea.content.Property;@48958a1 -->
${node.properties[4]}
<!--//Shows the following
ContentCollection: [Lcom.bea.content.Property;@48958a5 ,
[Lcom.bea.content.Property;@48958a8 ,
[Lcom.bea.content.Property;@48958ab -->
<cm:getProperty node="${node.HeroImage}" name="heroimage" />
<img src="${templates:getImageSource(pageContext.request, heroimage)}"/>
</div>
Variation 2
<img src="${templates:getImageSource(pageContext.request, node.HeroImage)}"/> //says that it does not recognize node.HeroImage
Variation 3
${node.HeroImage} //says that it does not recognise HeroImage
All dont work.
Should I be adding or doing some type of customization to the template jsp to handle the complex data type?
Is there an example or tutorial that uses a complex content type and the content presenter to show content?
Or maybe an example of more complicated uses of the JSP files in the:
/portlets/wlp/contentpresenter/templates/wlp-default/cm
/portlets/wlp/contentpresenter/templates/wlp-default/outer
All of the examples I found were ver trivial. Basicly showing a very simple example but nothing using a content type that is more complicated in the non-primary properties then strings.
Edited by: danscan1712 on Mar 11, 2009 8:01 AM -
Invalid content type for SOAP: TEXT/HTML on Reciever SOAP
HI All,
I have a reciever SOAP channel setup to send a message and its attachments to a supplier. The recieving application is as follows:
"It just receives the stream or contentStream and print out the content. It's just a test to see what you sent to us. It processes all http/https messages."
If I leave the SOAP Envelope on I get the content type error in the header. If I turn the Enveloper off, I get a successful post. They are try to trap what I send to build a SOAP processor, so they want the SOAP envelope. What could be causing this?
Kind Regards,
ChrisHi Richard,
The web service address that we must type in target URL of receiver soap adapter is the address to the WSDL. To be sure types this address in your browser and you must see a WSDL code of the webservice that you want invoke.
The reason that you are getting Delivery Exception: invalid content type for SOAP:TEXT/HTML. is because you are trying to invoke a web service with wrong address.
So, when SOAP receiver adapter try to put the message on the target side, it cant and automatically receives an HTTP acknowledge in HTML format. As SOAP adapter doesnt understand HTML code only XML code, it cant recognize what kind of error is and generates an exception indicating that the content type is invalid.
Delivery Exception: invalid content type for SOAP:TEXT/HTML is equal to any HTTP code, I have almost sure that HTTP code is a 404 Not Found, but you cant see it...
Post the URL here for I can check
Cheers,
Ricardo. -
My Environment is Weblogic 6.1 SP2 on WIN2K.
I have an HTTP client sending an HTTP request with
Content-Type=application/x-www-form-urlencoded
the data in HTTP request is in UTF-8. Note that HTTP client does not specify charset=UTF-8
as part of the Content-Type.
I have a servlet "VosXmlEvents" processing this HTTP request.
The HTTP request contains data like “Zoë” which the servlet below
interprets as “Zoë” causing me to think that my deployment settings
might be wrong.
My Deployment settings:
In weblogic.xml deployment descriptor I have specified following:
<charset-params>
<!-- I specified this so that I can tell to weblogic that HTTP request data is
UTF-8 so weblogic can successfully convert it to ISO-8859-1 as per Java servlet
spec.-->
<input-charset>
<resource-path>/vos/events/xml/*</resource-path>
<!-- I tried both UTF8 and UTF-8 and got same results-->
<java-charset-name>UTF8</java-charset-name>
</input-charset>
<!-- I specified the the settings below just to be on the safe side, as I have
seen java documentation, newsgroups etc. using slightly different, names for the
same char encoding/canonical names . Java uses MIME preferred names,I think I
dont have to do this but I hope specifying these should not do any harm either,
am I correct in assuming it? (see reference 1 and 2. below for details)-->
<charset-mapping>
<iana-charset-name>ISO_8859-1:1987</iana-charset-name>
<java-charset-name>ISO-8859-1</java-charset-name>
</charset-mapping>
<charset-mapping>
<iana-charset-name>ISO_8859-1:1987</iana-charset-name>
<java-charset-name>ISO8859_1</java-charset-name>
</charset-mapping>
<charset-mapping>
<iana-charset-name>UTF-8</iana-charset-name>
<java-charset-name>UTF-8</java-charset-name>
</charset-mapping>
<charset-mapping>
<iana-charset-name>UTF-8</iana-charset-name>
<java-charset-name>UTF8</java-charset-name>
</charset-mapping>
</charset-params>
My web.xml has:
<servlet>
<servlet-name>VosXmlEvents</servlet-name>
<servlet-class>some class name</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>VosXmlEvents</servlet-name>
<url-pattern>/vos/events/xml/*</url-pattern>
</servlet-mapping>
According to Servlet spec. 2.3 sec. SRV.4.9 Request data encoding, cut pasting
from spec below:
"Currently, many browsers do not send a char encoding qualifier with the Content-Type
header, leaving open the determination of the character encoding for reading HTTP
requests. The default encoding of a request the container uses to create the request
reader and parse POST data must be “ISO-8859-1”, if none has been
specified by the client request. However, in order to indicate to the developer
in this case the failure of the client to send a character encoding, the container
returns null from the getCharacterEncoding method.
If the client hasn’t set character encoding and the request data is encoded
with a different encoding than the default as described above, breakage can occur.
To remedy this situation, a new method setCharacterEncoding(String enc) has been
added to the ServletRequest interface. Developers can override the
character encoding supplied by the container by calling this method. It must be
called prior to parsing any post data or reading any input from the request. Calling
this method once data has been read will not affect the encoding."
Q1. Should not <input-charset> related settings in weblogic.xml for a servlet
helps container actually do some thing like setCharacterEncoding(String enc) on
HTTP Request before it call the servlet?
Q2. If not then that would mean I have to programatically call setCharacterEncoding(String
enc)to correctly interpret my HTTP Request?
Q3. If the answer to Q1 is "yes" then I will assume that getInputStream() or getReader()
methods on the HttpServletRequest will give the chacter in the client encoded
format which in this case is UTF-8, i.e I will get "Zoë" as in this example. Am
I correct here?
Reference:
1. http://edocs.bea.com/wls/docs70/webapp/components.html#139932
2. http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.htmlStefan,
Thanks for the information. I have the following question then.
The Webserver I am interacting with does not recognize user and password provided in the channel. It accepts user and pwd in payload and in application/x-www-form-urlencoded content type only.
Sample Raw Post that server server requires looks like this
User=yourname&Password=yourpassword&INPUT_XML=%3C%3Fxmlversion%3D%221.0%22standalone%3D%22no%22%3F%3E%3CDELIVERY%3E%3CMESSAGE%3E%0D%0A++++%3CDESTINATION_ADDR%3E%2B447900570205%3C%2FDESTINATION_ADDR%3E%%3C%2FMESSAGE%3E%0D%0A%0D%0A%3C%2FDELIVERY%3E%
What i have done is that constructed the post manually in Java code in un encoded form and expected the HTTP Adapter to do the encoding. Having done this, the HTTP Server is able to scuccessfully parse the xml except for & and < , > chars which err out as invalid XML.
Is there an elegant way of doing above scenario using XML post and standard HTTP Adapter.
Best Regards,
Sudharshan N A -
No support for content-type in response header?
When loading both movies and images Strobe Media Playback does not recognize content-type from the response header.I can't find any documentation for this, but when i look in the source code, there sees to be support for this kind of metadata. For example in the "canHandelResource" function for ImageLoader has a "MIME_TYPES_SUPPORTED" vector that contains the type "image/jpeg". I can't see way, but this function is always falling back to checking the URL for file extensions.
override public function canHandleResource(resource:MediaResourceBase):Boolean
var rt:int = MediaTypeUtil.checkMetadataMatchWithResource(resource, MEDIA_TYPES_SUPPORTED, MIME_TYPES_SUPPORTED);
if (rt != MediaTypeUtil.METADATA_MATCH_UNKNOWN)
return rt == MediaTypeUtil.METADATA_MATCH_FOUND;
var urlResource:URLResource = resource as URLResource;
if (urlResource != null &&
urlResource.url != null)
var url:URL = new URL(urlResource.url);
return (url.path.search(/\.gif$|\.jpg$|\.png$/i) != -1);
return false;
This makes it impossible to load an image (or movie) from a web-service that don't contain a file extension. Even though the response header from the request contains the correct "Content-type". Example response header:
Date: Wed, 13 Jul 2011 08:07:26 GMT
Server: Apache/2.2.17 (Unix)
Cache-Control: max-age=60
Expires: Wed, 13 Jul 2011 08:08:26 GMT
Content-Length: 34010
Content-Type: image/jpeg
X-Pad: avoid browser bug
200 OK
Anybody that know way this is the case?There is no need for a constructor when all attributes are assigned.Unless there is a date value, apparently ;)
It also works if you explicitly <tt>CAST(SYSDATE AS DATE)</tt> so perhaps the internal limitation is to do with the two internal DATE types (type 12 and 13, if you check DUMP output). -
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
Sathyaredeployed 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 -
Not able to crawl all items from External content type
Hello All,
"All the records in my external content source are not getting crawled, only 1/3 rd of the data are getting crawled."
Steps:
I created "External content type" using sharepoint designer which connects to a SQL Server database.
Have written a SQL View joining 2 tables, which return 9,00,000 rows when executed using the SQL Server management studio.
I used the default "Business Data Connectivity Service" and "Search Service Application" and made sure the necessary permissions are set.
Created a External Content source for the search service application and selected the "Business Data Connectivity Service" -> "Crawl selected External datasource" -> <my external datasource i created in sharepoint designer>
Issue
When i ran the full crawl for the first time it crawled "3,49,923" records in 01 hour and 07 seconds. And returned 1 error "Error crawling LOB Contents.(Error caused by exception: System.InvalidOperationException. There is an error in XML
document...)
Later i removed the below item from the index and started a full recrawl, this time it crawled "3,49,924" records 1 record extra from my previous crawl
and no errors were returned.
Please let me know what could be the issue. It doesn't look like the permission related issues as i am able to crawl the 1/3rd of my total data. Also i am able to search the crawled data. I also set the throtteling limit for the "Business data catalog"
to -maximum 10000000 -default 1000000 which is less than the data it has to crawl.
SRIRAMHi ,
I started the change suggested in the link shared by you, but got stuck at a point,
The field which i set as identifier in BCS earlier is not having unique values. Total rows returned by the sql view is 899000, but the unique values present in the column that is set as identifier is
3,49,923, which is equal to the number of rows crawled. - Is this the reason why it didnt crawl all records?
The table that is used in the sql view has composite key, - Is it possible to have multiple identifier in BCS as well?
Is it possible to make BCS to ignore the identifier? i mean creating BCS without an identifier column?
Please let me know your suggestions on this.
Thanks,
SRIRAM
Yes, BCS needs a UID. This is so it can figure out changes over time to a single record. Otherwise all changes to a row could be a potential new row without BCS knowing any better.
Yes, or just have it run off the composite key instead of the field you're using now.
Nope, BCS needs a UID field like in answer 1 :)
Good luck!
My CodePlex -
My Blog - My Twitter
Join me at the San Francisco SharePoint User Group!
If this post helped you or answered your question please remember to mark it! :) -
This is a variation on the issue mentioned in this
post
We are using SP 2010 Content Hub to manage our content types. On the content hub we've created a couple of exteranl lists, and then created some site columns as lookups against these lists. We then added the columns to one of our content types
and set it to publish.
After the publishing job executed, I tried adding the content type (which now appears on the subscriber sites) to one of the document libraries on one of the subscriber sites. When I did that it threw the following error:
Microsoft.SharePoint.WebControls.BusinessDataListConfigurationException: Id field is not set on the external data field
at Microsoft.SharePoint.SPBusinessDataField.CreateIdField(SPAddFieldOptions op)
at Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op)
at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol)
at Microsoft.SharePoint.SPContentType.ProvisionFieldOnList(SPField field, Boolean bRecurAllowed)
at Microsoft.SharePoint.SPContentType.ProvisionFieldsOnList()
at Microsoft.SharePoint.SPContentType.DeriveContentType(SPContentTypeCollection cts, SPContentType& ctNew)
at Microsoft.SharePoint.SPContentTypeCollection.AddContentTypeToList(SPContentType contentType)
at Microsoft.SharePoint.SPContentTypeCollection.AddContentType(SPContentType contentType, Boolean updateResourceFileProperty, Boolean checkName, Boolean setNextChildByte)
at Microsoft.SharePoint.SPContentTypeCollection.Add(SPContentType contentType)
at Microsoft.SharePoint.ApplicationPages.AddContentTypeToListPage.Update(Object o, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b55297ed-717f-466d-8bdc-297b20344d3f
I checked the external content type configuration and it did specify an "id column". Anyone know if what I am attempting to do is possible and if so, what special configurations are required?
ThanksThe issue is not External Content type or external list but the look up column.
It's not possible to publish a look up column via the Content Type Hub.
If you need to do this then an alternate way is to use a Managed Metadata column instead, otherwise you will have to implement this via a feature.
Varun Malhotra
=================
If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you. -
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 -
Look up column in Content Type Hub
Hi,
Would like to know whether look up columns are supported /not supported in content type hub.
Currently I am having few columns in my doc.libs which uses look up column and i want to implement content type hub.
heard that this is a limitation in CTH.
Can anyone from MS pls confirm.
and at the same time if I want to use the look up column functionality and implement CTH, any alternatives available.
help is highly appreciated!Hi,
Please refer to the following article, it might help
Content Type Hub Sync & Lookup lists
And also refer to the following post.
Content Type Hub Syndication and lookup site column within a content type
Please mark it answered, if your problem resolved. -
I cannot create a site-template in my own language (danish) and deploy a site based on the template.
I created a template from a "fresh" SharePoint project site with no tampering.
When trying to deploy a new site based on the templat I get the following error:
In Danish:
Beklager, men noget gik galt
Det blev fundet et navn på en dubletindholdstype "billede".
Tekniske oplysninger
Fejlfinding af problemer med Microsoft SharePoint Foundation.
Korrelations-id: 96646c9c-3213-a088-c6c4-537b0815313c
Dato og klokkeslæt: 21-06-2014 10:23:36
In English:
Sorry, something went wrong
A duplicate content type name "billede" was found.
Technical Details
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 0b656c9c-52ee-a088-c6c4-5132070e3c4e
Date and Time: 21-06-2014 10:31:35Need details from ULS logs about Correlation ID: 0b656c9c-52ee-a088-c6c4-5132070e3c4e
Check below:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/e955e737-e12e-4afa-b446-bb6e0f05e9b1/duplicated-content-type-error-creating-a-sharepoint-2010-site-from-a-custom-site-template?forum=sharepointgeneralprevious
http://aramacciotti.wordpress.com/2012/04/04/the-case-of-the-duplicated-contenttype/
http://community.office365.com/en-us/f/154/t/69416.aspx
If this helped you resolve your issue, please mark it Answered -
Versioning and Video Content type does not work.
Hello,
I have out of the box sharepoint installed.
When I apply versioning to a library. And try to see "Document set version history" (as I suggest Video content type actually inherits from Document Set). I don't see any version.
Can you tell me how can i see versions of the "Video" content type item in this Version History window?Document set versions are slightly different than item versions. Document sets can be managed by a separate ribbon tab called Document Set and group called Manage.
Check below link for detail go through:
How to retrieve document set version history
Manage versions for Document Set
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :) -
Crystal Report Preview vs. SAP B1 Report Preview as a Layout under Content Type
Hello good day i'm trying to create a report that will be preview under A/R Invoice but the details need is under delivery module for example i create a serialize Item and set the Management Method on Every Transaction Under Item master data, so the transaction flow will be like this SO -> Delivery -> A/R Invoice. So under delivery transaction i will choose the serial that i will deliver so that under A/R Invoice Transaction i will no longer choose again the said serial that i choose on Delivery Transaction. There for on my Report i will Based on Delivery Transaction to get the chosen Serial But the Report will be Preview under A/R Invoice.
The main concern on This is why when i preview the said Report under Crystal Report the serial is showing but when i Import it on SAP B1 as a Layout under Content type it is no longer showing the serial on the preview?Please post to the SAP Business One Application forum
- Ludek
SCN Moderator -
I am losing my carriage returns when sending emails using the Internet email vi's.
All carriage returns are stripped out and I get one long word wrapped paragraph.
I want to avoid html.
Ideally, using the vi's for rich text would be perfect, but a simple text message with carriage returns and line feeds in any font ok.
uses SMTP Email MIME Text Content-Type.vi
i have tried text/plain, text/html, and mixed yada somethingYou need to use Line feed constant and then use concatenate function.See the screen shot.
Naqqash
Attachments:
Using Line feed.png 15 KB -
How to use custom aspx page as template for custom content type
Hi,
I have created custom content type and custom aspx page. I want to use aspx page as template for custom content type.
Can anybody please let me know how to accomplish this?
Any help would be appreciated.
Thank you,
AA.Check if you are looking for the below
http://www.sharepointpals.com/post/How-to-Create-a-Page-Layout-(PageLayout)-with-ContentType-in-SharePoint-2013
Please remember to click 'Mark as Answer' on the answer if it helps you
Maybe you are looking for
-
I know there's so much questions about audio when rendering but I haven't found my answer It works perfect when I rendering a comp without audio but when I turn the audio on in render settings and click on render it doesn't proceed rendering, somehow
-
How to check the balance of the accounts in a specific dates
Hi all I am using GL, AP and CE. My customer wants some reports or functionality in the system to check the balances of specific accounts in specific dates. So the user has to enter the beginning and the ending date for example: Beginning date: 13-JA
-
Autofill Forms in Adobe Acrobat 8
I'm trying to create a field which automatically autofills another field. I have tried copying and pasting text boxes with the same name and changing the field to the same name but I have not had any luck. I also went to edit-duplicate forms which
-
Field BSEG-SKFBT. does not exist in the screen
Hi, While doing FBV0 the document is not posting and it is showing the error message as below. Field BSEG-SKFBT. does not exist in the screen SAPMF05A 0302 Message no. 00349 Diagnosis The specified field does not exist on the screen. Procedure Check
-
Isn't this Exception block redundant?
DB Version: 10.2.0.4 Found this on procedure code. begin select nvl(user_id,'NONE')into v_userid from user_info where user_id = p_userid; exception when no_data_found then RAISE_APPLICATION_ERROR (-20002, 'No Such User'); end;