URL to change sharepoint list status - sharepoint

I'm creating a sharepoint list with different issues from a team to attend.
When i go inside, i can change the status manually
https://BlaBlaBla.com/Lists/BlaBlaBla/EditForm.aspx?ID=10
I would like to create an URL that when clicked, it changes the status of that sharepoint item to status=completed.
I've got the ID of that list element available, so i would like to know if there is any argument i can add to this link to make it automatic.
Any idea to help me out?
thanks in advance!

Related

Updating a field automatically on PowerApps

I wonder if someone can help. I have a list hosted on SharePoint online to track statuses of projects. One of the columns show the current status, so "New", "In Progress", "Under Review" and so on. The list is managed through PowerApps. At present, this field "Status" is a single line of text.
My intention is that when an user access a record via PowerApps, they will need to update some fields. When they click on the "submit" button, the Status field on SharePoint will then be updated from "New" to "Under Review". When they navigate to other sections of the app, the Status field for this record will also be changed automatically depend on which option they selected.
I have tried all the functions that I can think of, but I can't seem to find one that would automatically set a specific status back to the SharePoint record that they are working on.
Would someone be able to help?
Thanks.
You can use the onVisible and onHidden screen properties if necessary, you can also try Patch inside an If or Switch

Sharepoint Designer 2013: Workflow stops when current item is a Lookup Field

Objective: Create a Workflow that Rename a Document in the Library.
My Document Library is in a sub site, is a child. This library have two lookup columns, and they refer to a list in the main site, the parent. That is, a library that have lookup field a list in other site. These lookup field, I will use to rename a file.
Problem: in my worflow every action that use [%CurrentItem:LookupField%], it does not follow. The workflow stops. Fail.
I can't understand the origin of that error.
Any information will be helpfull.
Workaround: Use REST CALL as you can see in the know issue. http://office.microsoft.com/en-us/help/sharepoint-server-2013-known-issues-HA102919021.aspx?ss-src=featuredhelp&ss=3f1a5755-0dad-4a34-8758-904329f5e4c9
It's a know issue, as you can see in the o365 forum.
community.office365.com/en-us/f/154/p/206482/754001.aspx
Know issues of SPD 2013:http://office.microsoft.com/en-us/help/sharepoint-server-2013-known-issues-HA102919021.aspx?ss-src=featuredhelp&ss=3f1a5755-0dad-4a34-8758-904329f5e4c9
Workaround: Use Rest Call Action.
I need the title, that is in my lookup field, but my workflow cant get this information. No if this lookup field is looking for a list in other level site.
So I will use REST CALL to my library, and get THE ID of my lookup field, and then i will do other REST CALL to that list, using the ID, and it will return my title of this item. :D
Looks easy #_# but i am not sure how to do a rest call from the workflow D:
I failed #_#... Now when I have to request something in other list, i got "Unauthorized"... really? D:
FINAL SOLUTION: We did it... You have to set app permissions for your workflow. you Can see how do it here: http://msdn.microsoft.com/en-us/library/office/jj822159(v=office.15).aspx
Don't forget: If you want to access a list in a TOP level site (main), you have to set this permission there, in the top level site. Why i am saying it? because, I set this permission on the same site where my workflow started, so when it wanted to request something in the main site, my request fail. So pay atection when do it. :)
If you have problems, count with me. \o/

List EditForm in MS Sharepoint not getting correct Item

I have made a new custom EditForm.aspx in MS sharepoint on one of my lists, but when I try to edit an item, it gets the first item in the list, and not the one im trying to edit.
I have tried reverting to the old form, but it still keeps doing it.
I am quite new to Sharepoint and don't quite understand how the parameters are being passed, perhaps the error could be there somewhere?
Is the section where the sources are defined?
It is rather urgent so any tips would be much appreciated. I haven't found any solution online yet.
I couldn't find the mistake, as the Edit Item button seemed to generate the incorrect ID for some unexplainable reason.
My fix was to create a new empty list, then create a new EditForm and ViewForm from the new forms, delete the webpart, Insert->Sharepoint Controls->Custom List Form. I selected the old (broken) list form type.
I then copied this code over to the old list viewForm and EditForm and it worked as it did normally.
ID item of item to be edited is passed to edit form in the query string like this:
editform.aspx?ID=ItemId. So, first, check if ID is in the url and correct.

