#ProudlyPerficient Articles / Blogs / Perficient https://blogs.perficient.com/tag/proudlyperficient/ Expert Digital Insights Mon, 17 Mar 2025 10:29:50 +0000 en-US hourly 1 https://blogs.perficient.com/files/favicon-194x194-1-150x150.png #ProudlyPerficient Articles / Blogs / Perficient https://blogs.perficient.com/tag/proudlyperficient/ 32 32 30508587 TypeScript Type Manipulation with keyof, typeof, and Mapped Types https://blogs.perficient.com/2025/03/17/typescript-type-manipulation-with-keyof-typeof-and-mapped-types/ https://blogs.perficient.com/2025/03/17/typescript-type-manipulation-with-keyof-typeof-and-mapped-types/#comments Mon, 17 Mar 2025 10:29:50 +0000 https://blogs.perficient.com/?p=378746

TypeScript offers powerful type manipulation capabilities that allow developers to create more flexible and maintainable code. Three key features that enable this are keyof, typeof, and Mapped Types. Let’s explore each of them with examples.

keyof: The keyof operator takes an object type and produces a string or numeric literal union of its keys.

Example:

Picture1

This is useful for creating dynamic and type-safe property accessors:

Picture2

Here, TypeScript ensures that key must be a valid property of User.

typeof: Inferring Types from Values

The typeof operator allows us to extract the type of a variable or property.

Example:

Picture3

Now, UserType will have the same structure as user, which is useful when working with dynamically created objects.

Another use case is inferring function return types:

Picture4

Mapped Types: Transforming Types Dynamically

Mapped Types allow you to create new types based on existing ones by iterating over keys.

Example: Making Properties Optional

Picture5

Now, PartialUser has all properties of User, but they are optional.

Example: Making Properties Readonly

Picture6

Now, ReadonlyUser prevents any modification to its properties.

Example: Creating a Record Type

Picture7

Here, UserPermissions will be an object with keys from UserRoles and boolean values:

Picture8

Conclusion

By leveraging keyof, typeof, and Mapped Types, TypeScript allows developers to write more flexible and type-safe code. These advanced features help in dynamically generating types, ensuring correctness, and reducing redundancy in type definitions.

]]>
https://blogs.perficient.com/2025/03/17/typescript-type-manipulation-with-keyof-typeof-and-mapped-types/feed/ 3 378746
How to Subscribe to Salesforce Reports https://blogs.perficient.com/2025/02/12/how-to-subscribe-to-salesforce-reports/ https://blogs.perficient.com/2025/02/12/how-to-subscribe-to-salesforce-reports/#respond Wed, 12 Feb 2025 09:43:17 +0000 https://blogs.perficient.com/?p=376897

Hello Trailblazers!

Salesforce Reports are a cornerstone of effective data-driven decision-making. They allow you to analyze and visualize business data efficiently. Salesforce offers a subscription feature for reports to ensure you or your team stay updated on important metrics without manually checking them. Subscribing ensures that you receive reports regularly in your email inbox, making it easy to monitor performance and trends.

In this blog, we’ll learn a step-by-step guide to subscribing to Salesforce Reports.

So stay tuned!

Before You Begin:

In the earlier sections of this Salesforce Reports series, we explored What Salesforce Reports are and the various types of Salesforce Reports. I highly recommend revisiting those sections to gain a deeper understanding and maximize your knowledge.

Why Subscribe to Salesforce Reports?

Subscribing to Salesforce Reports provides numerous benefits, including:

  1. Timely Updates: Receive reports at a frequency that suits your business needs.
  2. Automation: Eliminate the need to manually run reports.
  3. Collaboration: Share critical data with stakeholders without additional effort.
  4. Customization: Tailor subscription settings to fit your specific reporting requirements.

 

Prerequisites for Report Subscription

Before subscribing to reports in Salesforce, ensure the following:

  1. Permission to Subscribe: So verify that your profile or role includes the permission to subscribe to reports. If not, contact your Salesforce Administrator.
  2. Access to Report: So you must have view access to the report you wish to subscribe to.
  3. Email Configuration: Ensure your organization’s email settings in Salesforce are correctly configured for outbound emails.

By the end of this blog, I will have shared some images and demonstrated how you can receive automated email updates for Salesforce Reports by subscribing to them. So keep reading for all the details!

