Customize "Edit Properties" form sharepoint 2013.

I'd like to customize the form for the document.  However when it pops up I can't edit it like any other page.  In SP Designer I looked under the (library/forms) and see an EditForm.aspx.  However this deosn't appear to be it.  When I
renamed that the form still came up.  I  need to hide a column using Jquery.  It's a site column attached to the library so I can't hide it and I want it to appear in "View Properties" anyway.
Thanks.
Tom
Tom

Hi,
The SharePoint List Forms are generated through XSLT.
If you want to hide some information from Forms, each field has an attribute "ShowInEditForms", "ShowInNewForm", ...
You can change the values of those properties with powershell.
There is a sample script found on the URL below :
$url = "http://myserver:Port";
$list = "List";
$fieldname = "NewColumn";
#Setting up context
$contextSite = New-Object Microsoft.SharePoint.SPSite($url);
$contextWeb = $contextSite.OpenWeb();
$list = $contextWeb.Lists.TryGetList($list);
$field = $list.Fields[$fieldname];
# Controls Field in Edit Form
$field.ShowInEditForm = 1;
# Controls Field in New Form
$field.ShowInNewForm = 0;
# Controls Field in New Form
$field.ShowInDisplayForm = 1;
# Hides fields from list settings
$field.ShowInListSettings = 1;
# Hides fields from version history
$field.ShowInVersionHistory = 1;
# Hides fields form selection in views
$field.ShowInViewForms = 1;
# Don't forget to update this field
$field.Update();
# And finally dispose everything.
$contextWeb.Dispose();
$contextSite.Dispose();
You will find more information here :
http://www.n8d.at/blog/hide-fields-from-lists-and-content-types/
Best Regards,
Frederic
Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

