Urgent!!! How to convert received mail 'content type?

How to convert received mails 'content type from text/plain to multipart/*?

you cannot change the content type of a Message object which has been received. What you can do is create an instance of a MimeMessage class and set the content type as multipart and then add the received message as a bodypart to that message.
You can look at the javamail example codes as to how to create a new MimeMessage with multipart content.
anurag

Similar Messages

  • How Do I Set XML Content-type in Flex 3

    Hi,
    My Flex 3 project makes an ExternalInterface call to some Javascript. The Javascript is then turned into XML.
    But, my xml isn't parsing in IE. It works in all other browsers. I think that the problem is that I haven't set the XML's content-type. As I understand it IE requires that the Content-type be set. Is this correct?
    My code looks like:
    myReturn =  '<myXMLReturn>' + myReturn + '</myXMLReturn>';
    myReturn = '<?xml version="1.0" encoding="UTF-8"?>' + myReturn;
    xmlReturn = new XML(myReturn);
    How would I set: header('Content-type: application/xml'); for an ExternalInterface call?
    Thank you.
    -Laxmidi

    Okay. I figured it out. I don't need to set the Content-type.
    I had a case sensitivity problem in parsing the xml. Thank you.
    -Laxmidi

  • How do I set the content type ?

    Hi
    I have to upload a file from my Java Application to a remote servlet.
    I have used the HTTPConnection class to connect to the remote servlet and made it call the POST method explicitly.
    How do I set the content type of the file I am uploading from my Java apllication?
    I tried to change the content type in the doPost method. by giving
    req.setContentType("multipart/form-data"); in the doPost.
    It still doesnt work..
    Is there any way to set the content type in the Java application?
    Thanks in advance

    What class is your req variable? If your using a HttpServletRequest, then there is no method req.setContentType("");
    In the HttpServletResponse this is for telling the web browser or receving medium what kind of mime type to expect.
    And what package is the HttpConnection class from?
    I think more precise info is required before this question can be answered.

  • 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]

  • How to modify the mail content in Spaces

    How can the default mail content dispatched from "Send Email" in Discussion Forum can be modified ? Please can someone guide on how this can be achieved?
    I need to modify the subject of the message being broadcasted to the Space members.
    Version WebCenter Spaces PS4 (no cutomizations have been done)

    Hi,
    Do you mean to read the mail content in R/3 inbox or UWL..?
    If in R/3 then SBWP transaction Unread Documents..
    If in UWL see notifications part.
    Please if this does not solve your problem> please elaborate on your problem
    Regards
    Sai

  • How can I receive mail not addressed to me?

    This is a security question. Have any of you been receiving mail not addressed to you?
    Lately, after the installation of MacOSX 10.4.10 on her G4 PowerBook, a family member has been receiving letters in Apple Mail not addressed to her. Had they arrived by mail, they should have been moved to her Junk Folder by her junk filter.
    At first this alarmed me greatly (well, it still does): I removed her computer from the internet & performed examinations for break-ins; for I believed these letters were not mailed, but inserted into her inbox. Because she doesn't believe in security, I was limited to examining logs, and scanning her computer in firewire target disk mode. Both MacScan and ClamXav revealed nothing.
    Puzzle 1: About a month ago, there appeared a finder image (happy blue face) at the bottom of her desktop (which is a unique grey-green designed by me). This disappeared in a day or two, at 5:00p on the dot, suggesting an application was involved. When I checked the logs at the exact date & time of desktop photo switches, there was an hiatus (which could have been natural).
    Puzzle 2: Today she again received a letter not addressed to her, but to '[email protected]'. (I sent a letter from a mail alias to this address, but it did not appear in her mailbox.) The letter, by the way, was a phish from Germany, so I reported it immediately to Spam Cop. An addendum to this question contains the header of this letter, with the real person's name replaced by [email protected]. (Nothing here need be removed by a moderator.)
    Has anyone an explanation for either of these puzzles? I think they're both important. (Before the internet was released upon the public, Postmasters would read the recipient and subject lines of dead letters, then forward them to whoever they thought it was for. 'Krystal2' has no relation to 'correctname', so that's unlikely.) Also, my wife has allowed me to secure her computer better, and no problems similar to 1 or 2 has ever appeared. Thanks very much for any ideas!
    Bruce
    ADDENDUM: Long Header of Letter (safe to display)
    Return-path: <[email protected]>
    Received: from mac.com ([10.150.68.24])
    by ms173.mac.com (Sun Java System Messaging Server 6.2-7.05 (built Sep 5
    2006)) with ESMTP id <[email protected]> for
    [email protected]; Wed, 21 Nov 2007 10:14:18 -0800 (PST)
    Received: from dslb-088-068-127-106.pools.arcor-ip.net
    (dslb-088-068-127-106.pools.arcor-ip.net [88.68.127.106])
    by mac.com (Xserve/smtpin024/MantshX 4.0) with SMTP id lALIDf9G011038; Wed,
    21 Nov 2007 10:13:48 -0800 (PST)
    Received: from pacbell.net (seclude.pacbell.net [12.57.124.138])
    by wptop.com with SMTP id 0QPZBZ0LZ5 for <[email protected]>; Wed,
    21 Nov 2007 12:12:45 -0600
    Date: Wed, 21 Nov 2007 10:13:41 -0800 (PST)
    From: BB&T <[email protected]>
    Subject: BB&T: security alert! (message id: JT4786381)
    To: Krystal2 <[email protected]>
    Message-id: <[email protected]>
    MIME-version: 1.0
    X-Mailer: Calypso Version 3.20.01.01 (4)
    Content-type: multipart/alternative; boundary=--LSNV40EM4DGH64PSJJH7BC
    X-Priority: 3 (Normal)
    X-Originating-Server: maido3.com (unknown [40.36.3.192])
    User-Agent: Calypso Version 3.20.01.01 (4)
    Original-recipient: rfc822;[email protected]
    ----LSNV40EM4DGH64PSJJH7BC
    Content-Type: text/html;
    Content-Transfer-Encoding: 7Bit

    David,
    Sorry, migraine over the holidays. Thank you: you're right! The reason I don't get any like this is because the SPAM must apparently use RFC822. This protocol appears deprecated. It appears stamped on some mail initially sent by Apple, but not others.
    Thank you very much, for these have been concerning me. I'm used to seeing my name stamped by each relaying computer. A test letter I sent from my local ISP with a BCC to myself at a school across the country stamped my name at each step.
    Your first sentence is slightly ambiguous. In my opinion, any problem whose only explanation at the moment is a security breach is then a security problem, and should be treated immediately as such. The Finder's image is still one.
    Thanks again.
    Bruce

  • How to Configure Receiver Mail Adapter?

    I need to designed a BPM if Message is failed to update database then send an e-mail to alias group in Microsoft outlook by using Receiver Mail adapter.
    Can someone help me to design above BPM and how I need to configure receiver mail adapter.
    Thanks in advance!
    Mrudula

    I am getting  <Trace level="3" type="T">Unknown channel type: Mail</Trace> when it tries to call "MAIL" adapter.
    Does anyone has any clue where should I look?
    Thanks!
    Mrudula
    <Trace level="3" type="T">Calling pipeline service: PLSRV_CALL_ADAPTER</Trace>
      <Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>
      <Trace level="3" type="T" />
      <Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>
      <Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>
      <Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>
      <Trace level="3" type="T">ADRESSMOD = SD</Trace>
      <Trace level="3" type="T">P_CLASS =</Trace>
      <Trace level="3" type="T">P_IFNAME =</Trace>
      <Trace level="3" type="T">P_METHOD =</Trace>
      <Trace level="3" type="T">FL_LOG =</Trace>
      <Trace level="3" type="T">FL_DUMMY = 0</Trace>
      <Trace level="3" type="T" />
      <Trace level="3" type="T">Unknown channel type: Mail</Trace>
      <Trace level="3" type="T" />
      <Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>
      <Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>
      <Trace level="3" type="T">PLSRVTYPE = AENGINE</Trace>
      <Trace level="3" type="T">ADRESSMOD = SD</Trace>
      <Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_IE_ADAPTER</Trace>
      <Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>
      <Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>
      <Trace level="3" type="T">FL_LOG =</Trace>
      <Trace level="3" type="T">FL_DUMMY = 0</Trace>
      <Trace level="3" type="T" />
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />

  • How to get Formatted Mail Content through Java Application

    I am using a mail sending function in my applet code which is listed below:
    Main content is fetched from a format tool bar in JSP Page and it is passed as parameter to applet and it is used inside the mail content.
    Same content when passed and executed in a JSP page, the formatted content is not lost and it is included in mail content as what it is fetched from Format Tool Bar.
    Format is lost when it is used inside the Java Application mail sending function.
    The below code I have used to send mail:
    package com;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.mail.BodyPart;
    import javax.mail.Message;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    class mailsendClass
    public void sendmail(String from,String host,boolean debug,String msgText)
         try
              Set tomailsid = new HashSet();
              Set ccmailsid = new HashSet();
              //to mail ids           
              tomailsid.add("[email protected]" );          
              tomailsid.add("[email protected]" );
              tomailsid.add("[email protected]" );
              //cc mail ids
              ccmailsid.add("[email protected]" );
              ccmailsid.add("[email protected]" );
              String mailarray[]= (String[])tomailsid.toArray(new String[tomailsid.size()]);
              String ccmailID[]= (String[])ccmailsid.toArray(new String[ccmailsid.size()]);
              Properties props = new Properties();
              //props.put("mail.smtp.port","425");
              props.setProperty("mail.smtp.host", host);
              if (debug) props.setProperty("mail.debug", ""+debug);
              Session session = Session.getInstance(props, null);
              session.setDebug(debug);
              String mailsubject = "Mail Subject";
              // create a message
              Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[mailarray.length];
              for (int i=0;i<mailarray.length ;i++ )
              toAddress=new javax.mail.internet.InternetAddress(mailarray[i]);
              System.out.println ("id inside to address loop " + i + " is "+ mailarray[i]);
              System.out.println ("toAddress " + i + " is "+ toAddress[i]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailsubject);
              try
                   javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[ccmailID.length];
                   for (int i=0;i<ccmailID.length ;i++ )
                        CCAddress[i]=new javax.mail.internet.InternetAddress(ccmailID[i]);
                        System.out.println("CC Array is ===> " +CCAddress[i] );//          
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              catch(Exception ss)
                   System.out.println("CC mail Exception is ====>"+ ss);     
                   msg.setSentDate(new java.util.Date());
    //          Multipart multipart = new MimeMultipart("relative");
                   Multipart multipart = new MimeMultipart("alternative");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(msgText, "text/html");
    //          messageBodyPart.setContent(msgText, "text/plain");
              multipart.addBodyPart(messageBodyPart);          
                   msg.setContent(multipart);
              Transport.send( msg );
         catch (Exception e)
              System.out.println("The Exception is ------>"+e);
    public class SendMail {
    public static void main(String[] args)
         System.out.println("before Mail Send ");
         mailsendClass mail = new mailsendClass();
         String from="[email protected]";
         String host="172.16.2.6";
         String msgText="<p><strong>Index</strong><br />I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:<br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///Index' href='ftp://index/'>ftp:///Index</a><strong><br />XML Coding - Files with errors</strong><br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///XML_Coding_Need%20Fixing' href='ftp://xml_coding_need%20fixing/'>ftp:///XML_Coding_Need%20Fixing</a></p>";
         mail.sendmail(from,host,true,msgText);
         System.out.println("after Mail Send ");
    Content placed in format tool bar is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    ftp:///Index
    XML Coding - Files with errors
    • Engage
    • Chapters 1–6
    ftp:///XML_Coding_Need%20Fixing
    Content fetched from format tool bar inside JSP page is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Fetched Content inside Java Application through parameter and it will use as input for mail content is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    • Engage
    • Chapters 1–6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Actual mail received after Java Application execution is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    ? Engage
    ? Chapters 1?6
    ftp:///Index
    XML Coding - Files with errors
    ? Engage
    ? Chapters 1?6
    ftp:///XML_Coding_Need%20Fixing
    Unicode characters in the mail content are replaced by “?”.
    In the function listed above I have used the MIME Setting as
    Multipart multipart = new MimeMultipart("alternative");
    I have tried by using “relative” MIME format also as
    Multipart multipart = new MimeMultipart("relative");
    But I am not getting the actual format passed as input to the Java Application in the mail content.
    Can anybody let us know how to overcome this problem?
    Thanks in advance.

    You need to really understand how the different multiparts work instead of just guessing.
    But for your application, you don't need a multipart at all. Just use msg.setText(msgText, null, "html");
    Although that doesn't explain your problem, it will simplify your program.
    How are you determining that the mail received doesn't have the formatting? Are you viewing it in a
    mail reader (e.g., Outlook)? Or are you fetching it with JavaMail?
    Are you using an Exchange server? Exchange will often reformat your message to what it thinks you meant.

  • Urgent  urgent  urgent how to convert 20 ear file into  1 sca file

    hi experts, friends
    help me if are intersted with this question  ( its very urgent )_
    my questions is
    1 . how to convert the 20 ear files into 1 sca file
    2 . how can i do that is there any 3rd party tool is there to convert
    descripation :- i have 20 application which are developed by  ui webdynpro java . 20 application are in .ear
    files, that i can see in sdm tool. now i need to pack or bundil all 20 application or .ear files into 1 .sca file.
    plz help me to resolve this issue
    regards
    raja

    Raja,
    The following conversions are possible:
    PAR to EAR
    EPA to SDA
    EAR to SDA
    SDA to SCA
    Check with this SAP Help to make SDA file first and then
    SDA to SCA.
    [Creation of SDA and SCA Archives|http://help.sap.com/saphelp_nw70/helpdata/EN/a3/782240da03e569e10000000a155106/frameset.htm]
    Check out this SAP Note as well :
    Note 696084 - EP 6.0: How to create SDA files for EPA or PAR files
    You can use the Command Line tool if your environment is SAP NetWeaver 7.1 Composition Environment (CE).
    [Composition Environment Command Line Tool |http://help.sap.com/saphelp_nwce10/helpdata/en/45/5a3613dca22a4ce10000000a11466f/frameset.htm]
    or
    Follow the way mentioned here.
    [Adding Transport Packages to NWDI|http://help.sap.com/saphelp_nw70/helpdata/EN/45/bd060552fd731de10000000a1553f6/content.htm]
    Regards,
    Karthick Eswaran
    Edited by: Karthick Eswaran on Jun 20, 2008 8:50 AM

  • How to identify  received mail is failure delivery notice mail in javamail?

    Hi friends,
    My requirement is that i have to identify failure delivery notice mails while receiving mails through javamail api pop3..
    Is there anyway to idenity those among normal mails?
    luking forward ur replies dudes...

    If you search this forum you'll find some examples, including a simple modification
    to the msgshow.java demo program to illustrate the basic use. And don't forget
    to read the javadocs for the com.sun.mail.dsn package.
    The basics are...
    Check for a message of type "multipart/report" (isMimeType), fetch the content of
    that message (getContent) and cast it to a MultipartReport object, then use the
    methods of that object to extract the data and process it however you want.

  • Very Urgent--- How to Convert Non Valuated stk into Valuated

    Dear GURU'S
    Actually for a material A when i see the stock in MM03 in accounting tab i see less stock then when i see in MMBE
    i.e in MMBE if i select Material A and Plant B(Which is depo in my case) i see stock as 39
    but for same material MAterial A and Plant B ,if i see in MM03 --in accounting tab i m able to see less stock i.e only 1
    ============================================
    Well the problem is In MM03 I cud see only valuated stk i.e qty as 1
    And in MMBE for a partiocular material for a particular plant the stock was 39
    i.e Here i am getting Valuated + Non valuated stock
    i.e i am getting difference of 25
    =====>>>
    To get into the root cause
    I have gone to MB5B where i can get all the transaction that has been done on this material with movement type also i got the intial stock ,Goods recpt ,Goods  issu and total stock
    No for a particular material
    In MB5B it is showing
    Stock on 01.01.2005    =  38
    receipts total               = 238
    Issues total                  =237
    Stock as on 18.02.2008 = 39(which is equal to Stock in MMBE)
    =============>This is for valuated +Non valuated stock
    Where as if i want to see only valuated stock it was showing
    receipts total      = 238
    Issues total         =237
    Stock as on 18.02.2008 =1  (which is equal to stock in acctg view in MM03)
    ====================>This is only for Valuated Stock
    ======================================
    Now how to solve this :
    The initial qty(38) which has been posted it was at the begining that is at the start of the project
    And the people who have posted it ,it was non valuated
    that is the reason it is showing difference in MM03 and MMBE
    First thing
    How can i see on which date this initial stock has been posted
    Second Query
    How to convert this non valuated stock into Valuated stock
    So that the quantity in MMBE and MM03 gets matched
    Willl award 10 Points if my problem gets solved
    THANKZ IN ADVANCE
    REgds
    Shailesh

    Dear friend
    Actuallly i have checked the history of that particular Item in MB51
    I have gone through all the documents created for this material
    Now this material also exist in DEPO which is located at chennai and plant is at mumbai
    So Initially in the year-2006(31-10-2006) whater documents are created i.e STOP has  been created and delivery has been made (Mov type-601)
    are non valuated stock ,means they have been posted without any valuation
    But from year 2007(01.02.2007) the documents whiohc have been posted are valuated
    i.e is the reason when i am executing transaction MRN9 to check the history of valuated stock
    I cant see non valuated stock
    Well now how to do the valuation of this stock which have been posted in year 2006 so that
    In MMBE and MM03 there is no difference of stock
    Plz hepl
    regds
    shailesh

  • I can no longer receive e-mail messages through my @mac/@me account. I can still send e-mail messages, though. I believe there may have been recent attempts to hack into my account. I have changed my password, but wonder how to start receiving mail again?

    I can no longer receive e-mail messages through my @mac/@me account, though I still seem to be able to send messages. I believe there may have been recent attempts to hack into my Mail account (my LinkedIn and Facebook accounts were both hacked three days ago and a scam/phishing message sent to my contacts, and I know there was at least an attempt made to hack into one of my e-mail accounts). I have already changed my Apple password, but how do I start receiving mail again?
    (And I should also say that I'm a little surprised there was no alert from Apple of suspicious activity on my account, if such was the case. Instead, when I logged into my account via Mobile Me three days ago I noticed that all messages in my inbox were gone as well as all of my contacts. I assume this was related to the current problem.)
    Thanks for all responses.

    The problem has been solved with the help of a MobileMe online counsellor. My MobileMe account had in fact been hacked into and the fraudster had been redirecting my e-mail messages to a phony account that he controlled. We took the forward off and reset all my passwords and security questions, which solved the immediate problem.
    Thx.

  • How do I change the content-type in http header when using JAX-WS?

    I need to change Content-Type in http Header. I am using JAX-WS to invoke web service call. Can someone tell me how to do it? Thanks a lot!

    LabVIEW does so many wonderful things, but the inability to perform what should be a simple task, such as upgrade a RT chassis within a LV Project, bewilders me. This is going to cost me hours, I just know it...
    Is there anything on the Idea Exchange for this?? A quick search shows nothing, so maybe I'll add an entry.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • How to customise and navigate Content Type - SharePoint 2013 List

    I need some advice here. I'm customizing forms that have list built using Content Types. I noticed the difference in the links is something like this below I have one default content list type called item and the other one is called College Form
    Item is ContentTypeId=0x01003FF12EB7EAB88340BEE53D34C38A906200147E508F34B9164ABE555FF698569C27
    College Form is ContentTypeId=0x01003FF12EB7EAB88340BEE53D34C38A906200147E508F34B9164ABE555FF698569C27
    When doing my customization of the form I would like to hide some fields and show some based on the content type. I know by default the content type does that. But im using JS to hide some fields but don't know how i can do this or what values to use to
    make this happen.
    Any ideas and thanks in advance

    WPQ2FormCtx.ItemContentTypeId will give the content type ID of the item in each of the forms newform.aspx, ediform.aspx and displayform.aspx. You can also use WPQ2FormCtx.ItemContentTypeName, if you want to compare name instead of Id. Here is a JQuery
    code to hide fields in the forms:
    <script type="text/javascript">
    jQuery(document).ready(function($) {
        if(WPQ2FormCtx.ItemContentTypeId == '0x010400C36D463A4788AD4AAF5F85C02DA29F8E') {
        $("h3.ms-standardheader:contains('Body')").closest("tr").hide();
    </script>
    Note that this script assumes the JQuery is already referenced in the site. You can place above code in Script Editor web part in each of the forms. 
    Also, beware that this way you can hide the field from UI, but user can still open the page source and find the actual information in the hidden field. 
    If the requirement is to completely hide the field data then you will need to set the field properties like showInEditForm, showInDisplayForm and showInNewForm
    Nadeem Yousuf

  • How to Enforce Sharepoint 2013 content type validation rules when modifying document using Word 2013

    Good day,
    I have two date columns (Start Date and End Date) in a content type in Sharepoint 2013.  A file library uses this content type.
    In the document template I have the two dates (Start Date and End Date) showing in the Document Panel.  I can edit them well enough and they show in the document correctly.
    In the content type I have validation rules that the End Date must be greater than the Start Date. 
    The question is, how can I enforce this validation on the client side in Word.  Is there anyway to achieve this?
    The user will not have access to change the document properties in Sharepoint. (Not my call)
    Thank-you!

    The "panel" is called the Document Information Panel in SharePoint. You can customize this using InfoPath from the page where you created / edited your Content Type. Go to Settings, Site Settings Content Types, edit your content type, click Document
    Information Panel and then click "Edit this template". In InfoPath you can create a Rule to enforce your dates.
    This may require the Enterprise Edition of SharePoint to support the InfoPath Forms Services.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

Maybe you are looking for

  • Open links in same window, not new

    Help greatly appreciated! My links open in a new window, but I need them to open in the same window. What do I need to add to my code so that this happens. Here is my code- stop(); var arrLinks:Array = new Array(); arrLinks[1] = ' http://www.diesel-e

  • How do I set a password to open firefox?

    We use to have a password that was set to pop up on the opening of firefox. I recently updated firefox and can no longer find the place to do this again.

  • Adding Custom fields in ECC Business partner BP - (BUT000) using BDT or EEW

    Hello BDT / EWWB Gurus, We have a requirement to add custom fields to ECC Business partner, which interns create custom fields in But000 table. I would be great if anyone could let us know how to add Custom fields using BDT or EEWB. Please also elabo

  • Exit x11 fullscreen mode

    Hello, I have Mac OS X 10.5.7 and recently installed x11 v2.0 I am just testing it in the full screen mode. On my other mac 10.4.11 I can exit full screen mode and switch back to Desktop with (CMD H) but that does not work on the new system. Somebody

  • JTA transaction timeout vs. EJB transaction timeout

    Hi, can anybody tell me if the JTA transaction timeout, e.g. <JTA Name="myServer" TimeoutSeconds="60"/> works for EJBs as default transaction timeout if none is given in the deployment descriptor. I assumed that this is correct, and tried to test thi