Tag Info

Hot answers tagged

8

Try editing the SharePoint list settings in the browser. Open the list, go to List Settings, click the field name and select "No" for "Allow multiple selections". Edit after clarification that this is not a list form: The described behavior of the control leads me to believe that the form has initially been created with InfoPath 2007 and the people picker ...


5

You can simply fill in the Description field on the column's definition in List Settings. The Description is automatically displayed if it exists. M.


4

Since you have created site workflows and they don’t have a list item or document to start from, they must be started either: 1) manually - http://technet.microsoft.com/en-us/library/ee662540.aspx or 2) Using API - example - http://unclepaul84.blogspot.com/2009/12/starting-sharepoint-2010-site-workflows.html Let us know if you find a better way...


4

I'm not sure if I understood you correctly. But when I want to open form I use asp:HyperLink and in codebehind I set NavigateUrl like this: hyperLink.NavigateUrl = "javascript:SP.UI.ModalDialog.ShowPopupDialog('" + url + "')"; If you want to open form (edit, view, etc) use copyutil - it can generate the exact url address for you: ...


3

This is how SharePoint handles web parts and the possibility that there will be multiple versions of the same web part and therefore multiples of each element. This gets especially tricky because the ID prefix cannot be counted on to stay WPQ2. If you are looking to do things client side, then you will want to work with some other containers that can be ...


3

Robert... This time, dont use relative URLs, just add absolute URL (the entrie path of the page) eg. <input type="button" value="Add List Item" name="BtnSave" onlick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect{http://<server>/sites/<site name>/Pages/<page name>.aspx}')}" /> It should work, cheers


3

I think your basic idea is to get information from these documents and display them differently as reports or views. 1) One way you could achieve this is by Mapping the InfoPath form fields to a list column. These fields can be part of your Form library columns. Whenever you publish an InfoPath form to a form library, you would be prompted with the ...


3

In SharePoint Designer open the list and select your custom form. Click the set as default option as shown in the image. You will need to do this for each of the custom form types.


3

In this situation, I would simply create a second field of type "Person or group", and disable multiple values for both of them. This is the most simple solution, however I realize that it is not very convenient, because in some scenarious user will have to do additional actions. What about the custom validation, where are several ways to achieve this. ...


3

The following code is working. There were 2 errors which I have commented in the code. //use a button for example <input type="button" value="Launch Dialog" id="myDialog" onclick="openDiaForm();"/> //inside script tags under PlaceHolder Main function openDiaForm() { //Use SP.UI.$create_DialogOptions() instead of SP.UI.create_DialogOptions() ...


3

Open the IP form you created. Copy the form. Paste the form into a new word document.


3

The survey list can handle this out of the box. If that doesn't suit the need, then you can create a custom list with all your form fields and create a custom InfoPath form to show/hide content or use javascript/jQuery on the form pages to show/hide infomation. If you want it to be a document, then you can use a form library and create your own InfoPath ...


3

Well, first of all, it is always a bad idea to look directly into the SQL tables that power SharePoint as it can stunt your growth, cause sterility, blindness and hair loss (well, that is the impression that MS gives about it anyway) However, this almost sounds like you are using either an underpowered SharePoint server or an underpowered SQL server so it ...


3

This is a notorious and well-known issue in SharePoint. Background Let me explain why it happens: SharePoint is a Microsoft product, as is Internet Explorer, and it's quite a customary thing when some features work in IE but don't work in other browsers. Other browsers always were and still are "partially supported" by SharePoint. This is what happens ...


3

So it turns out that SharePoint Designer is the only way to accomplish this. You have to go into the page in Designer, edit the page, and select the Insert tab from the ribbon -> New Item Form -> select "CUSTOM LIST FORM..." (not one of the pre-populated lists or you will get the barebones default content type!) -> Choose the list for the form you want to ...


3

