List custom form with content type drop list

We're building retention polices for our documents we have 18 document type each has different retention period , when user enter document information we need to choose a document content type from dropdown list instead of choosing it from New Item
in ribbon menu, then complete other form fields and save, also ability to change the content type for document item, what is the best practice to complete this task.
BR

Hey,
Have below link for your reference. It may help you.
How to pass query string parameter to SharePoint
list forms
Thanks.

Similar Messages

  • Creating custom form with content type list - Shaepoint 2013 list

    Hi All,
         I have a list with a content type. So basically i have the default content type and another custom one.
    I would like to customize the forms and taught of using sharepoint designer.
    Is this a good approach or is it better using infopath.
    When i try using infopath i don't know how i can using content type to create forms.
    I basically have 2 forms based on the content types how can i separate this when using custom forms and what would be the best practice?
    Cheers and thanks in advance

    Hi Patrick,
    According to your description, you want to create a form for each content type in a custom list with multiple content types. Is it right?
    If we use Infopath to customize forms for a list with multiple content types, it only customizes the default content type, the forms for other content types don't have changes.
    For your requirement, I suggest you use SharePoint Designer to create forms for content types.
    More information about how to create forms using SharePoint Designer 2013:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/09/20/how-to-create-custom-forms-using-sharepoint-designer-2013.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • New Forms with Content Types copies all form fields.

    I'm using the "NEW" button to create a form based on a Content Type.  I know how this worked in the past and I can attach to the right content type and everything.
    My problem is that the form generated is wrong.  It doesn't take the Content Type selected into account.  Instead it just displays everything in the form.
    Anyone else have this issue?
    David Jenkins

    Hi David,
    We need more information to reproduce this issue, could you provide the steps how you did the form based on a content type? 
    Thanks,
    Daniel Yang
    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] 
    Daniel Yang
    TechNet Community Support

  • KE30 decimal not display in quantity column with output type object list

    Hi everyone,
         I already set number format "0.000" in change form screen but when I execute report with output type object list (ALV) that report don't display decimal in quantities column e.g. 0.470 displayed to 0 .
        How can I set number format in output type object list on Transaction code KE30?
    Thanks in advance.
    Pipit

    Hi,
    Better to raise this issue in CO Forum. You can expect some solution.
    regards

  • Rename columns of list created by external content type in share point 2010

    Hi,
    I want to rename columns of list created by external content type.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi,
    Steps to rename column name:
    Open external content type in SharePoint designer
    click on “Operations Design View” from ribbon
    select corresponding external content type operations
    click on edit operation from ribbon
    click next button to get the Return parameter configuration page
    select the parameter and change the display name from the properties
    Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Custom NewForm per content type

    In a list, I have 2 custom Content Types.   I'm trying to figure out how to customize the NewForm differently per each Content Type.
    Anyone know how to do this?
    thanks!

    Hi  ,
    For customizing for SharePoint content type, you can refer to the blogs:
    http://spcustomforms.codeplex.com/
    http://0x90monkey.blogspot.se/2012/05/custom-forms-for-sharepoint-content.html
    http://msdn.microsoft.com/en-us/library/aa544142%28v=office.14%29.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Dispform.aspx with content types

    SharePoint 2013 farm.
    I have two content types in a list. I need to change the dispform.aspx. 
    There are different fields for both content types, so copying the dispform.aspx to create and modify a new one is not a solution I think. I am not sure. i am new in this :)
    Can someone give me a step by step, how to modify the displayform of a list so that I can customize the the form for both content types.
    best regards,
    Olafur

    Hi  Olafur,
    There is a way in SharePoint Designer to specify which form the different content types in a list or library will use.
    Open up the list,  click on the content type name:
    On the Content Type screen, under the forms section, there is a text field where you can enter the relative path to the new form that you created.
    Reference:
    http://social.technet.microsoft.com/Forums/en-US/8f62d12d-8b72-40c7-baa4-59f4c211e86a/calendar-unique-newform-for-each-content-type?forum=sharepointgeneralprevious
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • How to Read a Message with Content Type multipart/alternative

    Hi ,
    I need to write a POP3 Client to read email message ..but some times the messages comes with content type multipart/alternative
    how to parse it and read only one of the content :
    for example :
    This is a multi-part message in MIME format.
    ------=_NextPart_000_12C25_01C6B64F.09226B00
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit
    Assignment to workgroup Name 1 : L2 SD Service Delivery Apps Spt
    Open CI Search Code : HPSD
    Description : tesat
    General Information :
    Is the workgroup owner Aware of the addition to Workgroup : Yes
    Workgroup to be added :
    L2 SD Service Delivery Apps Spt
    ------=_NextPart_000_12C25_01C6B64F.09226B00
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <br><P>Assignment to workgroup Name 1 : L2 SD Service Delivery Apps =
    Spt</P>
    <P>Open CI Search Code : HPSD</P>
    <P>Description : tesat</P>
    <P>General Information :</P>
    <P>Is the workgroup owner Aware of the addition to Workgroup : Yes</P>
    <P>Workgroup to be added :</P>
    <P>L2 SD Service Delivery Apps Spt</P>
    <P> </P>
    <P> </P>
    <P> </P>
    <P> </P>
    <P> </P>
    ------=_NextPart_000_12C25_01C6B64F.09226B00--
    The Same message is in text as well as HTML so not sure how to read it .
    currently my program is as follows
    for (int i = 0; i < found.length; i++) {
    Message m = found;
    // Get some headers
    Date date = m.getSentDate();
    Address [] from = m.getFrom();
    String subj = m.getSubject();
    String mimeType = m.getContentType();
    System.out.println(date + "\t" + from[0] + "\t" +
    subj + "\t" + mimeType);
    Object o = m.getContent();
    if (o instanceof String) {
    System.out.println("**This is a String Message**");
    System.out.println((String)o);
    } else if (o instanceof Multipart) {
    System.out.print("**This is a Multipart Message. ");
    Multipart mp = (Multipart)o;
    int count3 = mp.getCount();
    System.out.println("It has " + count3 +
    " BodyParts in it**");
    for (int j = 0; j < count3; j++) {
    // Part are numbered starting at 0
    BodyPart b = mp.getBodyPart(j);
    String mimeType2 = b.getContentType();
    System.out.println( "BodyPart " + (j + 1) +
    " is of MimeType " + mimeType);
    Object o2 = b.getContent();
    if (o2 instanceof String) {
    System.out.println("**This is a String BodyPart**");
    System.out.println((String)o2);
    } else if (o2 instanceof Multipart) {
    System.out.print(
    "**This BodyPart is a nested Multipart. ");
    Multipart mp2 = (Multipart)o2;
    int count2 = mp2.getCount();
    System.out.println("It has " + count2 +
    "further BodyParts in it**");
    } else if (o2 instanceof InputStream) {
    System.out.println(
    "**This is an InputStream BodyPart**");
    } //End of for
    } else if (o instanceof InputStream) {
    System.out.println("***********************************This is an InputStream message**");
    InputStream is = (InputStream)o;
    /* if(m.getContentType().equalsIgnoreCase("multipart/alternative")) {
    MimeMultipart mp = new MimeMultipart();
    // Assumes character content (not binary images)
    } else {*/
    BufferedReader reader
    =new BufferedReader(new InputStreamReader(is));
    String thisLine=reader.readLine();
    while (thisLine!=null) {
    System.out.println(thisLine);
    thisLine=reader.readLine();
    So when the Content TYpe is multipart/alternative it goes into InputStream message .
    any help and ideas to handel such situations ?
    Thanks
    San
    Message was edited by:
    sanrosh_95

    Try reposting that with tags (replace the {'s with ['s).
    Long story short, I think the FAQ and examples would go a long way towards explaining this, but you basically can check the content type, or check if the content contains parts, and parse each part separately.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to display the image while set custom header "x-content-type-options" as "nosniff" in web.config

    Hi,
    I am using Microsoft ASP.NET TreeView control where I have bound embedded images. Also I have set custom header “x-content-type-options” as
    “nosniff” in web.config file.
    On hosting the sample containing the above mentioned things in SERVER machine, the images are not visible but its working properly while running sample in local (development) machine. 
    Kindly provide a solution and find the sample in the below link.
    http://goo.gl/6uR2b0 
    Thanks,
    Alagarsamy D.

    Hi AlagarBala,
    Your issue is related to asp.net/web technology and for a better support on this please post your question to the asp.net forum below, this forum is for C# code issues in speicific:
    http://forums.asp.net/
    Regards,
    Fouad Roumieh

  • Batch uploading to a document library with content types

    Hi,
    I have a document library with two content types. Now I need to upload documents to this document library. However, if I have large number of files, then uploading through web UI is a pain as metadata will not be attached. How should I automate it  from
    my computer using powershell without relying on Administrator to run the powershell script. Or is there any other way to do it without using powershell? or  can powershell be run remotely from an end user computer?
    Note I am using SharePoint 2010.

    Hi,
    According to your post, my understanding is that you want to butch upload files to document library with content types.
    There are two good tools in CodePlex which can batch upload files with content types, you can have a look at them.
    DocMetaMan : Bulk document Upload and MetaData (Taxonomy) Setter
    SharePoint Multiple File Upload Script
    There are some third-party tools which can achieve the same scenario, you can refer to it.
    http://sharepoint.stackexchange.com/questions/74694/uploading-multiple-files-with-metadata
    Thanks,
    Jason
    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]
    Jason Guo
    TechNet Community Support

  • Reset Select List in Form With Report

    Hi,
    i have Created Form with Report Page. I have three select List on this page.
    1-Market Name Select List with Redirect
    2-Customer Name Select List with Redirect
    3-Contect Person
    when i select market Name then Respective Customer name is select In to select List Customer Name.
    When i select Customer Name Then Contact Person is Select in Select List Contect Person.
    Problem is when i select Customer Name from Select List then Contact Person comes into Contact persion Select List But the value in select List Customer Name and Market Name is not dispaly , Display Only -Select Market - and -Select Customer Name- .
    I want when i select Customer NAme From Select List then value from MArket and customer Select List should not be reset.
    How can i do this.
    Thanks
    Edited by: 805629 on Jan 26, 2011 10:45 PM

    Try 'select list with submit', not "select list with redirect". Redirect usually doesn't save the values in session state so they are lost when the page repaints.

  • Update content type in list not working

    My list content type is not getting updated.
    I have a content type defined in a feature. I have created a new column and updated the feature definition and reactivated the feature.  I have also written powershell to check and update the content type with the new column.  The content type
    gets updated but not at the list level.  The powershell looks like this:
    Function UpdateContentType($contentType, $fieldLink)
    if ($contentType.FieldLinks[$fieldLink.Name] -eq $null)
    Write-Host Adding Field to content type
    $contentType.FieldLinks.Add($fieldLink)
    $contentType.Update($true)
    I thought the Update method was supposed to push the changes down, but it doesn't seem to be working.  This code does work in a different environment so I'm not what is going on.
    Caroline

    You will need to updated the list also, after updating the content type
    This is sample code how you update list which is using the Content Type.
    IList<SPContentTypeUsage> usage = SPContentTypeUsage.GetUsages(newsCT);
    foreach (SPContentTypeUsage item in usage)
    if (item.IsUrlToList)
    SPList list = rootWeb.GetList(item.Url);
    if (!list.Fields.ContainsField(firstName.InternalName))
    list.Fields.Add(firstName);
    list.Update();
    more information you can check at this link
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Associating a Custome ResultSet with a Choose From List

    Hi Experts,
    I have to Link the Chose from List with a UDO for accessing the records from the Parent Table /Child Table
    How to crack this problem?
    Also I have to associate the Results of a custom query in a choose from list so that when I press TAB over a Text Box I get a Choose From List which displays the Results and I could select one of those rows.
    Plz Hint me for this Problem

    Hello,
    When you create CFL, just set your UDO type with oCFLCreationParams.ObjectType = "My_UDO", the collumn to be displayed in CFL has been determined by Find Service in your UDO definition.
    As per custom query, actually you can set the condition to do so. Direct customed SQL is not supported in CFL. You may refer to the SDK sample for further info after you install SDK component:
    <<C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\17.ChooseFromList>>
    Private Sub AddChooseFromList()
            Try
                Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                oCFLs = oForm.ChooseFromLists
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                ' Adding 2 CFL, one for the button and one for the edit text.
                oCFLCreationParams.MultiSelection = False
                'Just Set your UDO type.
                oCFLCreationParams.ObjectType = "My_UDO"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
                ' Adding Conditions to CFL1
                oCons = oCFL.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "CardType"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "C"
                oCFL.SetConditions(oCons)
            Catch
                MsgBox(Err.Description)
            End Try
        End Sub
    Kind Regards
    -Yatsea

  • List field vs. Content Type Field - Powershell

    Hello,
    We have a bunch of document libraries where we have a List Column that contains information.  We have recently added a content type to the libraries and would like to copy the information from the List Column to a field in the content type.
    How do I use powershell to refer to these fields?
    If I have the Document Library (List) as a variable $list then I assume that I refer to the field as $list.$column.  But how do I do the same for the document?   How do I iterate through each document in the library to accomplish the same thing
    with a for loop?
    Something like:
    $list = $web.GetList("My List Name")
    foreach ($document in $list)
    $document.Fields["Document Field"] = $list.Fields["List Field"]
    $document.update()
    Any help would be greatly appreciated,
    Matt

    your code should be similar to
    $web=Get-SPWeb http://your_site_url_here
    $list=$web.Lists["List_Name_here"]
    foreach($item in $list.Items)
    #your logic here
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

Maybe you are looking for

  • Aluminum Keyboard keys "n", "y", and right "shift" not working

    My cat knocked over a glass of water on my desk, and while the keyboard attached to my MacBook didn't get water directly into it from the top, it was eventually surrounded in water. It's now dry, and everything works ok except for the N Y and right S

  • Getting TV show DVDs on my ipod

    I have a problem getting my tv show dvds on my ipod, i can get regular movies to play, but not multiple shows, it picks one show and only loads it instead of the whole disk? can anyone help? I use the Videora converter and dvd decrypter.

  • What PPI/DPI should I use when making a DVD menu in PS?

    I am making a movie in HD and am wondering either the PPI or DPI recommended. Thanks!

  • Possible to change date format when importing files into Aperture 3

    Just wondering if it is possible to change the format of the date from YYYY-MM-DD to YYYYMMDD when you rename files as they are imported into Aperture 3? I typically rename my files and insert my initials, date the photo was taken, sequence number, c

  • Report links from bottom to top

    Hi, Can someone please guide me one this issue: I want to bring the links ( return, download etc...) that usually displays at the bottom of report to top of report. Can someone help me on this issue?