I am newbie to Sales force and I want to access my local printer to Print some document with apex class. I don't want use JavaScript.
Any help would be appreciated.
Thanks in Advance.
Apex runs server side, on Salesforce servers. It can't access your local printer. Your browser can access your printer though. In lightning or visualforce you can create a button to launch your browser's print function using
window.print();
Related
I have added the alert rule and action group manually in the Azure portal to send mail whenever it fails.
Is it possible to create these things using the Azure resource manager template?
Yes, this tutorial will help you create the alert using ARM template. You can refer to the "simplestaticmetricalert.json" and "simplestaticmetricalert.parameters.json" in this tutorial and replace the parameters in json with your parameters. Then use PowerShell or Azure CLI to deploy the template.
By the way, if you are confused about some parameters in "simplestaticmetricalert.parameters.json", you can use this command below
az monitor metrics alert show [--ids]
[--name]
[--resource-group]
[--subscription]
to show the properties of the alert you have created before for your reference when you edit the new template.
I am phone-gap developer. I make a application for getting like and comment via post image caption on Facebook. So we are using a plugin of iOS and android for the same but i am not getting any post-id in return after sharing the image through default share dialog in both.
Plugin Link : https://github.com/jeduan/cordova-plugin-facebook4
Use Case in android :-
1- We are getting post-id when Facebook application is not installed in device.
2- But we are unable to get the post-id when Facebook application is installed in the device.
Use Case in iPhone :-
1- We don't get any response after sharing images in iPhone device.
2- But getting response (post-id) when share through simulator.
Please help me with proper solution. It would be great if you join us in team-viewer to solve our problem.
Thanks in advance.
The only way to get the post id is to authorize users with the publish_actions permission - you would also need the user_posts permission to get access to the new post in order to get the likes/comments. According to your comments, you want to pay users for those - which is not allowed and Facebook will never approve the required permission in the neccessary login review process.
In other words: It is not allowed and not possible.
I am using a sandbox developer edition of salesforce. In Setup, when I search "Apex Class" in quick find box, no results were found. Also the File-->New-->Apex Class option is disabled in developer console window. How could I create a Apex class in salesforce. Also My aim is to create a visualforce page, which loads some external data(through api call) in visualforce page in a table format with custom links. How to do that?
It seems that your user has a limited profile on sandbox and has no access to Apex classes and any other developer options. This case you need to ask someone with Admin rights to provide an access to you. I guess that permission Author Apex can help you
Go to Manage users > Profiles > System Permissions
I have to work on this task..but I have no idea how to start. I googled it..but did not get the relevant answer.
I have various forms on website. These forms are made using drupal. On the submission of form I have to push the contents in the contacts and activities of salesforce. For eg let's say ABC has downloaded a newsletter. Then ABC will go in contact(of salesforce) and newsletter will go in activity(of salesforce) of ABC in salesforce. Now using the activity I have to create a custom list and import it to mail chimp.
My research :
Drupal to salesforce :
It says drupal has salesforce suite module where you can map drupal entities with salesforce field. And on submission it will automatically go to salesforce.
Salesforce to mailchimp:
Am not sure of this part. Any help will be greatly appreciated. Thanks .
You can use Zapier for this. I believe this zap will do what you want.
If you want to customize the integration you can see a full list of triggers and actions for both mailchimp and salesforce here
Essentially, you can connect any of those triggers on the left to any of the actions on the right. This way you can make your own custom integrations to do whatever you need. You should be able to satisfy this requirement with this.
I'm not 100% sure of the terminology on how to describe what I'm looking to do, so I apologize in advance.
I have a custom entry page for an object in salesforce, and I'm curious as to whether or not it's possible to call an external website when I click the save button.
Rough Example:
User enters in a new Account and hits save.
After saving the Account, The extender class calls to a webpage that inserts an entry into an external database to let a different set of users external to salesforce know that something new has been created.
Again, I apologize. I know I'm not describing this very well. Thank you for any and all input!
Yes, it is possible. Take a look at the Invoking Callouts Using Apex section of the Apex Code Developer's Guide. Salesforce refers to this (your Apex code connecting to another web server) as an HTTP Callout.
Also, take a look at questions with the "callout" tag on the dedicated StackExchange site for Salesforce.com.