Steps to Subscribe to a Salesforce Report

Step 1: Navigate to the Reports Tab

  1. Go to the Reports tab in your Org.
  2. Locate the report you want to subscribe.

Step 2: Open the Desired Report

  1. Click on the report name to open it.
  2. So, review the report to ensure it contains the data you need.

Img1

Step 3: Click on the Subscribe Button

  1. Once you open the report, click the down arrow menu button beside the ‘Edit’ button in the top right corner.
  2. When clicked, a menu will appear.
  3. So click the Subscribe button to initiate the subscription process, as shown below.

Img2

Step 4: Configure Subscription Settings

1. Set Frequency: Choose how often you want to receive the report. So options include:

    • Daily
    • Weekly
    • Monthly

2. Select Time: Here, specify when the report email should be sent.

Img3

3. Add Conditions (Optional):

    • Define conditions for sending the report.
    • For example, “Send only if revenue is less than $10,000.”

Img4

Step 5: Add Recipients

  1. Include Yourself: By default, you will be subscribed to the report.
  2. Add Others: Add additional users, roles, or groups who should receive the report and ensure they have access to it.

Img5

Note: If you would like to learn more about how to give access of the reports to the users, then please follow the provided link.

Step 6: Save the Subscription

  1. Review the settings to ensure accuracy.
  2. Click Save to activate the subscription.

Your subscription will be visible in the “Subscribed” column, as shown below.

Img6

So, you can subscribe to Salesforce Reports.

NoteTo learn how to subscribe to Salesforce Dashboards, please explore the detailed blog post by clicking on the provided link.

Managing Report Subscriptions

  1. View Current Subscriptions

    • Navigate to the Reports tab and open the report.
    • Click on Subscribe to view and manage your existing subscription settings.
  2. Edit Subscriptions

    • Modify the frequency, time, or recipients as required.
    • Save changes to update the subscription.
  3. Unsubscribe from Reports

    • If you no longer wish to receive updates, click Unsubscribe from the subscription settings below.

Img7

Best Practices for Report Subscriptions:

  1. Optimize Frequency: Avoid overloading your inbox by choosing a frequency that matches your reporting needs.
  2. Choose Relevant Recipients: Ensure only stakeholders who need the report are included in the subscription.
  3. Define Conditions: Use filters to trigger report emails only when specific criteria are met.
  4. Test Email Delivery: Confirm that reports are delivered correctly to all recipients.

Result – How do you Receive Emails for Salesforce Reports?

So here, I demonstrate the outcome of receiving Salesforce Dashboard updates via email after subscribing to them.

Click to view slideshow.

Troubleshooting Report Subscription Issues

  1. Emails Not Received

    • Check your spam folder.
    • Verify that your email address is correctly entered in Salesforce.
    • Ensure your organization’s email server is not blocking Salesforce emails.
  2. Permission Errors

    • Contact your Salesforce Administrator to ensure you have the required permissions.
  3. Access Issues

    • Confirm that all recipients have access to the report and its underlying data.

 

Conclusion

Subscribing to Salesforce Reports is an efficient way to stay informed about your business’s performance metrics. So, by automating the delivery of reports, you save time and ensure timely decision-making. So follow the steps in this guide to set up report subscriptions and optimize your reporting workflow.

Happy Reading!

“Positivity is not about ignoring challenges; it’s about facing them with hope, resilience, and the belief that every setback is a step toward something better.”

 

Related Posts:

You Can Also Read:

 

 

]]>
https://blogs.perficient.com/2025/02/12/how-to-subscribe-to-salesforce-reports/feed/ 0 376897
How to Subscribe to Salesforce Dashboards? https://blogs.perficient.com/2025/01/27/how-to-subscribe-to-salesforce-dashboards/ https://blogs.perficient.com/2025/01/27/how-to-subscribe-to-salesforce-dashboards/#respond Mon, 27 Jan 2025 07:10:13 +0000 https://blogs.perficient.com/?p=376037

Hello Trailblazers!

Salesforce Dashboards are powerful tools that allow users to visualize and analyze data at a glance. To stay updated on key metrics without manually checking dashboards, Salesforce provides a subscription feature. Subscribing to dashboards ensures that you and your team receive timely updates via email, helping you stay informed and make data-driven decisions.

In this blog, we’ll learn how to subscribe to Salesforce Dashboards.

