Get the Phone Number from Dynamic crm online - dynamics-crm-2011

I am new to dynamic CRM. I have requirement to pass the contact info to webservice. when the user clicks on the phone number, instead of triggering call through skype or lync, I need to pass the contact information(Phone number,Contact name) to my web service.Please guide me to implement this.

Using plugin and something similar to this
https://mscrmmindfire.wordpress.com/2013/06/14/calling-external-web-service-from-a-crm-2011-plug-in/

Related

Externally hosted form and NetSuite Data

I have a page hosted on an external site and I would like to create a form on that page. The use of the form would be to collect data to create SO in Netsuite.
In the form itself, I would like to have an autopopulate functionality so that for e.g. when I put in "Kat" in End User contact, I see all contacts starting with "Kat". This will enable me to select a correct contact and also help prevent duplication of data. Can you please guide me on how to structure this flow. What Netsuite components should i be using? For the external site, it will use Django.
Thanks
You need to create a couple of RESTlets in NetSuite. One to perform a search to get the contacts and return them in the payload, and one to create sales order in NetSuite and populate it with the values provided in the payload.
How are you solving the issue with CORS?

Branch.io: Extract custom value from link

we're facing a problem right now: We're using the SMS gateway feature from branch.io which simply does not work properly worldwide (e.g. Lituanian cell phones won't receive any messages at all).
Therefore i need a fallback method for people that cannot receive an SMS to their phone with the downloadlink in the Appstore. (The branch.io Links have an effect on the branding of our app)
The fallback is to let them use a voucher code which COULD be generated from a custom value that we store for each Link
This is an ordinary Link with its 2 custom values
The landing page http://learnmat.ch/spark7 opens in the browser and i'd like to be able to identify the SponsorID on the website so that i can return a voucher code that is suitable for the specific SponsorID of the Link.
Right now i've already integrated the Web SDK into the website.
Is that "reverse engineering of the SponsorID" possible based on the Link and the WebSDK integration?
I'd really appreciate your help!
Thank you,
Sven
Jackie from Branch here.
Our SMS page service supports international numbers but only if the number the SMS has to be delivered is in the same country the SMS is being sent from. Could you please make sure the sender is physically located in Lithuania? I'd also suggest creating your own Twilio integration if you want to bypass these restrictions we have on our system https://docs.branch.io/pages/web/text-me-the-app/#use-your-own-sms-service
Regarding your fallback method: you want to have users click on a Branch link that will open your website and based on the link data (sponsor ID), you want to provide them with unique voucher codes? If my assumption is correct, you can achieve this by custom event tracking and user identity tracking. (relevant docs: https://docs.branch.io/pages/dashboard/analytics/#user-value-attribution)
Hopefully, this helps. Let us know if you have additional questions about the info above, or about anything else related to integrating Branch.
Best,
Jackie Choi

Enable user to send text to specific Gmail contacts

In our website, we need to achieve a seemingly simple task: Enable the user to send a specific text to all or some of his/her Gmail contacts (including contact selection).
We don't actually need the contact data itself. We prefer some kind of "Gmail Plugin" (if there is one) that asks the user to login and does all the work. Alas, we couldn't find any.
We did find several different Google APIs related to this task. Some of them seem to give us contacts data. Others seem to handle sending email:
There is "Contacts API" under
https://developers.google.com/google-apps/contacts/v3/...
There is "Contacts Service" under
https://developers.google.com/apps-script/reference/contacts/...
There is "Gmail Service" under
https://developers.google.com/apps-script/reference/gmail/...
There is "Gmail Platform Integration" under
https://developers.google.com/gmail/...
Each of the above looks different and there seems to be much overlapping between them.
So what is the recommended method to achieve our original task? Is there a plugin that does it all? If not - should we use separate APIs for getting the contacts data and sending the emails, or are there Google APIs that combine both sub-tasks? In case those are separate tasks - is it possible to email via Gmail, or are there other recommended services for the email sending part?
To directly answer your question: you must use the first API you pointed, Contacts API under https://developers.google.com/google-apps/contacts/v3/.
Basically, you want to use the Google Contacts API with OAuth2 authentication in your website: user will be prompted by Google to allow your website to read user contacts.
First, read a bit about OAuth2 authentication flows here: http://alexbilbie.com/2013/02/a-guide-to-oauth-2-grants/
Second step: register your app on Google Console and get your key/pass for the Contacts API (you'll need contacts.readonly permission): https://console.developers.google.com
Then, as you'll use the OAuth2 for Web Servers, check this Google documentation: https://developers.google.com/accounts/docs/OAuth2WebServer
Alternatively, you can use third part libraries to easily import contacts to your website. There are free libraries, like PHP OpenInviter.org, Ruby OmniAuth gem, and paid alternatives, like CloudSponge.com (multi-language).
Disclaimer: I work for CloudSponge.com.
You could achieve this as you say with Google APIs and a Chrome Extension for example.
The user can add a Chrome Extension from the Chrome Webstore. The Extension will provide the user with a user interface to allow them to compose their message and send to the selected contacts.
The users contacts can be retrieved with the Google Contacts API.
The message can be sent to the selected contacts with the Gmail API.
There is a lot of documentation and examples for all of the above which together will give you what you want.
Depending on how much use this is going to get, you could use a contextual gadget which is browser agnostic - but visible in all emails in Gmail.
This is wrong the idea is to post the text to buffer a and submit pointer to array on buffet a and copy it to class b pointer a 0 than release the array and buffer so new allocation can be done

How to get programmatically(via plugin) CRMWRPCToken & CRMWRPCTokenTimeStamp in CRM 2011?

guys!:)
I work with CRM 2011 & I need to automatically generate download link for attachments in entities records with C# plugin via attachment GUID.
This link looks like this:
/SERVER/ORGANIZATION_NAME/Activities/Attachment/download.aspx?AttachmentType=5&
AttachmentId={GUID}&IsNotesTabAttachment=1&CRMWRPCToken=8oi054LNEeOd7QAVXZNIANwO8jNsflfFQ75fqPK2zC4Az6I2yWatX71ugBe7bgHy&CRMWRPCTokenTimeStamp=635273624756233624
But I haven't got any idea, how to get these CRMWRPCToken&CRMWRPCTokenTimeStamp. Could anybody help me? Thanks.
You cannot generate the CRMWRPCToken & CRMWRPCTokenTimeStamp values. You shouldn't need to as these will be handled by CRM itself when the URL is called. The user making the call will need to authenticate to CRM - if they are to be anonymous users you'll need to put a proxy site between the caller and CRM that can support anonymous users - CRM can't support anonymous users directly.
The best, and most easily supported way to do this, is to direct the user to an HTML WebResource with the annotation's guid in the URL. Then in the WebResource take the URL and call Xrm.Utility.openEntityForm("annotation", annotationid) to open a dialog to download the file. Assuming the user is authenticated to CRM this will work great and you never need to worry about it breaking.

Is it possible to launch the iPhone simulators contacts from another app

I am trying to use the contacts from iPhone simulator's or iPhone contacts in my native app.
For this I searched a lot and found that application:openUrl method can be used but this method is invoked in applicationdidFinishedLaunching method.
And I want it to launch the already exist contacts app in my native app.
What are you wanting the user to do with the Contacts?
The API sample for doing anything with the address book is listed under QuickContacts.
http://developer.apple.com/library/ios/#samplecode/QuickContacts/Introduction/Intro.html
From the README:
This sample also shows how to:
Browse a list of Address Book contacts and allow users to choose a contact from that list.
Display and edit information associated with a selected contact.
Prevent users from performing default actions such as dialing a phone number associated with a selected information.
Create a new contact record.
Update a partial contact record.
Present and dismiss the people picker, person view controller, new-person view controller, and unknown-person view controller.

Resources