Similar Messages

  • Old third-party tool causing edit properties form to now load properly.

    When our environment was SharePoint 2007 we had a third party tool that was used for indexing documents.  Because of this it had a custom form to edit the properties of a list item or document.  This add-on was removed from all of the sites prior
    to upgrade to SharePoint 2013 - except for one that was overlooked. 
    Now when someone attempts to edit an item they are created with an error.  I've tracked it back to trying to load this custom form to edit the properties and obviously that add-on isn't there any longer.  
    Does anyone have any suggestions to reset the edit properties form to the SharePoint default?  It's not terribly convenient to recreate this list so I'd love to be able to make the change in-place as opposed to starting from the 2007 backup. 
    Thanks,
    Troy

    Hi Troy,
    For resetting customized list forms from InfoPath forms back to default forms , you can take steps as below:
    1.Located the list in question and use the ribbon to select List > List Settings.
    2.On the List Settings page, select “Form settings” under “General Settings“.
    3.Change the Form Option from “Modify the existing InfoPath form” to “Use the default SharePoint form“. If you want to completely remove the form, also check “Delete the InfoPath Form from the server“. 
    Reference:
    http://sharepointadam.com/2012/04/24/reset-customized-list-forms-from-infopath-back-to-default/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Is there a way in install a trial version of Project server on a Licensed edition server of sharepoint 2013?

    Is there a way in install a trial version of Project server on a Licensed edition server of sharepoint 2013? Is there anyway around this or do I need to make a new box all trial versions to test this out?
    Thanks
    James T.F

    James,
    Yes, it is possible , however I wont recommend to do it. Since, once Project trial period expires  you need to uninstall project server which can not be done without uninstalling SharePoint. Unless you are willing to rebuild the farm once your
    testing is completed
    Hrishi Deshpande
    Senior Consultant

  • Reorder User Profile properties in SharePoint 2013.

    Hi, I have created custom user profile properties in SharePoint 2013 under User Profile Service Application, now I want to change the order of properties as well as also want to move OOTB properties and custom properties from one section to another section.
    Is there any Power Shell command available to move properties between sections?
    Regards,    

    Hi Prakash,
    Use the script in this blog to retrive user profile properties from a certain section.
    http://stevemannspath.blogspot.in/2013/05/sharepoint-20102013-using-powershell-to.html
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Next, we needed to establish the server context:
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    From the context we can instantiate a ProfileManager object and retrieve all of the SharePoint User Profiles:
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    Next, we loop through the profiles and retrieve the account name (for identification purposes) and the property we are interested in finding:
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    Finally, we list out the collection items that do not have a value for the property (ie. null):
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    FULL SCRIPT
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Write-Host "Beginning Processing--`n"
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    In this blog, we can refer the script to create new section and new properties to this section.
    http://sergioblogs.blog.co.uk/2013/01/08/powershellscript-to-add-new-user-profile-properties-from-the-term-store-15407371/
    # PowerShell Script to Add New User Profile Properties from the Term Store
    # Get parameters
    $mySiteWebApp = Read-Host "Please enter the MySite Web Application URL"
    $termStoreSrvApp = Read-Host "Please enter the Term Store Service Application name"
    # Add SharePoint DLLs
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Taxonomy")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    # Get site collection for MySite
    #$sitecollection = Get-SPSite | Where-Object {$_.Url -eq "http://yourMySiteHostURL"}
    $sitecollection = Get-SPSite | Where-Object {$_.Url -eq $mySiteWebApp}
    if($sitecollection -ne $null) {
    # Get the taxonomy session
    $taxSession = Get-SPTaxonomySession -site $sitecollection
    # Get the term store - you will need to amend the value for the correct name of your MMS Name
    #$termStore = $taxSession.TermStores["Managed Metadata Service"]
    $termStore = $taxSession.TermStores[$termStoreSrvApp]
    if($termStore -ne $null) {
    # Get the term store group for Swisslo
    $termStoreGroup = $termStore.Groups["Name of Term Store"]
    # Get the term sets - Preset with examples for terms (Customer, Function, IndustrySegment, Language, Location, Organization), amend as required
    $termSetCustomer = $termStoreGroup.TermSets["Customer"]
    $termSetFunction = $termStoreGroup.TermSets["Function"]
    $termSetIndustrySegment = $termStoreGroup.TermSets["Industry Segment"]
    $termSetLanguage = $termStoreGroup.TermSets["Language"]
    $termSetLocation = $termStoreGroup.TermSets["Location"]
    $termSetOrganization = $termStoreGroup.TermSets["Organization"]
    # Get the user profile app - change UPS Name as required
    $serviceApplication = Get-SPServiceApplication | ?{$_.TypeName -eq "User Profile Service Application"}
    $serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($serviceApplication.ServiceApplicationProxyGroup, [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager $serviceContext
    $userProfilePropertyManager = $userProfileConfigManager.ProfilePropertyManager
    $userProfileTypeProperties = $userProfilePropertyManager.GetProfileTypeProperties([Microsoft.Office.Server.UserProfiles.ProfileType]::User)
    $userProfileSubTypeManager = [Microsoft.Office.Server.UserProfiles.ProfileSubTypeManager]::Get($serviceContext)
    $userProfile = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $userProfileProperties = $userProfile.Properties
    $ps = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $pspm = $ps.Properties
    #Create new section in User Profiles - set the 'Name of the Section' throughout next chunk of code
    Write-Host "Creating new section for 'Name of Section'...."
    $allEntries = $userProfileConfigManager.GetPropertiesWithSection();
    $sectionExists =$false
    foreach ($temp in $allEntries) {
    if($temp.Name -eq "Name of Section") {
    Write-Host "Section for 'Name of Section' already exists.";
    $sectionExists = $true;
    $section = $temp
    if ($sectionExists -ne $true){
    $section = $allEntries.Create($true);
    $section.Name = "Name of Section";
    $section.ChoiceType = [Microsoft.Office.Server.UserProfiles.ChoiceTypes]::Off;
    $section.DisplayName = "Name of Section"
    $section.Commit();
    Write-Host "Section 'Name of Section' created"
    Write-Host "Creating new properties...."
    $Privacy = "public"
    $PrivacyPolicy = "OptIn"
    $coreProperties = $userProfilePropertyManager.GetCoreProperties()
    # Setting Custom Properties below, amend names as you did above to match your fields
    # Set new Custom Property for "Customer"
    $PropertyName = "SLCustomer"
    $PropertyDisplayName = "Customer"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetCustomer
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Function"
    $PropertyName = "SLFunction"
    $PropertyDisplayName = "Function"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetFunction
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Industry Segment"
    $PropertyName = "SLIndustrySegment"
    $PropertyDisplayName = "Industry Segment"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetIndustrySegment
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Language"
    $PropertyName = "SLLanguage"
    $PropertyDisplayName = "Language"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLanguage
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Location"
    $PropertyName = "SLLocation"
    $PropertyDisplayName = "Location"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLocation
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Organization"
    $PropertyName = "SLOrganization"
    $PropertyDisplayName = "Organization"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetOrganization
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    Write-Host "Completed"
    } else {
    #Termstore not found
    Write-Host "Unable to connect to term store"
    } else {
    Write-Host "Unable to connect to MySite Web Application"
    Need more effort to change this code to work for your requirement.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • User Profiles properties in SharePoint 2013

    Hello Everyone,
    Can we set User Profiles properties in SharePoint 2013 ? 

    Most of them, yes. What are you specifically looking to do?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Show list fields side-by-side when New/Edit/View in sharepoint 2013

    It is possible to show fields in customized view for fields in a list? OOB feature show all columns one after one. But
    I want to show user customized way. like see below image
    Is possible to do in Sharepoint 2013 foundation?. Any developed feature available?
    ItsMeSri MOSS SP2, 3 WEFs, Windows 2008 R2 x64.

    Someone's developed a way to do it through JQuery - I've done it for a single list - it's time consuming to set up but works perfectly. One text file that has the table structure you want to see, then another with a small JQuery function.
    See http://www.markrackley.net/2013/08/29/easy-custom-layouts-for-default-sharepoint-forms/
    The table includes spans that reference the actual column display names - an example row:
    <tr >
    <td>
    <b>Title:</b><br>
    <span class="FMGCustomForm" data-displayName="Title"></span>
    </td>
    <td>
    <b>Issue Status:</b><br>
    <span class='FMGCustomForm" data-displayName="Issue Status"></span>
    </td>
    </tr>
    and the JQuery moves the column from the original location to the correct span. Nice and quick - even on a list with many columns.
    <style type="text/css">
    .ms-formtable
    {display:none;}
    </style>
    <script type="text/javascript">
    $(document).ready(function() {
    //loop through all the spans in the custom layout
    $("span.FMGCustomForm").each(function()
    //get the display name from the custom layout
    displayName = $(this).attr("data-displayName");
    elem = $(this);
    //find the corresponding field from the default form and move it
    //into the custom layout
    $("table.ms-formtable td").each(function(){
    if (this.innerHTML.indexOf('FieldName="'+displayName+'"') != -1){
    $(this).contents().appendTo(elem);
    </script>
    Robin

  • Unable to edit documents in Sharepoint 2013

    Hi,
    unable to edit documents in SP2013.while editing getting the following error.Please guide me on this.
    Thanks In advance

    Hi,
    According to your post, my understanding is that only
    one user could not edit documents in SP2013 with OWA.
    You can use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    You can also add the site into Trusted sites.
    Open the
    IE->Internet Options->Security->Sites->add the site into the Websites, then check whether it works.
    What's more, you can also use other browsers to check whether it works, such as Firefox, Chrome, Internet Explorer 10.
    Check whether the user has permission to the documents.
    Here is a link you can use as a reference:
    http://blogs.architectingconnectedsystems.com/blogs/cjg/archive/2012/07/26/Getting-Office-Web-Apps-2013-and-SharePoint-2013-Working-_2D00_-fixing_3A00_-Sorry_2C00_-you-don_2700_t-have-a-license-to-edit-documents-with-Word-Web-App.-Please-get-in-touch-with-your-helpdesk_2E00_.aspx
    If the issue still exists, please feel free to let me know.
    Best Regards,
    Lisa Chen

  • Fetching workflow status from Extended Properties in SharePoint 2013 sequential workflow (Farm solutions) option

    HI,
    I am using VS 2012, I have selected the option "sharepoint sequential workflow (Farm solution) option and not the workflow App model.
    Earlier in SharePoint 2010, the approver status column can be got from ExtendedProperties["TaskStatus"] and which contained either "#" or "@" as its value.
    However, in SharePoint 2013, the ExtendedProperties does not contain the "TaskStatus" key. In the quickwatch, i was able to see the value as "#" associated to some guid key. In the debug mode,i can see the below:
    (new System.Collections.Hashtable.HashtableDebugView(TaskPropertiesForManagerAfter.ExtendedProperties)).Items[12]
    But I’m not sure how to get to it from the code?
    How to retrieve the Task Status using ExtendedProperties in SharePoint 2013?
    Thanks

    Having problems getting SPD 2013 installed on my laptop because of a trial of O365, but I know in SPD 2010 you could find the BCC fields, etc... in the Advanced properties, it wasn't directly available via the common interface.  I know 2013 is very
    different from 2010, and if I can get it to install correctly, I will update, but look for an advanced property, or an XML view where you can find the FROM: field.

  • InfoPath Cannot Save The Following Form - SharePoint 2013

    I've setup my SharePoint 2013 farm to allow to support InfoPath Services, however when I try to publish a form I keep getting the following error:
    InfoPath cannot save the following form: https://pathto.com/form/library/file.xsn
    Network Problems are preventing this file from being saved. If this problem persists, contact your network administrator.
    I've confirmed there's no firewall between my Windows 8.1 workstations (where I'm running InfoPath 2013 from) and the Windows Server 2012 server that's hosting the SharePoint 2013 farm. Any insight would be much appreciated.

    Hi,
    I recommend to verify the things below:
    Check if the WebClient service is started. If not, start the WebClient service.
    Use another user account to publish the InfoPath form to see how it works.
    Check if the form library is a valid library in the browser. If not, publish the form to a valid library.
    Check ULS log for detailed error message.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/86a2fc0f-d41f-401c-99fa-b2ca5412c9fd/infopath-cannot-save-the-following-form-this-libary-was-either-renamed-or-deleted-or-network?forum=sharepointcustomizationprevious
    Best regards.
    Thanks
    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]

  • Add attachment button to a custom new form SharePoint 2013

    I'm creating a new custom form using SharePoint Designer 2013.
    I would like to add a attachment button to be able to upload files and images. How can this be done?
    See code below
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir="ltr">
    <input type="file" name="fileupload0" id="onetidIOFile" size="56" title="Name"></input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type="button" value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" id="attachOKbutton" />
    <span id="idSpace"></span>
    </td>
    </tr>
    <tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
    <SharePoint:FieldLabel ControlMode="New" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
    <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
    <script>
    var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
    if (elm == null || elm.rows.length == 0)
    document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
    </td>
    </tr>
    Im getting error :
    Uncaught TypeError: Cannot read property 'value' of undefined
    form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    OkAttachform.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    onclick
    Somewhere around this line:
    k=document.getElementsByName("RectGifUrl")[0];e.innerHTML='<span class="ms-delAttachments"><IMG SRC=\''+k.value+"'>&nbsp;<a href='javascript:RemoveLocal
    Thanks in Advance

    Create a custom list form or go to your NewForm.aspx using SharePoint Designer. Place the below code where you would like to insert the Attachment Field
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir=”ltr”>
    <input type=”file” name=”fileupload0″ id=”onetidIOFile” size=”56″ title=”Name”> </input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type=”button” value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" />
    <span id="idSpace"></span>
    </td>
    </tr>
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Document properties form SharePoint to Word

    I opened word document in MS Word and I want to insert value from my Sharepoint column "aaa" in that document.
    When I try to do it from GUI, it works:
    "Insert" tab --> "Quick Parts" --> "Document Property" --> "aaa"
    and the value is inserted in word document.
    but when it try to it directly like this, it doesn't work:
    Ctrl + F9 --> { DOCPROPERTY aaa }
    or
    Ctrl + F9 --> { DOCPROPERTY "aaa" }
    And I need this. What am I doing wrong??

    Hi,
    As I discussed with my colleague on Office application, the Document property we can access from File tab is different from the DOCPROPERTY we can locate in Fields.
    If you would like to add the "aaa" to document, we could add it manually.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • SharePoint 2013 SQL Server Edition for BI Features - must be on SharePoint SQL Server?

    I need to install SQL Server 2012 for a new SharePoint 2013 installation.
    Let's say I want to use the BI features of SharePoint 2013 like PowerView.
    I already have a separate SQL Server running SQL Server 2012 BI Edition that is used as the database server for our data warehouse and some apps.  But this SQL Server will not be used to house the SharePoint 2013 databases.
    Do I need to install SQL Server 2013 BI Edition on the SharePoint 2013 SQL Server (where the SharePoint 2013 databases will be housed) or can I used SQL Server 2013 Standard Edition on that server and utilize the BI Edition on the data warehouse server to
    use the BI features of SharePoint?

    Yes, BI or Enterprise must be installed on the SharePoint server in order to integrate SSRS. PowerPivot can be on a separate server with just a download (http://www.microsoft.com/en-us/download/details.aspx?id=35577) for certain components residing on
    the SharePoint server. This will give you PowerView, as well.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Checkout and checkin in sharepoint 2013 infopath form

    I am migrating infopath form from SP20010 to SP2013 one of the form contains the checkout(on button click) - Checkin(on exit) functionality.
    I converted the Checkout  data connection file.
    its giving me error 
    An error occurred while trying to connect to a Web service.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    and  In the udcx file i used authentication section with secure store app, Checkout and checkin is working but the file is getting checked out to the user id specified in the authentication
    section instead of the logged in user.Environment using web browser form, Sharepoint 2013 on premise authentication kerborose.
    Please help.

    Hi Nishant,
    Can you please check logs for more details against log id and provide more information.
    Regards
    Soni K 

  • Office365 - Word Document .docx banned from Mailer if you edit properties online. Bug ?

    Hi,
    I'm working on office365 (SharePoint 2013) solution with documents created on SharePoint Library.
    We create new document in library with a simple custom template (in .docx format), I use a quick part in document.
    I attach new document and send to customer mail, but I get "banned" result from recipient mailer cause of Dangerous attachment.. the docx file..!
    Message from postmailer referres to a "0000.dat" file contained in docx that it recognized as exe file, so Dangerous.
    I tested 2 behaviors:
    Test 1
    1) Create New Document (.docx) in SharePoint library
    2) Download the new document on PC and Sent to GMAIL address
    3) In Gmail arrives mail, then I forward this mail (with attached docx) to customer enterprise mail
    4) I receive this mail, it work
    Test 2
    1) Create New Document (.docx) in SharePoint library
    2) IMPORTANT: Edit Properties in browser (without open docx), i.e. change title, any property, or filename
    3) then Download document on PC and Sent to GMAIL address
    4) In Gmail arrives mail, then forward this mail (with attached docx) to customer enterprise mail
    5) Gmail receive mail from postmaster of customer enterprise with error "banned attachment" for .dat file into file..
    6) I receive no mail
    I check docx from SharePoint.
    I change extension of .docx file (from test 2) into .zip extension and extract these files.
    In folder, I see a "[trash]" folder, with 0000.dat file..
    I do the same with first file .docx (from test 1) and no "[trash]" folder into zip file.
    Result: edit properties on SharePoint, change structure of file, creating folder "[trash]" and save into folder file 0000.dat.
    This files is banned from postmaster and mail not received...
    Can you help me?
    Is it a issue/bug of office365/SP2013?
    I'll try to test other scenarios (with .dot template, without quick parts, with file uploaded).
    Thanks!

    It is part of the OOXML specification: http://www.ecma-international.org/news/TC45_current_work/Office%20Open%20XML%20Part%201%20-%20Fundamentals_final.docx
    9.1.7                   Trash Items
    Trash items represent parts that have been discarded or are no longer in use.  Trash items shall not conform to OPC part naming guidelines as defined in Part 2 and shall not be associated with a content type.  All trash items
    shall follow the naming scheme: [trash]/hhhh.dat where h represents a hexadecimal value. 
    [Example: A package has two parts that must be updated in-place but both parts have grown beyond their growth hints.  The newer updated parts are added as new ZIP items while the original parts are renamed to:
    [trash]/0000.dat [trash]/0001.dat
    end example]
    So perfectly normal part of the specification that the spam filter needs to take into account. Now the spam filters I've dealt with (Microsoft's in O365, McAfee MailMarshal, Websense) certainly don't do this with up-to-date definitions.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Ssrs sharepoint 2013 error: "A delivery error has occurred ...not a sharepoint document library..."

    Greetings SSRS/SharePoint experts,
    SharePoint 2013 with SSRS - Creating a subscription to a report that is in SharePoint
    I'm trying to create a subscription to publish a report to a sharepoint document library.
    I've configured all the settings and on clicking OK get the following error:
    "A delivery error has occurred. ---> Microsoft.ReportingSerives.Diagnostics.Utilities.DeliveryErrorException: A delivery error has occurred. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidExtensionParameter: One of the extension
    parameters is not valid for the following reason: The delivery path is either not a SharePoint Document Library Folder or does not exist in the Share Point farm."
    SQL Server Developer Edition 2012 SP1
    SharePoint 2013 Standard
    Just wondering if anyone has a solution.
    I've tried changing the proxy settings as per this post
    http://social.technet.microsoft.com/Forums/en-US/19817dc7-6725-40d8-befa-1b94099a71bd/sql-server-2012-reporting-services-in-sharepoint-2013-integrated-mode-dilivery-extension
    Workaround is to not use a sharepoint document library but write the report to a windows file share (this works but is not optimal).
    Hoping someone at Microsoft or an expert will come back with something.
    Kind regards
    Gio

    Hi,
    Can you check the SharePoint ULS log located at : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS, and look at the log there when the error occurs?
    You can also check the Application Event Log on the SQL Server to see if there are any additional errors.
    Tracy Cai
    TechNet Community Support

Maybe you are looking for

  • VI Server - Open VI Reference is using local path, not remote

    First time posting to NI Developer Zone, so bear with me. I have a PXI-1050 chassis with a PXI-8187 controller that runs LabView RT.  I have set up this PXI system to utilize a VI server on port 3363 and opened access to my host PC which runs LabView

  • Remove duplicate filters option?

    Is there a way to remove duplicate filters from a bunch of different clips at once (perhaps using the remove attributes feature somehow)? For example, if you inadvertently put TWO flicker filters on all the clips in your sequence, and you want to rem

  • Java/Hibernate backend with FDS: issues

    Hi everyone, I'm quite new to the Flex world but I'm so excited about all of it that I decided to make a Flex app in order to get my degree. So, I started by building my own app (which is a management system for a library) starting from the great exa

  • HT5925 how to download music onto new pc

    how to download itune music onto new pc ?

  • Entity with multiple owners

    I'm trying to find how I can set up an entity which is owned by 5 different entities and has an element of external ownership. This entiy and its 5 partial owners all belong to one legal hierarchy of entities but are in different nodes in the hierarc