Sharepoint Attendees without a Workspace for Calendar Event

I am wondering if it is possible to have a custom form in Sharepoint 2010 where I am able to add/edit a calendar event and access the attendees list that is normally visible on the workspace page.
I assume that perhaps I need to at least hard code a workspace to be selected as I believe attendees need to be assigned to a workspace.
Open to suggestions as I'm new to Sharepoint but seems crazy having to create or link to a workplace for each event.
Greatly appreciate any help.
#WashBurn not sure if this what you are looking for. Goto your calendar - list settings. goto the "Content Types" section. click the content type...should be event. from there click "Add from existing site content types " and attendees should be in there. hope that helps!
There is a simple (unfortunately not intuitive) way to achieve what you are trying to do.
click on list settings for your calendar list. You will see about half way down a section called content types.
![enter image description here][1]
Click on the event content type (which should be there by default.
this takes you to another similar screen where you can simply add the attendees column.
Once you know that attendees are part of an event it is then intuitive.
Hope this helps.
This is one of many nasty little things that come up when you try to build your meeting management on SharePoint. Other very common problems include integration with any e-mail client, first of all Outlook but not only, sending meeting requests from SharePoint and handling the respoded attendee's status...
The SharePoint calendar e-mail extension is a third party solution that might solve your problem.
Here is the link: http://www.sapiens.at/en/products/pages/sharepoint-calendar-e-mail-extension-3.0.aspx
Every SharePoint list (wether it's document library, calendar, lnks or custom list) have both a Create Form, Edit Form and a Delete Form. Each of which you through SharePoint designer can create your own custom versions of, in your case, this is needed to edit a Calendar List item with its associates/attachments.
Read one of Microsoft's own guides on how, here
Although this is a very old post, i just ran into the same issue and figured out a way to solve this issue.
Simply go into the Content Type 'Event' and add the Column 'Attendees' :)
Then you can also use the attendees as input for a workflow, e.g. to notify them on Event creation/update. i attached two Screenshots to show how you can do that using SharePoint designer!
With this phrase you can add the Link to the Event into the Mail Body:
[%Workflow Context:Current Item URL%]
Hope that helps other people in the future.
I believe I have the solution we are all looking for.
Create a standard event calendar (the one that does not have attendees)
Add the 'Schedule and Reservations' content type to the calendar from the list settings page
Modify the 'Calendar' view so the filters read
attendees is equal to me
OR
attendees is equal to
The second entry is completely empty but allows SP to match for no attendees
You can add more columns with OR statements if you need to be sorting based on additional groups
This worked for my needs, hope it works for everyone else

How can i retrieve the value "Created By" in a customised SharePoint 2007 Edit Form

I have created a Custom Edit Form for a custom list using SharePoint designer. I need to check that the current user is the author of the list item before displaying the form as only the author should be able to edit this content. I don't have server access so want to do this in the form itself using XSL. So far, I haven't been able to retrieve the Author / Created By value. Does anyone know how to get at this value?
Thanks for your help
Iain
Update:
I can see now that the Edit Form is using a datasource which basically returns a view containing all fields in the content type. "Author" is not part of the content type (which is a custom one). I can't see any way of adding the Author to the content type. Does anyone know how this can be achieved as i think this would solve the problem.
Cheers,
Iain
Isnt it possible to use the View/Edit access settings for the list? You find them under "List settings -> Advanced Settings" or somthing like that.
To bar someone form editing an item he should not, I would not edit the edit form of the item but do this by the item's permissions set. Therefore I would add an event handler to the list which changes the list items permissions after its creation, so that only the creator of the document has the permission to edit it.
Informations about event receivers can be found on Brian Wilson's blog.
I think JMD is right. You can do this without a custom form or any coding. From the list's menu bar select Settings -> List Settings -> Advanced Settings
Once there, you should see an option in Item Level Permissions to restrict edit access to only the item's author.

Resources