How to send current list item URL in email by using sharepoint 2010 workflow?
Hi All,
I had created sharepoint workflow usind SPD 2010. when new item is created it sends the email with link. But it sends current list link not the current item link.
I tried to use Encoded Absolute URL but this like
http://asdf.com/Lists/abc/10.00
but i need something like this
http://asdf.com/Lists/abc/DispForm.aspx?ID
I have grow thorough some post and i found that,
Statically i can write http://asdf.com/Lists/abc/DispForm.aspx?ID= and from Add lookup i can get ID by choosing current item.
The link which i get is partially hyperlink like this
http:aasdf.com/Lists/abc/DispForm.aspx?ID=10 (here 10 is not hyperlink)
when i copy and paste this link it works fine but by clicking it i am not getting true result.
Please help me to solve this issue.
Thanks.
Hi Raymond,
It works for me. Thank you so much.
I also have another issue related workflow. If you can help me, i really appreciate you.
I already configured AAM. I have two Share Point Address which are:
Default : http://default.com
Internal : http://intranet.com
I have List workflow using SharePoint Designer 2010. When new item get create, it sends email to person for approval. But when it sends email it sends Dafault zone URL.
Dafault zone URL is only accessible through Virtual Machine. We cant access from local machine. So i need to send intranet zone URL in email so user can open through local machine.
I tried it but i can only able to do for one list. I have to so this general for every list.
How can i send intranet zone URL?
Swapping the zone URL is not solution for this issue because after swapping situation is same.
Thank You.
Similar Messages
-
How to modify the list item drop down context menu in SharePoint 2010
Hi All,
I have a requirement to add my name in the list item drop down context menu, already "Assigned ticket" option is available in the context menu and some names are available in the assigned ticket option. but i can't able to add my name in this options.
Attached screenshot for reference. Thanks in advance for your assistance!
Thanks
Arun PrakashDo you know how the currently listed values got there in the first place? Some sort of custom code or action? Some background information would help. There is obviously a source feeding it from somewhere, but it's impossible for us to tell you exactly
what just by looking at your scribbled-over screenshot
Check WSPs that are deployed to the farm. Check for any non-OOTB site features that are turned on... -
How to send a list item value to URL to open data related to item value
Hi,
Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region.
Here i want to open the data related to list item value in other page.
List item - :Familyp
i want to pass this selected value to the url and when ever user selected the list item and clicks on the url, then it should display the item value related data in new page.
I tried with &FamilyP in url but it's not working. Any one help me plz.
Regards
Vamsi.TataIs it a normal Select list or Multi Select list?
If you have select list that allows you to select multiple options then you cannot pass it through URL. Multi-select /Shuttle keep colon separated list in the item, and this confuses Apex because the Apex URL uses colons for a different purpose. No escaping or URL encoding will help.
If it is normal select list that allows selection of only one option then you can pass through the url. Unless of course the data has a colon in it.
For multi-select, and when the value contains colon, the only way is to save the value in session state, same page item or any other place like Application Item, and then reference it at the other end. Never pass through the URL.
Regards, -
Create List Item using SharePoint 2010 Workflow
Hello everyone.
I found in youtube video using SP Employee Onboarding Web Part, idea is quite simple and powerful. But this web part available only in SP 2013, and I use 2010. So I wanted to develop my own version.
Questions is:
I have 2 lists Employee OnBoards (list contains data about new employee) and Employee OnBoards Tasks (list contains approval task). Where field Employee Name from Employee OnBoards list is lookup field in Employee OnBoards Tasks list.
I need emplement next:
When new Item created in Employee OnBoards list, it should copy Employee Name value to the Name field of the Employee OnBoards Tasks list.
I hope I explained understandable.
Thanks.Hi Azamat,
This you can do by using SharePoint Designer workflow.
Create a sharepoint designer workflow and invoke that when new item will create in the list Employee
OnBoards.
then use Copy List item action to copy employee name to employee on board task list.
Below link will help you how to use copy list item action in a workflow.
http://blogs.salmanghani.info/copy-item-workflow-using-sharepoint-designer-2010/
Hope this will help you.
Regards
Soni K -
How to Copy list item attachment to document library in SharePoint 2010
Hi,
How to Create a folder ("List Item - Title Name") in Document library and copy list items Attachments to the same folder in SharePoint 2010,thanks in advance.
Regards,
Selvan.J
Selvan JHi,
You should first check whether the folder exists in the library, if the folder not exists, then create it.
I had modified the code, you can use the following code snippet to achieve it.
private void EventCopyFileWhenItemCreatedOrUpdated(SPItemEventProperties properties)
SPSite site = new SPSite(http://YourSiteName);
SPWeb web = site.OpenWeb();
SPList doclibList=properties.Web.Lists["YourLibName"];
bool foundFolder = false;
if (doclibList.Folders.Count>0)
foreach (SPListItem fitem in doclibList.Folders)
if (fitem.Title.Equals("FolderA"))
foundFolder = true;
break;
if (foundFolder == false)
SPListItem folder = doclibList.Folders.Add(doclibList.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder,"FolderA");
folder.Update();
string fUrl = doclibList.RootFolder.ServerRelativeUrl+"/FolderA";
SPFolder myLibrary = web.GetFolder(fUrl);
if (properties.ListTitle == "YourListName")
SPListItem sourceItem = properties.ListItem;
properties.Web.AllowUnsafeUpdates = true;
//get the folder with the attachments for the source item
SPFolder sourceItemAttachmentsFolder =
sourceItem.Web.Folders["Lists"].SubFolders[sourceItem.ParentList.Title].SubFolders["Attachments"].SubFolders[sourceItem.ID.ToString()];
//Loop over the attachments, and add them to the target item
foreach (SPFile file in sourceItemAttachmentsFolder.Files)
if (CheckFileNameExist(file.Name , properties) == false)
byte[] binFile = file.OpenBinary();
myLibrary.Files.Add(System.IO.Path.GetFileName(file.Url) , binFile);
private bool CheckFileNameExist(string fileNameInFileAttach, SPItemEventProperties properties)
bool flag = false;
SPList myDocumentLib = properties.Web.Lists["YourLibName"];
SPQuery spQuery = new SPQuery();
SPListItemCollection items = myDocumentLib.GetItems(spQuery);
foreach (SPListItem item in items)
if (fileNameInFileAttach == item["Name"].ToString())
flag = true;
break;
return flag;
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Send Edit Items URL in E-Mail Using Sharepoint Designer 2013 WorkFlow
Hi,
I want to Send the URL of Edit Item List using SharePoint Designer 2013 Workflow
I m Using [%Task : URL%] Then it return the internal URL --
http://SP2013/Sites/MySites/HelloSites/Lists/Tasks/DispForm.aspx?ID=359&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F
But i want in AAP URL for edit list items such as
http://Hello.com/Sites/MySites/HelloSites/Lists/Tasks/DispForm.aspx?ID=359&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F
Any one can suggest me please.
Thanks
RajeshHi,
I'm assuming you made your site as internet site (public facing).
In that case you might site desired output. If not you can think of replacing text
i.e SP2013 = hello.com
Thanks,
Vivek
Please vote or mark your question answered, if my reply helps you -
Hello All,
I am facing Problem in SharePoint Designer Workflow. The Problem is that while replacing some subtstring with Space from a string which contains item like {Test, Test, Test, Test}, It replaces all items.
Below two line we are using in Workflow.
Can any body suggest some soultion for Finding first ouucrence of ", " so that we can replace only first value from string not all. When String values are different then getting proper values but if String values are same with comma
seperated then it replace all values.
Please some body help and your help will be heighly appriciable.
Thanks in Advance.
Thanks,
Vivek Kumar PandeyHave you tried to use Regular Expressions instead of Replace?
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
Prevent Sharepoint 2010 workflow to send duplicate emails
I have SharePoint 2013 as environment but am using SharePoint 2010 workflow on a list. There is a field in this list called "Order Status" which has different status such as Processing, Shipped, Cancelled, Hold. There is another list which updates
this Order Status. I have the workflow send out an email when the Order Status changes to Processing and another email when Order Status changes to Shipped.
The issue is that there are multiple emails being sent out when any of these status changes to either Processing or Shipped. There is no other workflow attached to this list
How do I prevent the workflow to send duplicate emails? I have seen that a flag could be setup to track the email sent once but that method does not work correctly and it still sends out duplicate emails. Or maybe I am not doing this correctly
Any suggestions, comments or have anyone resolved this successfully
Thanks Snehal H.Rana SharePoint ConsultantHi Snehal
If you check the workflow history, you will probably see that every time an item is added or modified, the workflow runs twice. That’s why you’re receiving two email notifications.
The reason for this is timing. If your workflow is very short and the SharePoint server is very slow, the first instance of the workflow may finish well before the item is fully saved and committed to SharePoint. As the item is being processed, the workflow
event receiver can fire again, and start another instance of the workflow.
The solution for this problem is to add a step at the end of your workflow which will pause the workflow for a few minutes .
Another Option is to use a Flag.For Setting up flag correctly check the following link
http://www.mssharepointtips.com/tip.asp?id=1145
Please 'propose
as answer' if it helped
you, also 'vote
helpful' if you like this
reply
Amit Kotha -
Hi,
I have requirement in Sp Designer 2010,Get List item URL and insert in another list as one column value.When open another list and click on same item column entry url will show the parent item information.
Here i have create work flow and insert item URL in another list but cant find appropriate item url information.I can easily make item url link through String builder in mail body with using current id and predefine link,but
when try to insert the same type of item link in another list where i cant find string builder for create custom url link,only get valur of Path,URL,Absolute URL and Relative server URL,all these links or not provide me exact
item link dispaly information.
So I opened SharePoint Designer and start creating the workflow associated to the list.
As there is some Field from source related to current item URL I start using it
Encoded Absolute URL – this one should be the one to use
Server Relative URL
URL Path
Unfortunately, none of these options were providing the correct link. Indeed, these options are providing an incorrect path:
Encoded Absolute URL
http://wfe1/Lists/bpf/1_.000
Server Relative URL
/Lists/bpf/1_.000
URL Path
/Lists/bpf/1_.000
As you can see, the item URL is composed by an ID while it should be http://wfe1/Lists/bpf/dispform.aspx?id=1
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Share Point Application Developer,TCSUnfortunately, [%Current Item:URL%] doesn't seem to be available from a "Site Workflow" associated to a List. I'm finding less advantages to doing a "Site Workflow" when I don't necessarily need to. One problem is the workflow is initiating
twice. I'm thinking I should have just created the workflow as a a "List Workflow."
I am going to try "Association Columns" -- that may work. Anyone have other suggestions? -
The name of the current list item
hi
i have a table that stores the users names and the available button for him (list item)
i want to create a function that returns a value
in the display condition of the list item to show or hide the item .
my function should receive two parameters one of them is the current user which is the :APP_USER. variable and the other parameter is the current list item which its display condition execute the function .
so how can i get the current item ?
thanksAyman,
You could hard-code it in each function call within each list item's condition.
Scott -
Share with notification give wrong list item url
Hi Experts,
I am facing an issue with SharePoint notification email when sharing list item with users, the notification email gives wrong list item URL, in fact it gives strange URL like this (http://mycollection/sites/lists/list1/01_000)
the strange thing that list item url is correct when sending share with notification if you apply it to document library, but it is not working well if you apply it to custom list!!
can any body tell me whats wrong with SharePoint ?Was it ever enabled.
Is this a restored list\library ?
Do we have any workflow on same
If this helped you resolve your issue, please mark it Answered -
Workflow - how to update multiple list items
Is it possible to update up to 3 list items with the same information using a workflow? My scenario is where a company vehicle (registration number) has up to three drivers assigned to it - Driver Name 1, Driver Name 2 and Driver Name 3. I
have two separate lists - one for vehicles (fleet list) and one for drivers (driver database). In my workflow when an item is created or changed in the fleet list, I would like the current vehicle registration to be updated in all three driver records
in the driver database. I am not sure if I can do this as I am unsure of what my unique look up would be as I need to be able to tie a vehicle registration to a driver name. Any advice would be much appreciated.
ThanksHi,
Refer to the following threads about how to update multiple list items simultaneously.
http://social.technet.microsoft.com/Forums/en-US/936d05ba-6e86-4f44-bbdb-b3c5c12b2c68/how-do-i-update-multiple-list-items-at-once-in-a-sharepoint-list
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2d342b01-1978-40c9-a203-303d145b331e/how-to-update-mulitple-list-items-at-same-time
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8d5b7424-58dc-470b-8142-90755dbdeaae/sharepoint-workflow-change-multiple-items-in-other-list
Thanks.
Tracy Cai
TechNet Community Support -
How to implement tooltip for the list items for the particular column in sharepoint 2013
Hi,
I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
Any help will be appreciatedWe can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/ -
How to send a list's custom view to multiple users on weekly basis?
Hi,
I have a custom view for a list. I need to send this view, like a color table with data, once a week to multiple people. Can this be configured in SP13 or does it have to be developed in Visual Studio?
Thank you.Hi lajasminetea,
There is no such OOTB feature to achieve it.
As a workaround, you can create a console application to retrieve list items using CAML Query and then generate HTML table mail body with the items.
After generated the mail body, you can create a task schedule to run the application to send mail weekly.
More information:
Read List Item programmatically:
http://www.sharepointsecurity.com/sharepoint/sharepoint-security/get-sharepoint-list-view-items/
Generate Table in mail body:
http://www.codeproject.com/Questions/243183/create-table-in-email-body
Send Mail using C#
http://stackoverflow.com/questions/9201239/send-e-mail-via-smtp-using-c-sharp
Create task schdule:
http://windows.microsoft.com/en-HK/windows7/schedule-a-task
Best Regards
Zhengyu Guo
TechNet Community Support -
How to delete a list-item with Contribute 4
I use Contribute for a lot of my client for years and a few
weeks ago i installed Contribute 4 for the first time for a new
client .We dicovered that it's difficult or impossible to delete a
list-item in a unordered list. Maybe also in other list-types but
we haven't tried this yet. Does anybody know how to delete a
list-item? In Contribute 3 you just had to use the backspace button
but that isn't working anymore.
Thanks for your help.
Maarten Strik
www.strikdesign.nlhttp://linesofcode.net/snippets/166
Maybe you are looking for
-
IPhone 6 location services/gps not working
Anyone else have an issue with iPhone 6 location services/gps not working? I have had it happen to me twice where it stopped working for good 7 or 8 hours and then all of sudden it starts working again. For example, directions don't work, every time
-
How to display pagewise total in Oracle reports?
Hi, I want to display pagewise total in all pages as well as report total at the last page of the report. I have tried Reset at : Page, Print on : All pages But nothing is working. Please suggest what else I need to set to achieve the requirement Tha
-
Can't open a PDF because I get a messge to accept End User License
How do I fix this?-Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser.
-
How do I de-install iPhoto 5.0.4?
My iPhoto 5.0.4 seems completely blocked and/or corrupted and takes forever to load. I've copied my photo library and am prepared to re-install iPhoto from the disk that came with my computer (Powerbook G4), but shouldn't I de-install first? And if s
-
Too big volume step / sound balance
I have an suggestion for the next update (for Nokia C2-01). I usually use heaphones connected to my mobile phone to listen to the music, but there is one annoyting issue: the steps between the volume levels are too big. In pratice it looks like this: