Tag Info

New answers tagged

0

I was looking for an answer to this today. It appears to work if the type is in capitals. So use: <Aggregations Value="On"> <FieldRef Name="LinkFilename" Type="COUNT" /> </Aggregations> instead of: <Aggregations Value="On"> <FieldRef Name="LinkFilename" Type="Count" /> </Aggregations>


1

Like to note that RootFolder as you point out yourself is not a bad idea if you were to use REST (and not jsom), like this: /_api/Web/Lists?$filter=RootFolder/Name eq 'MyImages' Then just pick the first one, and you get one result with all additional list data. (Syntax tested on 365, might need $expand on-premise.)


1

How to get List by its Url: function getListByName(name,success,error) { var ctx = SP.ClientContext.get_current(); var lists = ctx.get_web().get_lists(); var result = ctx.loadQuery(lists, 'Include(RootFolder)'); ctx.executeQueryAsync( function () { var list; for(var i = 0; i < result.length; i++) { ...


0

Since I have no reputation of 50 I have to ask you as an answer: Do you have a Web based integration? And have you tried to use JavaScript, jQuery or AJAX for a realtime search? Because Google is using them. You could easily use JavaScript, because the events you need for this are not in properties but in JavaScript. The event is called "onKeyDown" after ...


0

It would have been really great but the code is in XAML and my view's elements are in an aspx file. So I added asp: before each element TextBoxand Binding but there is an error saying that Element 'TextBox.Text' is not a known element. This can occur when there is a compilation error in the Web site, or the web.config file is missing. Same thing with ...


0

If you want the source to get updated as you are typing, you need the UpdateSourceTrigger. There is a MSDN documentation on this: How to: Control When the TextBox Text Updates the Source With the UpdateSourceTrigger you can start a database search query and do the search in realtime.


3

If you don't want to use the GUID, you'll have to make an extra call and get the vti_listname property from the list folder. The folder you can get by url using the getFolderByServerRelativeUrl on the SP.Web object. Example: var clientContext = SP.ClientContext.get_current(); var web = clientContext.get_web(); var folder = ...


0

As tony wu pointed out, seems this has to do with the items being locked as records. In our case, we were using in-place record management, which seems to affect the moderation status of item when viewing them as Sys admin or with an SPQuery.



Top 50 recent answers are included