Scheduling jobs in salesforce using customization - salesforce

How to schedule jobs in salesforce which run on daily basis using customization .
Her i should also be able to know the number of days remaining

Yes, you can schedule Apex classes for execution using configuration only. Below is the screenshot of the screen that shows all the option you get. In order to get to this screen go to Setup > Develop > Apex Classes and click Schedule Apex button in the top of the list view.

Related

Azure SQL Alerts to integrate with TEAMS

I am trying to integrate Azure SQL Alerts with Teams. I have created webbook and the link I got paste it into Azure action group. When I run a test it has fail output. So then I have created runbook and within the runbook created webbook. The link I got from the webbook I inserted into the action group when run test it was successful. I can see the alert in the azure runbook/webbook but didn't come trough TEAMS.
Please Follow these steps to achieve the Alert goals
Step 1: Create a blank Logic App
• For this step, you need to login to the Azure portal and create a new Logic App. Once you’re in the right place, click on the Add menu and select the Logic App type you want to create. The available types are: Standard and Consumption. You can find all the necessary info in the page Pricing and billing models for Azure Logic Apps at link
Step 2: Configure the Logic App
• In the Logic App designer page, click on the When a HTTP request is received. This will be our trigger .
• After the selection, you will be presented with the Logic App designer canvas. This is where we will do all our remaining configurations starting with the trigger activity we just added
• Configure the activity with the JSON schema that the trigger will use. Since the request will contain the alert’s JSON payload, you can refer (and use) the sample schema you can find in the article Common alert schema definitions at link .Copy the sample alert payload from the page, click on Use sample playload to generate schema, paste the content and click Done
• To create a condition used to decide which notification activity to use, click on the New Step, in the search box type Control
• Select the Control group and then select the Switch activity to add it to the canvas. For groups with lots of activities, you can enter the activity name or part of it in the search box.
Once added, this activity needs some configuration:
Team ID,Channel, Message
As far as the Team ID and the Channel go, you can select Azmon alert,With regards to the Message body part, this is representing the information sent through the notification. Here you can enter static text formatted as you like, dynamic content as well as formulas. In my example I started with a kind of title and followed with sections under which there are the info I wanted to send. For the static text, you just need to write it. For the dynamic content and/or formulas, once you decided the line where to put it, click on Add dynamic content and select it from the side panel click in the Message canvas and either select it from the Dynamic content list or assemble it using the Expression builder
In this post, since I got everything correctly parsed from the trigger activity (the When a HTTP request is received), I will go use the dynamic content only. For instance, after having put some text like – Alert Id: I will select alertId content from the list
Step 3: Configure the Action Group
configure an Action Group to use it in order receive our alerts as expected.From the Azure Monitor blade
• From the Alerts page, click on Manage actions
• Click on New action group
• Enter the necessary basic information and click on Next: Notifications
• Configure the following according to what has been created before:
o Action type
o Name
o Selected
• making sure to enable the common alert schema and select and create
Step 4: Add the new action group to your alerts
we have the Action group created and configured; we need to add it to all the alerts we want to notify
• From the Alerts page, click on Manage alert rules
• In the Actions section, add the new action group to the existing one (or remove them if not necessary
• Select the newly created (and de-select the selected ones if necessary) and click Select
• Click Save to save and apply the changes
Step 5: Test
Refer below doc
link

Suggested ways to take a screenshot of a react page

I have a react app that serves a live dashboard to clients (SPA).
Within that dashboard, I have what you might call a 'summary' page that gives the user a periodic summary (in a timeframe of their choosing).
Some of those users, want to receive a periodic report (a screesnhot of that summary) as PDF to their emails.
My struggle is with the report generation part - one thing that I'm trying is do is have an automated process login to my webpage and take a screenshot.
However, it feels not best-practice, and causes issues (the page has an MFA that I somehow need to bypass, etc.) .
Bottom line, I was wondering if there is a known process to do what I'm looking for.
Thanks.

Want to show orders notifications from orders api in React.js

I am building a warehouse management system for WordPress store in React.js: I have built an API (http://wms-api.martoo.com/api/wms-orders) for orders and fetching all the orders in my React Dashboard.
Now I want to show notification for each order in my React dashboard. What's the best approach for that to show notification automatically when someone places an order through WordPress eCommerce. Probably sockets can help but I am looking for the solution. I will appreciate your help.
I have checked for different methods but non worked. I have tried webhooks, cron jobs but this method is effiecient. I have used pusher
Go at https://pusher.com/
Click on "Get a free account". Then register yourself at it.
Create a new App at the Channels tab.
Write the name of your app anything you want.
Choose ap2 (Asia Pacific(Mumbai)) or any other closer to the region of the website's owner on the cluster tab.
Ignore everything else and click on create.
Go to the apps tab in the navigation menu and click on the app you've created.
Read documentation for further instructions

Modifying salesforce reports before exporting using Apex

I am struggling to find where to start w.r.t my following problem.
In SFDC reports, there is an "export details" button to export a user chosen report into csv or xls formats. I want to modify this xls file (for example, encrypt it) before user downloads it.
I guess I can achieve this using Apex triggers. My questions are:
How can I add an Apex trigger which is triggered upon a user clicking this "export details" button?
How can I access the xls contents in this Apex trigger code where I want to encrypt them?
I extensively searched in Apex user guide and many other sources. I can not find how to add triggers to standard SFDC buttons.
Thank you very much in advance.
How can I add an Apex trigger which is triggered upon a user clicking
this "export details" button?
This isn't currently possible. First triggers are related to database actions and not user interface events. You can override the behavior for a lot of buttons using a view override, but unfortunately that's also not available for report buttons.
Workarounds
While you can't alter the behavior of the standard report experience, there is a new Reporting API that was just released by Salesforce that allows you to programmatically get the contents of a report. Using that you could build your own "encrypted report download" tool to accomplish this.
For more information, checkout this answer on Salesforce Stackexchange on accessing reports through the api. And in the future, post to Salesforce Stackexchange first!! That's where the community is these days ;)
Trigger can only be called when you do some dml operation in salesforce, clicking a button has no concern with the trigger calling,

Menu Creation in SSRS

I am created one report service in that 5 different report is there,means report1,report2,report3,report4,report5.So I need to create a menu for these report,means its look like one menu,if I click report1 I need report1 details like that..I am very new in this field so please help me as simple way.
Often SSRS reports are wrapped up within a small app (often created with c# / vb.net) to provide additional security and navigation options. With a simple web page, you will be able create you report menu, style it accoridngly and use Microsoft.Reporting.WebForms to trigger displaying the report

Resources