I think there are two slightly dangerous things in your code, that could be the source of the problem: a) document.getElementsByTagName("!"); Document.getElementsByTagName() is meant for getting a collection of HTML tags, e.g. getElementsByTagName("table") will give you all tables As "!" is not a HTML tag to be used for standard page content, just for some ...


3

One way for your to achieve this would be: Create a new SharePoint Group (or you can use one existent already) Make sure the original People/Person field in itself (when defined in the underlying list) is only allowing selection from that specific Group. Put target User into the group at step 1. Refresh your form to get the latest updates from the ...


3

Here's a solution. It involves using jQuery and the SharePoint JSOM library. Open your view in SharePoint Designer advanced edit mode. I think you already customized the XSLT. Add this code where you want the checkboxes to appear: <input type="checkbox" id="{generate-id()}{$ID}cbxProp1"> <xsl:if test="$thisNode/@Prop1.value = 1"> ...


3

You can't trigger the form validation through javascript, however you can do something else. In both the New form and the Edit form the Save button has onclick which triggers PreSaveItem() which is a function in FORMS.js that invokes a function called PreSaveAction which is a user defined function, meaning it is a function you define and decide what should ...


3

At least two options are available when it comes to client side validation in SharePoint 2013: Client-Side Rendering (CSR) Validation Override Save handler using PreSaveAction function Assume the scenario where we need to add client side validation for Email column in the Contacts list. Client-Side Rendering (CSR) Validation in SharePoint 2013 CSR is ...


3

You can add this script: <script type="text/javascript" language="javascript"> function PreSaveAction() { var elm = document.getElementById("idAttachmentsTable"); if (elm == null || elm.rows.length == 0) { document.getElementById("idAttachmentsRow").style.display='none'; alert("Please attach Documents"); return ...


3

Since Content Approval status is stored in List Item (_ModerationStatus) I would recommend to leverage any client APIs (JSOM, REST or SOAP) for that purpose. How to retrieve content approval status using client APIs JSOM function getListItemModerationInfo(listId,itemId,success,error) { var ctx = SP.ClientContext.get_current(); var web = ...


2

Create hyperlinks to the NewForm pages of the lists that hold the workflows. Workflows have to run on list or library items, so users have to submit something.


2

I would be interested to see if these two columns are actually part of the content type you created. As an example, could they by part of the Item Content type that is default when you enable content types on a List. It does sound like these columns are "out in Left field" When you click on the Content Type to actual set the order and maintain the ctype? ...


2

Just creating a list and adding the appropriate columns to it is a form builder. SharePoint generates great forms right out of the box. If you want to send the form values somewhere, then you can use simple workflows to send out the emails, copy some or all values to other lists, etc. In other words, are you trying to recreate the wheel?


2

Check SharePoint Forms Designer, it fits all your requirements, easy to use, drag and drop rich interface, works right in the browser.


2

yes, it is possible. actually VS2010 is the most powerfull dev tool for SharePoint, and you can do everything with this tool only. Regarding workflows, this means that you have to use ASP.NET forms instead of Infopath. Please see the examples: http://msdn.microsoft.com/en-us/library/cc811589(v=office.12).aspx ...


2

Some things I've done in the past are: Making a link list dedicated as the central new form list, one click access to enter any form Created several buttons that link to the new forms In some custom dashboards, I've used jQuery and Lytebox techniques to open forms in modal windows (in Sharepoint 2007)


2

My understanding of your question is this: After a meeting has taken place, someone creates a new meeting report by filling in an InfoPath form. In this form you select a user. When you submit the form a task list item needs to be created automatically and assigned to the selected user. Is this correct? If so, I would definately NOT use VSTA (code behind ...


2

I managed to get my form created! I'm posting the solution that worked for me in case someone else stumbles on the same problem. The forums and blogs I've read were correct. You have to delete the external list and recreate it. I've already done this several times and it didn't work. But today I changed the name of the list (until now I was always ...



Only top voted, non community-wiki answers of a minimum length are eligible