Sharepoint(2013) notification to user who created an item - notifications

So I want to create a list where users can add items, and after adding the item they will get an e-mail notification from only that specific item.
Is it possible to do or shall I just forget about it?

You could set Alert for this list.
Reference: Create an alert to get notified when a file or folder changes in SharePoint

Related

Outlook plugin - Fetch emails with specific message ids

I am writing a plugin for Outlook, where I need to fetch only few emails based on some back end Logic.
I have stored those email Message Unique Ids in my DB. And on click of plugin Icon, I wish to load only those Emails to load in my Inbox.
Example, the logic is same as how we click on particular folder like sent items or unread items, it refreshes the Inbox with only the respective emails.
I have created a plugin icon following the tutorial:
https://learn.microsoft.com/en-us/outlook/add-ins/addin-tutorial
Using NodeJS for coding. Can you please give a pointer, how do we load emails in Inbox? or if we can load only specific emails in Inbox?
This is not possible if you're attempting to use the Outlook's inbox display module to show the items you're refreshing. You will have to open a dialog / or a new browser tab to show the custom list of items - which I think is not good user experience. As Brian called out, office-js add-ins are quite restricted.

SharePoint List Item View/Read Permission

I am actually new to SharePoint permissions stuff. I really need someone help to guide me or give me a hint.
I have a SharePoint 2013 list, with items. User create a item using Nintex forms and when item is created, Nintex Workflow get trigger.
The idea behind this list is, User A will create a item then User B will review it and approve/reject.
After User A create item, item permission should change to 'Read' so that user A doesn't change any value of item until user B take some action.
In Workflow, I am changing the item permission using 'Set Item Permission' action and setting permission as Read.
But the problem is after
1) User A created item, he is not able to view/read item but able to edit item.
I selected item through list and click on 'view item' through ribbon, I am getting error 'Sorry, you don't have access to his page'.
I clicked on eclipse of item, selected Shared with->ADVANCED I am seeing the user A have view/read permission.
Then I made sure through 'Workflow history' if action got executed or not, it seems action got executed successfully.
This is really weird how user is able to edit item but not able to view item?
I really appreciate if anyone can provide any hint or help to make item readable.
Can you click on the list item, and check permissions for that item. You can click on Shared With -> Advanced. Then from the ribbon choose Check permissions. Enter the User A name and see what permissions he has.
And if he has more than Read, it means workflow has not finished its job. So check the workflow. It should break any inheriting permissions on that list item and then set unique permissions for only User B. This will take away the permissions from User A.
A second approach would be to make a form status column and connect it to submit button.
Return a value eg. Submitted to the column once the form is submitted by A.
Now in nintex form designer,select the control and add rule to disable the control if form status == "Submitted".

sharepoint list item event handlers - identify source

I have a web part that updates a list item. User can also update the item from the screen. I use SPListItem.Update method.
I have event handlers attached with the list.
In the item updated/updating method ... is there a way to know whether the user has updated the listitem from the screen or from my web part?
Thanks.
Can you add a column to your list and updated the value in your code when the list is updated from the webpart.

What is the better way to modify SharePoint item level permission programmatically?

In my custom application I'm creating list document programmatically now I want to modify newly created item security along with it. For example, When item is created only current user and some admins will be in item level permission. My question is should I add code in my current module ( which does not run in event receivers) or do I need to add separate event receiver for the same ( like Itemadded )?
How are you creating the document?
You say programatically, which to me sounds like you're running .net code which creates a new SPListItem through someList.AddItem(), in which case you can just set the permissions using item.BreakRoleInheritance(false) and item.RoleAssignments.

How to show error messages for a user's email on a form if not saving record

Is there a way to add error messages to an attribute and show them on the form without trying to save the object.
A manager may wish to change the email of a user assigned to a project.
If they change the email to that of another user who is already assigned to a project I want to add an error to the user email attribute and display it.
In this case I would not save the record or update it I would just go back to the form and show the error.
Do I just do
#user.add(:email, "This user is already assigned to this project")
I don't run #user.save or #user.update_attribute, this user is not being updated but being assigned to the project in this case.
I don't just want to show a flash message as I know I could do this. I want the field to show the error.
Is this possible?
Sure, call valid? on the model.