Before you Begin:

In the earlier sections of this Salesforce Dashboards series, we explored what Salesforce Dashboards are, the step-by-step process to create them, and an in-depth look at Dynamic Dashboards in Salesforce. So to ensure a thorough understanding and gain the maximum benefit from this series, I highly recommend reviewing those parts before moving forward.

Benefits of Subscribing to Salesforce Dashboards

  1. Automated Updates: Receive dashboard data directly in your email without manual intervention.
  2. Timely Insights: Get updates on key metrics at regular intervals.
  3. Collaboration: Share insights with team members effortlessly by including them in subscriptions.
  4. Customization: Choose specific schedules and recipients for dashboard updates.

Prerequisites for Subscribing to Dashboards

  1. Permissions: Ensure you have the “Subscribe to Dashboards” permission enabled. Check with your Salesforce Administrator if you are unsure.
  2. Access to Dashboard: You must have view access to the dashboard you want to subscribe to.
  3. Email Configuration: Your Salesforce org must have email delivery settings configured.

At the end of this blog, I have demonstrated how you can receive automated email updates for Salesforce Dashboards by subscribing to them. So stay tuned for all the details!

Steps to Subscribe to a Salesforce Dashboard

Step 1: Navigate to the Dashboard

  1. Go to the Dashboards tab in Salesforce.
  2. Locate the dashboard you want to subscribe to using the search bar or browsing the folders.
  3. Click to open the desired dashboard as illustrated below.

Img1

Step 2: Click on the Subscribe Button

  1. Once the dashboard is open, locate the Subscribe button at the top right corner of the screen.
  2. Click on the Subscribe button to begin the subscription process.

Img2

 

Step 3: Configure Subscription Settings

  1. Set Frequency: Choose how often you want to receive the dashboard updates. Options include:
    • Daily
    • Weekly
    • Monthly
  2. Select Time: Specify the time of day as shown below when the dashboard email should be sent.
  3. Choose Conditions (Optional):
    • Add filters or conditions for triggering the subscription.
    • For example, “Send only if revenue is below $50,000.”

Img3

 

Step 4: Add Recipients

  1. Include Yourself: By default, you will be subscribed to the dashboard.
  2. Add Team Members: Add colleagues or other Salesforce users who should receive the email. Enter their names or select them from the user list.

Note: Only users with access to the dashboard can be added as recipients.

Img4

Step 5: Save the Subscription

  1. Review your subscription settings to ensure everything is correct.
  2. Click Save to activate the subscription.

So you can see your subscription in the Subscribed column as shown below.
Img5

So in this way, you can subscribe to the Salesforce Dashboards.

Note: If you’re interested in learning “how to subscribe to Salesforce Reports”, please explore the detailed blog by clicking on the provided link.

Managing Dashboard Subscriptions

  1. View Existing Subscriptions:
    • Open the dashboard and click on the Subscribe button.
    • You can see and manage your existing subscriptions.
  2. Edit Subscription Settings:
    • Adjust frequency, time, or recipients as needed.
    • Save changes to update the subscription.
  3. Unsubscribe:
    • If you no longer wish to receive dashboard emails, click on Unsubscribe to stop the updates.

Img6

Best Practices for Dashboard Subscriptions

  1. Limit Recipients: Only include essential stakeholders to avoid overwhelming users with emails.
  2. Optimize Frequency: Choose a schedule that aligns with the dashboard’s relevance and data update frequency.
  3. Use Filters Wisely: Apply conditions to ensure emails are sent only when specific criteria are met.
  4. Test Email Delivery: Verify that emails are being sent and received correctly.

Result – How do you receive emails for Salesforce Dashboards?

Here, I’m showing the result of receiving the Salesforce Dashboard after subscribing to it.

Click to view slideshow.

Troubleshooting Subscription Issues

  1. Not Receiving Emails:
    • Check your spam or junk folder.
    • Confirm that your email address is correct in Salesforce.
    • Verify that your organization’s email server is not blocking Salesforce emails.
  2. Permission Issues:
    • Ensure you have the necessary permissions to subscribe to dashboards.
    • Contact your Salesforce Administrator for assistance.
  3. Dashboard Access Issues:
    • Confirm that you have access to the dashboard and its data.

 

Conclusion

