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 ...


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

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

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

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

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

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

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 ...


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

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

For some simple instances, you can use the settings under Item-Level Permissions section which is found in the list settings' Advanced Settings page. Here you can set the list to only allow users to View and Edit their own items. Users involved in workflows to approve/edit other users' items would need to have Manage List Permissions.


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 ...


2

Here are answers: Yes. Take a look at InfoPath 2010 Introduction Part 3: SharePoint Form Web Part No. It is not logical. Maybe you can just hide your list from users (navigation) as simplest woraround. Yes. Take a look at InfoPath 2010 – turn off Ribbon and then you need to add Submit connection and button for submit action.


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

I find a great way to bypass my two problems here : http://butdoesitwork.typepad.com/but_does_it_work/2011/03/browser-based-infopath-2010-creating-cascading-dropdown-fields-with-no-code.html My problem was that I filled my listboxes with rules on the parent listbox. And the great way is to fill listboxes with an external connection and apply a filter ...


2

I sometimes add script-based validation to the default forms for stuff like this. It's a bit less obtrusive than the custom validator or rendering template approach, and certainly less involved. Of course, it all depends on your skill set and governance rules on development. I recently did a blog post on working with the People Picker that may give you some ...


2

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 ...


2

If it is SharePoint List form, you can simply make the fields as Required and SharePoint will handle it... But if its some other form, which I think it is... you can use JavaScript like this: <script type="text/javascript"> function onSubmitValidation() { if (TrimAll(document.getElementById("field1").value) == "") { alert('All fields are ...


2

Yes, and InfoPath is the right choice for such kind of forms! Entities: Food, Control Criteria, Menu For the form AuditForm: Unit, CreateDate AuditFormMenu: AuditFormId, FoodId, Number, Weight, Heat, Feel, Extra, Comment AuditFormGeneral: AuditFormId, ControlCriteriaId, Feel, Comment So architecture will have 3 Entities Lists and 3 Lists for saving Form ...


2

There is a tool that may or may not help, Muhimbi PDF Converter. I haven't used it, but I have heard good things about it. But like John says, there is no direct integration with PDFs, so you'll need a workflow/timer job/event receiver to do something after the forms are submitted.


2

Unfortunately, SharePoint forms (for both external and regular lists) do not support XSLT rendering for the internals of the fields. You can arrange fields via XSLT, split fields to tabs, group them and so on, but the field controls are rendered by server controls "FormField", and that's that. XSLT rendering of the fields is supported only for list views. ...


2

Lists with multiple content types use one default NewForm. The fields are rendered dynamically by passing in the appropriate content type ID in the query string, &ContentTypeId=0x0100E2C13416E29ACD4DB77D24CABE7CE08F, for example. The easiest way to find that is to disable forms from opening in modals for the list, if in 2010. If in 2007 still, it's ...


2

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 ...



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