add a new-line / line-break to a multi line field using workflow string builder in sharepoint designer 2010
New field not available in workflow Current Item fields
Hi!
I have a library and I create a new field named "Test" (Multiple lines of text). But this field doesn't available for choosing in workflow action. What's the reason?
viewing multiple lists in one big list
following problem.
I've got different lists created out of the same template list, so they all got equal columns.
Every list displays a business case. Now the idea is to create an overall list out of all those single lists to get an overview. Is there an opportunity to combine all rows of the different single lists to one big list?
thank you very much in advance
How to create jquery Dashboard for the SharePoint List's?
hi
I want to create the jQuery dashboard based on the multiple sharepoint list?
for example I am having the following
1) Employee Details
2) Project Details
Based on the above list if i click on Employee Name it has to show about his Project details and status.
kindly suggest me,how to achieve this!!!!
Integration of SharePoint with Moxie and CornerStone
Hi
has anyone worked on any project of integration of Moxie and Cornerstone with SharePoint.
Any pointers of how this is done, would be greatly appreciated.
Do they provide any SOAP/REST APIs, from which the data can be accessed and pulled into SharePoint
Thanks
Vijay
SharePoint:SPGridView Grouping
Hi Folks,
i need to calculate no of hrs column value of each group separately, can anyone help me out in this. i am using SharePoint:SPGridView.
here is the picture.
BestRegards|SharePoint Techies
How create Custom Workflow for SharePoint 2013?.
Hi
i want to create custom Work flow in SharePoint using visual studio.
kindly help me,how to create Programmatic workflow?
Search documents and view in custom application
Hi,
We have a document library it has 35,000 items (documents) in it,
- List view threshold value for this web application i increased to 10,000 ,
-We have a custom application silverlight and users should view documents in it.
-In this custom application what techniques i will use to view document by passing sharepoint application custom column value ex. DocParentId by querystring.
passing only sharepoint web application url and custom column value.
We configured enterprise search and running full crawl and incremental crawling schedules for this web application.
adil
SharePoint 2013 | Get all Authors or Created By value for a large list
Hi
I have document library which has approximately 50000 + documents and it was provisioned in app web. It has documents/items which were created by users who left the organization hence their accounts are disabled in AD. I am facing an issue when upgrading an app, in ULS i have error message "User cannot be found"
To overcome this issue I thought of writing a script which will help in identifying accounts which exists in Web (get all user in SPWeb.AllUsers collection and user against AD). I am able to get account which disabled.
Issue is, if disabled user account has been deleted from site collection or web, then I dont get that account in SPWeb.AllUsers or SPWeb.SiteUsers or SPWeb.SiteUserInfoList or SPWeb.User collections. But this id exists within "Created By" or "Author" or "Modified By" or "Editor" field of document library. I know SharePoint retains this information for versioning/audit purposes.
How do I get information from these fields is there a way to get unique records grouped by "Created by" column using CAML query?
I have already tried but only way I can come up is to list and dump results in DataTable and perform SQL like operations. I would like to avoid loading of all items.
Please help me, if there is better way to handle this scenario.
Regards,
RK
Radhakrishna
Trying to get set up to run some code in VS, but I keep getting this error:Error_1_The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Ok, so I have no idea what is going on here, I am trying to get setup to do development from my laptop, which doesn't need SharePoint to be installed on it, and so I don't have it.
I added the reference to
using Microsoft.SharePoint.Client; and I added the dll to the References
I really have no idea what is going on here, any help would be great.
Here is a screen shot of what I have and am getting:
Best regards, Mike
See all documents into collection site
Hi;
I search a solution to see or display or export all documents into SP collection site ?
Regards
Sharepoint error when updating display name for a lookup column
Hi,
I have a small issue on my hands. Trying to update the display name of three lookup columns. Two of them works fine, the third gives me the following issue.
Invoke-Command : Exception calling "Update" with "1" argument(s): "/projekt/Lists/Projekt : <nativehr>0x80070057</nativehr><nativestack></nativestack>
"
At C:\Users\Administrator\Desktop\ChangeFieldName.ps1:22 char:19
+ Invoke-Command <<<< $script
+ CategoryInfo : NotSpecified: (:) [Invoke-Command], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException,Microsoft.PowerShell.Commands.InvokeCommandCommand
I'm not 100% sure but i think the error could be that someone has changed this particular column via the UI at some point.
Could that perhaps cause this kind of problems?
Anyway, here is a bit more background
- In the current solution we have 3 lookup columns at site collection level that all needs to change names.
- All 3 columns are included in 3 different content types
- All 3 columns points to the same list
- All 3 columns have the same display name(but different internal and static names)
- Don’t ask me why we have 3 columns with the same name that collects exactly the same values from the same list. I think the solution has evolved over the years ;-)
- Their internal name and static names are Program, ProgramPI and ProgramGlobal
- The column “Program” is only used within a list called “Orders” at site collection level
- The column “ProgramPI” is used within a list called “ProjectInfo” in subsites.
- The column “ProgramGlobal” is used within a list called “ProjectGlobal” at site collection level
- Changing the display name of the first two works fine(Program and ProgramPI). When changing the name of the third column ProgramGlobal, it does change the column name
at site collection level but not within the list “ProjectGlobal” where it is used. That’s when we get our above error. It cannot push down changes to the list.
Here is the PowerShell command which generates the above error message.
As a little help, in the last section of the PowerShell code I’m invoking the function “using-culture” which in turn executes a script block. This is to make sure we change the
column name in Swedish. Within the script block we invoke the function SetFieldDisplayName.
#############START Powershell code################
if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null )
{
Add-PsSnapin Microsoft.SharePoint.PowerShell
}
Function Using-Culture (
[System.Globalization.CultureInfo]$culture = (throw "USAGE: Using-Culture -Culture culture -Script {scriptblock}"),
[ScriptBlock]$script= (throw "USAGE: Using-Culture -Culture culture -Script {scriptblock}"))
{
$OldCulture = [Threading.Thread]::CurrentThread.CurrentCulture
$OldUICulture = [Threading.Thread]::CurrentThread.CurrentUICulture
trap
{
[Threading.Thread]::CurrentThread.CurrentCulture = $OldCulture
[Threading.Thread]::CurrentThread.CurrentUICulture = $OldUICulture
}
[Threading.Thread]::CurrentThread.CurrentCulture = $culture
[Threading.Thread]::CurrentThread.CurrentUICulture = $culture
Invoke-Command $script
[Threading.Thread]::CurrentThread.CurrentCulture = $OldCulture
[Threading.Thread]::CurrentThread.CurrentUICulture = $OldUICulture
}
$scriptBlock =
{
Function SetFieldDisplayName([string]$webUrl, [string]$fieldStaticName, [string]$fieldDisplayName)
{
#Fetch web object
$site = Get-SPSite -Identity $webUrl;
$web = $site.RootWeb;
$field = $web.Fields.GetField($fieldStaticName)
$field.Title = $fieldDisplayName
$field.Update($true) #Push down changes to lists
$web.Dispose()
$site.Dispose()
}
$webUrl = "http://www.wingtip.com";
$fieldDisplayName = "Unit";
$fieldStaticName = "Program"; #Program
#SetFieldDisplayName $webUrl $fieldStaticName $fieldDisplayName
$fieldStaticName = "ProgramPI" #ProgramPI
#SetFieldDisplayName $webUrl $fieldStaticName $fieldDisplayName
$fieldStaticName = "ProgramGlobal" #ProgramGlobal
SetFieldDisplayName $webUrl $fieldStaticName $fieldDisplayName
}
using-culture sv-SE $scriptBlock
#using-culture en-US $scriptBlock
###############END Powershell code#####################
Br,
Peter
Peter
Wiki Related Articles web part
Does anybody know of a way to have a permanent display of a Wiki page's "Incoming Links"
IMO, this would be such a fantastic addition to my Wiki that I can't beleive it would not be possible.
On that note, Sharepoint 2010 actually made "Incoming Links" even less handy: It is now burried in the ribbon, instead of directly accessable.
Personally, I simply don't understand how the power of Incoming Links is not acknowledge by Microsoft?
Cheers
Pat.
Note a related thread: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/b5098cb3-2b29-4aa0-953c-bfcefb066fa9
SPservice to JavaScript Gallery
<script type="text/javascript" src="/Jscript/Jquery/jquery-1.12.3.min.js"></script><script type="text/javascript" src="/Jscript/SPServices/jquery.SPServices-2014.02.min.js"></script><script type="text/javascript" src="/Script/js/fotorama.js"></script><link rel="stylesheet" href="/Script/js/fotorama.css" /><script language="javascript" type="text/javascript"> $(document).ready(function() { $().SPServices({ operation: "GetListItems", async: false, listName: "2007PhotoAlbum", CAMLViewFields: "<ViewFields></ViewFields>", completefunc: function (xData, Status) { $(xData.responseXML).SPFilterNode("z:row").each(function() { var liHtml = "<div class='fotorama'><img src='" + "/photos/2007PhotoAlbum/" + $(this).attr("ows_PicFilename") +"'" + "></div>"; $("#fotorama").append(liHtml); }); } }); });</script><div id="fotorama" data-width="700" data-ratio="700/467" data-max-width="100%"></div><script> $('.fotorama').fotorama({ width: 700, maxwidth: '100%', ratio: 16/9, allowfullscreen: true, nav: 'thumbs' });</script>
Document Sets move programatically
Hello,
I have to move document sets programatically from one library to another. Document sets may contain several documents in it. Any one please help.
Thanks,
Alex
show related tasks in DispForm of an item with Start Feedback Process workflow
I want to modify the DispForm.aspx page of "My List" to show all the tasks created for it through the "Start Feedback Process" workflow.
If I go to the AllItems.aspx page for "Workflow Tasks" I can see all the tasks there. And there is a column calledRelated Content that has a link to the associated list item in "My List"
But I cannot figure out how to find all the tasks created for an item in "My List" by the item's ID.
I thought I could add a field to "Workflow Tasks" to store the ID from "My List" by modifying the "Start Feedback Process" workflow but the "Change the behavior of a single task" sub-workflow in the "Start Feedback Process" workflow does not let me update values in the current task.
Any ideas?
call custom webapi from sharepoint hosted app spo 2013
Hi,
I want to make GET& POST calls to custom webapi from sharepoint hosted app in SPO site. Can any one share the sample code?
Regards,
RNDS Srinivas
Setting Person or Group field from People picker using JavaScript COM
I am trying to get the value from a People picker control, and then using the JavaScript client object model, set a "Person or Group" field to the value from the people picker.
I have seen some examples on the web about how to get the value from the people picker control (but nothing difinitive). But I have not found any good examples of how you set the value of the "Person or Group" field on the value you retrieve from the People picker control.
Thanks for any help.
Richard
Unable to Install Visual Studio 2012 in Windows server 2012
Hi Guys,
am trying to install VS2012 in Windows Server 2012 , but continuously getting the same error as below,
i tried doing windows update,
also did subinacl.msi process, still facing the same problem, even tried VS 2012 professional and Ultimate
but of no use,
someone please give an resolution to this,
thanks in advance
User selection via ribbon and updated multiple selected Items assigned to field with user id function
I am looking the different approach for CallbackAssignedTo function which I can use in any browser as ActiveX is only confined to IE , and still the code is not fully working. unable to update the Assigned to field with user Id's and button is greyed when selecting multiple items.
<link rel="stylesheet" type="text/css" href="http://test/jquery-ui.min.css"><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"> </script><script src="http://test/jquery-ui.min.js"></script><script type="text/javascript">// <![CDATA[ function getAssignedTo(defaultSearch) { if (defaultSearch == undefined) defaultSearch = ''; var sDialogUrl = '\u002f_layouts\u002fPicker.aspx?MultiSelect=False\u0026CustomProperty=User\u00252CSecGroup\u00252CSPGroup\u00253B\u00253B15\u00253B\u00253B\u00253BFalse\u0026DialogTitle=Select\u002520People\u002520and\u002520Groups\u0026DialogImage=\u00252F\u00255Flayouts\u00252Fimages\u00252Fppeople\u00252Egif\u0026PickerDialogType=Microsoft\u00252ESharePoint\u00252EWebControls\u00252EPeoplePickerDialog\u00252C\u002520Microsoft\u00252ESharePoint\u00252C\u002520Version\u00253D14\u00252E0\u00252E0\u00252E0\u00252C\u002520Culture\u00253Dneutral\u00252C\u002520PublicKeyToken\u00253D71e9bce111e9429c\u0026ForceClaims=False\u0026DisableClaims=False\u0026EnabledClaimProviders=\u0026EntitySeparator=\u00253B\u0025EF\u0025BC\u00259B\u0025EF\u0025B9\u002594\u0025EF\u0025B8\u002594\u0025E2\u00258D\u0025AE\u0025E2\u002581\u00258F\u0025E1\u00258D\u0025A4\u0025D8\u00259B'; sDialogUrl = sDialogUrl + '&DefaultSearch=' + escapeProperly(defaultSearch); var sFeatures = 'resizable: yes; status: no; scroll: no; help: no; center: yes; dialogWidth : 575px; dialogHeight : 500px; zoominherit : 1'; var rv = commonShowModalDialog(sDialogUrl, sFeatures, CallbackAssignedTo); } function CallbackAssignedTo(xml) { if (xml == null) return; var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = "false"; xmlDoc.loadXML(xml); var node = xmlDoc.getElementsByTagName('Entity'); var userName = ''; var selectedUser = null; if (node != null) { if (node[0].attributes.getNamedItem('Key') != null) { userName = node[0].attributes.getNamedItem('Key').value userName = userName.substring(userName.indexOf('\\') + 1, userName.length); selectedUser = SP.FieldUserValue.fromUser(userName) } } if (selectedUser != null) { var ctx = SP.ClientContext.get_current(); var currentweb = ctx.get_web(); var ListId = SP.ListOperation.Selection.getSelectedList(); var list = currentweb.get_lists().getById(ListId); var selectedItems = SP.ListOperation.Selection.getSelectedItems(); var k; var ListItem; for (k in selectedItems) { ListItem = list.getItemById(selectedItems[k].id); ListItem.set_item('AssignedTo', selectedUser); ListItem.update(); } ctx.executeQueryAsync(function (sender, args) { }, function (sender, args) { }); } } // ]]></script><div><div id="spp"></div>