Subscribing to Salesforce Dashboards is a simple yet effective way to stay informed about your business metrics. So by following the steps outlined in this guide, you can automate dashboard updates, share insights with your team, and make timely decisions.

Happy Reading!

 “Self-learning is the art of unlocking your potential, where curiosity becomes your guide and perseverance your greatest teacher.”

 

Related Posts:

  1. Subscribe to Dashboards in Lightning Experience
  2. Subscribe to Dashboards by Group or Role

You Can Also Read:

1. Introduction to the Salesforce Queues – Part 1
2. Mastering Salesforce Queues: A Step-by-Step Guide – Part 2
3. How to Assign Records to Salesforce Queue: A Complete Guide
4. An Introduction to Salesforce CPQ
5. Revolutionizing Customer Engagement: The Salesforce Einstein Chatbot

 

]]>
https://blogs.perficient.com/2025/01/27/how-to-subscribe-to-salesforce-dashboards/feed/ 0 376037
Why Choose TypeScript Over JavaScript? https://blogs.perficient.com/2025/01/20/why-choose-typescript-over-javascript/ https://blogs.perficient.com/2025/01/20/why-choose-typescript-over-javascript/#respond Mon, 20 Jan 2025 08:01:45 +0000 https://blogs.perficient.com/?p=375901

JavaScript is a loosely typed language which is very dynamic in nature. It has been very popular for its strong web development for decades. Indeed, it is a powerful tool, but it can sometimes lead to huge codebase and runtime errors, mainly in heavy applications. Now, speak about TypeScript, a superset of JavaScript, overcoming its technical challenges. Let’s know why the TypeScript is gaining the popularity and attention among high end developers.

What is TypeScript?

TypeScript, the hero programming language, is developed and maintained by Microsoft. It is built on top of JavaScript by adding various features such as interfaces, error detection capabilities, static typing. It helps developers to write the cleaner, neater and more flexible code. Since the TypeScript compiles to JavaScript, it goes very well in terms of compatibility with JavaScript libraries and frameworks

Key Advantages of TypeScript

  1. Static Typing

Think about your last debugging session: Have you ever spent time tracking down a bug caused by a type mismatch? Let’s see how TypeScript solves this with static typing.

JavaScript Example:

Picture1

What do you think happens when we use TypeScript?

TypeScript Example:

Picture2

Static typing ensures that type mismatches are caught during the development phase, reducing bugs in production.

  1. Error Detection and Debugging

TypeScript’s compile-time checks prevent common errors such as typos or incorrect property access.

JavaScript Example:

Picture3

TypeScript Example:Picture4

  1. Better Code Maintainability

Imagine working on a large project with multiple team members. How would you ensure everyone follows a consistent data structure? TypeScript helps with constructs like enums and interfaces.

Example:

Picture5

Using enums and interfaces, developers can clearly define and enforce constraints within the codebase.

  1. Backward Compatibility

TypeScript compiles to plain JavaScript, meaning you can gradually adopt TypeScript in existing projects without rewriting everything. This makes it an ideal choice for teams transitioning from JavaScript.

 

Common Misconceptions About TypeScript

“TypeScript is Too Verbose”

It might seem so at first glance, but have you considered how much time it saves during debugging? For example:

Picture6

“It Slows Down Development”

The time spent defining types is often outweighed by the time saved debugging and refactoring.

 

When to Use TypeScript?

TypeScript is particularly beneficial for:

  • Large-scale applications: It ensures maintainability as the project grows
  • Collaborative projects: Static typing helps teams understand each other’s code more easily.
  • Complex data structures: For simplification of complex data structures, TypeScript is a better approach.

Conclusion

While JavaScript comes as a handy and excellent language for many projects, TypeScript addresses its flaws by introducing static typing, improved tooling and better readability and maintainability. For developers looking to build a high scale application with error-resistant code, TypeScript would be a great choice.

]]>
https://blogs.perficient.com/2025/01/20/why-choose-typescript-over-javascript/feed/ 0 375901
Integrating SCSS with JavaScript https://blogs.perficient.com/2025/01/17/integrating-scss-with-javascript/ https://blogs.perficient.com/2025/01/17/integrating-scss-with-javascript/#respond Fri, 17 Jan 2025 07:25:52 +0000 https://blogs.perficient.com/?p=375809

