Using InfoPath form to create a task item in SharePoint 2013
Hi,
I have a requirement where I have to use InfoPath to create a task with attachments in a SharePoint 2013 List B.
I have to query a SharePoint Document Library A to display documents on the InfoPath form.
The user should be able to select the documents using checkboxes that he wants to attach to the task created.
When he clicks on the "Create Task" button, a task is created with the attachments in a SharePoint list B.
Also, the documents that are attached are then deleted from the SharePoint Library A.
Will the above require programming and does it have to be done on the SharePoint 2013 Server?
Thanks and regards,
Poonam
Hello,
I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
Value cannot be null.Parameter name: context"...
Also, I tried removing SP.SOD.executeFunc
from my code, but no success :(
Kindly suggest !!!
Vipul Jain
Similar Messages
-
Sharepoint infopath form should have only new item rights
Sharepoint infopath form should have only new item rights
You may create a custom Permission level for this requirement. Go to Site Settings -> User And Permissions -> Site Permissions -> Click on Permissions Tab in the ribbon. Now click on Permission Levels. Click on Add a Permission level.
Give name to this new permission level. In the List Permissions, Check Edit items and keep "Add items" unchecked. Select other permissions which you need to give. Save the Permission level. Now assign this permission level to the group. Note that,
you can also change the OOB permission levels like "Contribute" and uncheck "Add Items" permission but that may have an undesirable effect on other things. It is always better not to change OOB things.
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field -
Is possible to take the Infopath form with two repeat section in one SharePoint list
Is possible to take the Infopath form with two repeat section in one Sharepoint list
Take two repeat section and put them one bellow to other one in a SP list.
The motive is that the first repeat section is based in account own by the requestor and the second repeat section is when the requestor is doing backup time for some one else where need to log the amount of time that spend in the peer account.
I have basic logic in the form when requestor said Are you doing backup for some else? and press YES it is be able to use the second repeat section.
Le me know how much pain full is going tobe or not..
–Q1: Is possible to do this ? With codeless or not
–Q2:What steps I need to do to accomplish this? feasible or not
the following picture give a better idea of what I am looking to accomplish:
CRISTINA&amp MICROSOFT ForumHi,
Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
Thanks,
Linda Li
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]
Linda Li
TechNet Community Support -
Hi,
The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
below my code. I am using Content editor web part and attached my JS file with that :-
<div>
<label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
<input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
</div>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
<script type="text/javascript">
SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
// This function is called on click of the “Create Document Set” button.
var ctx;
var parentFolder;
var newDocSetName;
var docsetContentType;
function CreateDocumentSet() {
alert("In ClientContext");
var ctx = SP.ClientContext.get_current();
newDocSetName = $('#txtGetDocumentSetName').val();
var docSetContentTypeID = "0x0120D520";
alert("docSetContentTypeID:=" + docSetContentTypeID);
var web = ctx.get_web();
var list = web.get_lists().getByTitle('Current Documents');
ctx.load(list);
alert("List Loaded !!");
parentFolder = list.get_rootFolder();
ctx.load(parentFolder);
docsetContentType = web.get_contentTypes().getById(docSetContentTypeID);
ctx.load(docsetContentType);
alert("docsetContentType Loaded !!");
ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
function onRequestSuccess() {
alert("In Success");
SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
alert('Document Set creation successful');
// This function runs if the executeQueryAsync call fails.
function onRequestFail(sender, args) {
alert("Document Set creation failed" + + args.get_message());
Please help !!
Vipul JainHello,
I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
Value cannot be null.Parameter name: context"...
Also, I tried removing SP.SOD.executeFunc
from my code, but no success :(
Kindly suggest !!!
Vipul Jain -
How to disable Add New Item in SharePoint 2013
Hi,
I want to disable the Add New Item button after the user created one item in SharePoint 2013.
Is it possible to disable?
Please reply
Thank youI'd do it creating a custom web part that would mimic the list web part, and have logic in there that makes sure to hide the button once an entry by the current user has been made in the list. You could also create a workflow that would remove the user's
permission to add a new item on the list upon creating an item.
Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com -
How to find out which site and list is using InfoPath form
Hi,
We have a site collection with 100+ sites. We are doing analysis of these sites for SP-2013 upgrade, I would like to know which site lists are using a InfoPath form, how do I find out this without manually going through all the
sites & lists.
Thanks,
PatHi
You can Use sharepoint Manager to do so.or use below link
http://blogs.msdn.com/b/david/archive/2011/08/25/powershell-script-to-locate-content-type-useage.aspx
http://aarebrot.net/blog/2011/02/using-powershell-to-retrieve-content-types-and-associated-fields/
As info path form deploy as content type you can find usage of content type
Regards, Rajendra Singh
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful http://sharepointundefind.wordpress.com/ -
How to print out answers using the form I created
I created an application form for my company. People have submitted their applications, but I do not know how to print them out.
Is there a way to copy the answers into the form and print that? Or something like that?
I cannot just print the answers because it's over 100 pages and would be disorganized.
I basically just need to know how to print out the form I created with the respondants answers.
ThanksHere is what you can do...
Open the form file
Go to the View Responses tab
Select the View menu in the upper right corner of the UI
Select the Details View menu item on that menu
The Details View pane will open on the right side of the window
At the bottom of that pane there is a set of buttons
The first button let's you print the detail view of the currently selected response
The last button labeled Export will create a PDF file of the selected response
Is that what you were trying to accomplish? I'll admit that we need to make print and export to PDF more discoverable and easier to get to - that was too many steps
Randy -
Create a private view for Task List in SharePoint 2013
I have a Task List, How can I Create a Private View that every user can see Only his Tasks, and Sync it to his outlook (sync only his tasks) , no one can see or sync tasks not assigned to him?
Hi,
According to your post, my understanding is that you wanted to limit view permission on particular users in SharePoint.
There is no out of the box way to achieve it in SharePoint.
CodePlex has a good tool SharePoint 2013 Column & View Permission, it have some features as below, we can use it.
Features:
Column Permission
- Hide or Read Only Columns in a List Forms (New/Edit/Display)
- Hide Columns in Views
- Hide Columns in Alert Me Emails
- Specify the permission for Users, SharePoint Groups or Active Directory Groups
View Permission
- Disable Views
- Automatically Disable Views in Custom WebPart Zones
- Specify the permission for Users, SharePoint Groups or Active Directory Groups
More information: https://sp2013columnpermission.codeplex.com/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Two Infopath forms to submit or update the same sharepoint list
Hi, I'm building a request SharePoint site so users can submit a request from a simplified InfoPath form (with only 5 out of 10 fields), but support personnel can open the form and then see all 10 fields. For the list view, I know I can create custom
views when user's see the list. But when they open an item, I only want them to see the fields they entered and not the other fields the support personnel can see. So I guess my question is: can I create two InfoPath forms to update one list or
can I create an InfoPath form that has two views so one view suppresses fields and the other does not (based on permissions perhaps).Hi Darby,
I would suggest creating two views, instead of two forms. Views can be shown/hidden based on the logged in users, takes few rules to configure based on the logged in users. you can also explore web service to get the users from groups to show/hide based
on the user group, little overhead but give more control due to the fact of one single form.
Two forms will be bit complex, if you want to update the same rows of information.
here are some references -
http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx
http://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/
http://sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=daba3a3b%2Dc338%2D41d8%2Dbf52%2Dcd897d000cf3&ID=80&Web=dbb90e85%2Db54c%2D49f4%2D8e97%2D6d8258116ca0
http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
Find an item in SharePoint 2013
Hi Friends,
SharePoint 2013 I have a out of the box List.If I used "Find an item" search any of the item in List I can able find the item.
But My client is created one Web part page.My client is asked me to add the same SharePoint List on web part page.
Using "Find an item" option if I search any item I am not able to find the item.But the web part page is checked out mode if I used "Find an item" I can able to search any item in SharePoint List. Why I am not able to find the item with
out checked out mode.Please can anyone is help me.It is very urgent.
Thanks,
Tiru.
tirupalDid you try to publish the page and search?
--Cheers -
How to create a quarterly view in SharePoint 2013
How do you create a 3 month view in SharePoint 2013, preferably without adding code?
Hi
you can create two additional calculated column to do.
http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/
http://iwillsharemypoint.blogspot.in/2012/03/sharepoint-list-view-of-current-month.html
Rajendra Singh
Walking on water and developing software from a specification are easy if both are frozen
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How to create Ticket Booking Functionality in SharePoint 2013 App?
We have created a Ticket Booking site in Asp.Net.
In that in Ticket Booking page user can book the ticket and the booked seats will be stored in the database. If there are any booked seats it will be disabled for the user and from other user can book tickets.
Took reference from this site:
http://techbrij.com/online-ticket-booking-system-asp-net-sql-server
Now I want to do same functionality using SharePoint 2013 App Part with SharePoint Hosted App.
I don't know how to start
Anybody having Idea.
Thanks in Advance.Hi,
According to your post, my understanding is that you want to create a Ticket Booking solution as SharePoint Hosted App.
To build the similar solution in SharePoint, I would suggest you take a look at the links below about how to create ShrePoint Hosted App for a quick start:
Create Host App:
How to: Create a basic SharePoint-hosted app
Create App Part:
How to: Create app parts to install with your app for SharePoint
Then for the data storage, here is a documentation will provide more information:
App data storage:
Data storage options in apps for SharePoint
For the responsive UI, HTML plus JavaScript would be OK.
Feel free to reply if there are still any questions.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to create column for attachment in SharePoint 2013 Document Library.
I've created document Library where user can upload the file while click on Upload option (OOTB).
Now in this Library I want to create one more column where user can put some comment and attach one more file for reference.
For comment I can create "Single line of text" type calumn where user can put some comment but for attachment not sure which type of column I have to create.
Want to know is there OOTB feature/column available which I can use to Add / create a one more column to upload a document for reference.Hi,
For issue 1, please refer
To manage the permissions for a Document Set, you must have at least the Design or Full Control permission level.
On the Welcome Page for the Document Set, click the Manage tab of the Document Set ribbon, and then click Permissions.
Do one of the following:
To change the permission settings for the document library itself, click Manage Parent.
To stop inheriting permissions from the document library and create unique permissions for this Document Set individually, click Stop Inheriting Permissions.
To view the specific permissions an individual has, click Check Permissions, and then type the name of the user or group you want to check.
To inherit permissions from the parent document library (if the Document Set was previously configured to stop inheriting them) click Inherit Permissions.
For more information about working with permissions, see the links under See Also.
https://support.office.com/en-in/article/Create-and-manage-Document-Sets-c71d5796-d559-48de-b1b3-42383bdd13ea?ui=en-US&rs=en-IN&ad=IN
For Issue 2:
You can create a link in the Quick Launch bar
http://support.sherweb.com/Faqs/Show/how-to-add-a-link-to-the-quick-launch-toolbar-in-sharepoint-sharepoint-2013
Please don't forget to mark it answered, if your problem resolved or helpful. -
How to create Search Service Application in SharePoint 2013
When I am Creating Search Service Application through SharePoint Central Administration I am getting the error:
Path of how I created It:
Central Administration->Application Management->Manage Service Applications
Here Click on New and Select Search Service Application
How Should I create new search service application?
As I want to create crawled Property and manage property for Search Center in SharePoint On Premises.Hi darsh,
For creating a new search service application, you can refer to the blog:
http://technet.microsoft.com/en-us/library/gg502597.aspx
http://blogs.technet.com/b/praveenh/archive/2013/02/07/create-a-new-search-service-application-in-sharepoint-2013-using-powershell.aspx
http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=378
For your issue , please refer to the article:
http://praveensharepointknowledgebase.wordpress.com/2012/05/29/error-while-creating-search-service-application/
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Is there any option for voting on a list item in SharePoint 2013?
Dear All,
I am looking for a feature vote a for list item from multiple users and need to show consolidated results on that.
for SharePoint 2013 we have "like", "rating" by using these can we show the consolidated results.
otherwise is there any alternative for this.
Thanks & Regards,
JithendarI haven't seen any OOB vote feature in sharepoint list. It's better to go with "like" or "ratting" options.
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)
Maybe you are looking for
-
How to find out wether a session is istablished by RFC or by GUI?
Hi experts! We have a requirement to distinguish two different situations in some function modules (and programs used in these FMs): 1. a program is called in RFC session, 2. a program module is called by user in GUI for example: IF a program is call
-
Cursor and Update rows based on value/date
SQL Server 2012 Microsoft SQL Server Management Studio 11.0.3128.0 Microsoft Analysis Services Client Tools 11.0.3128.0 Microsoft Data Access Components (MDAC) 6.1.7601.17514 Microsoft MSXML 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 9.11.9600.1651
-
Error in Calling BAPI_LAYMOD_SAVEREPLICA.
Hi All, I am trying to create and change teh Layout module through function module BAPI_LAYMOD_SAVEREPLICA and It is throughing as error message like " Maintain the fixture for material" . But i don't need of fixture of the material. Any thou
-
How do i get my mp3 file to open in garageband?
how do i get my mp3 file to open in garageband?
-
Accessing ApplicationModule in Struts/JSP application using JDev 11g TP3
Hello All, I am using Oracle JDeveloper 11g Technical Preview 3 I got one "AppModule" created under my (Struts/jsp) project "MODEL" structure. Now, how can I access that ApplicationModule in my Action Class BC4JContext bc4jContext = BC4JContext.getCo