I am using sharepoint 2010 and looking for Collaborative Application Markup Language (CAML) struct.
I searched for it on http://msdn.microsoft.com/en-us/library/ms467521.aspx, but it seems to be not a caml completed reference since there are no properties explaination.
Where can I find a complete reference for it or xsd?
Try CamlQuery.xsd from java-sharepoint-library on Google Code.
https://code.google.com/p/java-sharepoint-library/source/browse/trunk/xsd/CamlQuery.xsd?r=35
Related
Problem
I need to get online presence status from Microsoft Outlook using VBA.
The status is presented as a green-yellow-red-grey light displayed near the contact name and usually provided by some instant message(IM) application (e.g. Teams, Skype, Zoom, Jabber etc.).
Here is how it is usually look:
Available data
Unfortunately the status is not available in Outlook structures AddressEntry or ExchangeUser, which are pretty easy to acquire.
Note: Please do not confuse online presence with calendar availability, which can easily retrieved using function GetFreeBusy.
Alternative view
The only relevant and pretty decent description related to the topic I found here: https://learn.microsoft.com/en-us/office/client-developer/shared/integrating-im-applications-with-office .
But here the topic is presented from the different angle - what should be done from the IM application side to provide this status. In short: the IM app should add some data to the registry under ...\Software\IM Providers\... and implement interface IUCOfficeIntegration, so Outlook can use it to retrieve the status.
So an intermediate idea was to retrieve the status via this interface from the IM app directly. But there is very few information about calling COM interfaces from VBA.
Does anyone can provide any hints how the status can be retrieved?
The Outlook object model doesn't provide any property or method for that. Graph API provides the Get presence methods for that.
You can use Graph for that. I don't think you'd be able to use VBA though.
https://learn.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http
issue[] in UiPath.
So I downloaded an extension / package from UiPath GO! named as "Jira Integrating Software". This Packages comes with several APIs to access Jira tickets.
I was working with one of these APIs called "Search by JQL". JQL is Jira Query Language comes in handy for Advance searching. The output type of this "Search by JQL" activity is issues[].
Now when I am Iterating this array it gives me an output of "UiPath.JiraSoftware.Models.Issue"
You should use a For Each activity iterating the ResultArray Array you got from the Search JQL.
The following is just pseudo code! But it should work like this. Maybe the name of the property is not IssueId. That was not completely told in the document. But this you can when you inspect it by using the debug mode:
You should also have a look on the official Jira UiPath page. This resource contains all of the concepts you will need.
I hoping to develop a simple database to store the results of OFAC searches in an Access database. The steps that I'm hoping to achieve follow:
Enter company name in Access form
Execute query (via clicking a button or otherwise)
Goto OFAC website (OFAC Website)
Enter Company name in Name Field
Execute a search by clicking Search button or hitting return.
Receive the result set and Store in Access table
Questions:
Can I accomplish these steps with Access
Are you aware of any resources (articles, Access add-ins, VBA Scripts) that can help me achieve these objectives
Thanks for your help
Yes, it's possible. OFAC provides access to data using web service API, which can be called using VBA. I didn't use VBA for accessing OFAC, but used with other web services. Search string "ofac list api" gives a lot of links, for instance here you can find code example for VB6, it's similar to VBA, may be useful.
i have a concern about which is better option to fetch list items from sharepoint 2010 list in javascript
there are 2 available options
1) sharepoint 2010 client object model
http://msdn.microsoft.com/en-us/library/hh185011.aspx
2) jquery spservices
http://spservices.codeplex.com/documentation
but i am not able to understand which one is better is option in terms of safety,security & stability / low maintenance
and also i have a doubt with sharepoint2010 JSOM is that it has a method
var oList = clientContext.get_web().get_lists().getByTitle('Announcements');
but does not have any method for getListByUrl
Is getListByTitle is safe to use (as in sharepoint Object Model it is generally preferred to use GetListByUrl instead of GetListByTitle)?
please share your experience
thanks
I usually use JavaScript object model when I can, because it's provided by Microsoft. So it is supported, and supposed to be more tested and stable. It's also more viable in the long term compare to old school .asmx webservices used by SPServices.
However, for some functionality not available in JavaScript OM, SPServices is a good choice.
About GetListByTitle, it's usually safe and effective, especially for your own list. However, there is a catch for SharePoint list because title may not be the same depending on your web language ('Announcements' in EN, 'Annonces' in FR).
Depending on what you want to do you can use GetFolderByUrl, or loop all lists and check url, etc..
Both frameworks are sitting on top of SharePoint's business logic, so safety, security and stability are given.
As mentioned by Nico, there are several tasks you can't do with the CSOM. In common, you've to use SharePoint WebServices in order to attach files for example, SPServices offers you a JS wrapper around SharePoint's OOB WebServices. So it's easier to include in your existing JS code.
By using SPServices you don't have to care about all the Request, Response plumbing, it's all done by SPServices.
In most of our projects we're mixing CSOM and SPServices in order to get all the things done.
Marc (the author of SPServices) has also a great documentation on SPService's capabilities on Codeplex (see http://spservices.codeplex.com/documentation)
I'm developing a Webpart and I need to go through every document library and get its permissions. Basically I need to get the groups and its permissions associated with the document library.
I have iterated through the properties and methods of a SPDocumentLibrary object but couldn't find anything really.
Any help or guide would be appreciated.
Thank you
I would first check HasUniqueRoleAssignments. If it is false, then the permissions for that document library are inherited from the website. If it is true, as Jason said, I would then check the Member and RoleDefinitionBindings of each SPRoleAssignment.
Try SPDocomentLibrary.RoleAssignments.
This will give you SPRoleAssignments where the Member property is a SPGroup or a SPUser.