In the realm of web development, SCSS and JavaScript often serve as two fundamental pillars, each responsible for distinct roles – styling and functionality respectively. However, the integration of SCSS with JavaScript offers a powerful approach to creating dynamic, responsive, and interactive web experiences. In this advanced guide, we’ll dive into techniques and best practices for this integration.

Introduction to SCSS:

A preprocessor that adds powerful features like variables, nesting, and mixins to CSS. It allows developers to write more organized and maintainable stylesheets.

Why Integrate SCSS with JavaScript?

By linking SCSS and JavaScript, developers can leverage dynamic styling capabilities based on user actions, data changes, or other interactions. This extends beyond simple class toggles to involve dynamically altering styles.

Setting up the Environment:

Before integrating, you need to set up your project to compile SCSS into CSS:

  • Install Node.js.
  • Use npm to install Sass: npm install -g sass.
  • Compile your SCSS: sass input.scss output.css.

Dynamic SCSS Variables using JavaScript:

Here’s where the magic happens. By using CSS custom properties (often called CSS variables), we can bridge the SCSS and JavaScript worlds:

Picture1

Picture2

This changes the primary color from blue to red, affecting any element styled with –primary-color variable.

Using JavaScript to Manage SCSS Mixins:

While direct integration isn’t possible, you can simulate behavior by creating various classes corresponding to mixins and then toggling them with JS:

Picture3

Picture4

SCSS Maps and JavaScript:

Maps can store theme configurations, breakpoints, or any other set of values. While you can’t access them directly in JS, you can output them as CSS custom properties:

Picture5

Event-driven Styling:

By adding event listeners in JS, you can alter styles based on user interactions:

Picture6

Conclusion:

Integrating Syntactically Awesome Style Sheets with JavaScript broadens the horizons for web developers, enabling styles to be as dynamic and data driven as the content they represent. While there are inherent boundaries between styling and scripting, the techniques outlined above blur these lines, offering unparalleled control over the user interface and experience.

]]>
https://blogs.perficient.com/2025/01/17/integrating-scss-with-javascript/feed/ 0 375809
Celebrating QA India’s Journey: Empowering Women, Achieving 50/50 Gender Parity https://blogs.perficient.com/2025/01/15/celebrating-qa-indias-journey-empowering-women-achieving-50-50-gender-parity/ https://blogs.perficient.com/2025/01/15/celebrating-qa-indias-journey-empowering-women-achieving-50-50-gender-parity/#respond Wed, 15 Jan 2025 11:04:10 +0000 https://blogs.perficient.com/?p=375611

It’s truly an exciting and proud moment for our QA India Practice, as we have achieved an incredible milestone: a 50/50 gender ratio by the end of 2024. While we continue to stand out with many QA achievements, we mark gender parity as our long-term goal. This progress in gender ratio sets a benchmark for the entire workforce by integrating committed, talented women into all areas, from entry-level to leadership roles.

As we reflect on 2024 journey, two things are true:

  1. Proactive Measures: QA India Practice took actions that led to this important progress.
  2. Challenging Change: Change is challenging, but we’re in the midst of the shifts needed to make the work culture more equitable.

We identify one secret to building this great culture: rooting for each other. Getting a seat at the table is not enough, so we identify potential women leaders early and welcome them into the core Leadership team. This has not only contributed to this overall result but also led to our core QA India Leadership comprising 50% women colleagues, which we expect to grow to 60% by Q1 2025.

Our heavy focus on DEI (Diversity, Equity, Inclusion) mindset has resulted in a low attrition rate of 6.5% in 2024 at our QA India Practice. Historically, even during even during greater resignation period (2021 to 2023), we maintained single-digit attrition, positively affecting our business unit bottom line.

To combat career impediments, we extend support for maternity leave accompanied by sabbaticals, helping retain great talent and enabling them to achieve their career aspirations. QA India Practice taps into a broader talent pool by predominantly hiring women Automation Engineers with strong software engineering backgrounds. This vitally helps in terms of technological advancements and closing the digital skills gap in the QA workforce.

We consistently observe that projects led by women exhibit high delivery quality, commitment, customer and team retention, organizational dedication, and effective mentoring. This proud moment gives us more momentum to work on this endless journey and structure our QA Growth Triangle with empowered women leaders.

]]>
https://blogs.perficient.com/2025/01/15/celebrating-qa-indias-journey-empowering-women-achieving-50-50-gender-parity/feed/ 0 375611