Tag Info

Hot answers tagged

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

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

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


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

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

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

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

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


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

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


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

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


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


1

That OpenIn=Browser is correct. You need to have it in the link that user clicks on to open the form. In addition to OpenIn=Browser, you can use Source=SOMEURL, it will also open the form in browser and after closing the form, user is redirected to the Source URL. Example: <a ...


1

I don't know if you resolved the problem. But I had the same problem and I resolved only by putting the page that I want to go to like this: {ddwrt:GenFireServerEvent('__commit;__redirect={default.aspx}')} In your case I guess you need write: {ddwrt:GenFireServerEvent('__commit;__redirect{/newItemAdded.aspx}')}" That is because sharepoint take the ...


1

You'll need to do this using SharePoint List web services and CAML. The link below should help. http://blog-sharepoint.blogspot.com/2009/07/summary-how-to-programmatically-update.html


1

Last request wins. There is always some difference even if just few milliseconds. There is however slight possibility that last request will receive some error if two saves are really, really close but in 'real life' scenario 1 second difference in names is more then enough. If you want to be 100% sure use extra data in filename eg. name of the user who i ...


1

Yes you can, see the following post - http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=676af157-7d96-4e15-a987-54b8a3e4d948&ID=3 if you don't want to hassle with SP designer - use this free tool - http://www.infowisesolutions.com/product.aspx?id=SmartListLite


1

InfoPath 2010 has come with lot more of options and complexities that InfoPath 2007 had difficulties with. I have developed numerous forms in both the versions and I believe InfoPath 2010 is a good bet for many of the complexities that you may come across rather than spending time on third party components. SharePoint designer 2010 workflows have also ...


1

I have exactly same problem in sharepoint foundation 2010. So far i think it is bug in sharepoint. FormFields some how changes listid and itemid in contextes of other controls when Formfield is rendered. Note that this happens only when it rendered, so if you put two formfields on one page but one of them have visible attribute=false, other formfield will be ...


1

To further expand on Vedran's point 2, you can create custom permissions for the list to only allow Add items, but this will automatically include view permissions as well. You could create a default view that shows no items or have a filtered view to show only the items submitted by the current user (Created By equals [Me]).



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