Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MuleSoft for Salesforce Developers

You're reading from   MuleSoft for Salesforce Developers A practitioner's guide to deploying MuleSoft APIs and integrations for Salesforce enterprise solutions

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781801079600
Length 490 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Arul Christhuraj Alphonse Arul Christhuraj Alphonse
Author Profile Icon Arul Christhuraj Alphonse
Arul Christhuraj Alphonse
Alexandra Martinez Alexandra Martinez
Author Profile Icon Alexandra Martinez
Alexandra Martinez
Akshata Sawant Akshata Sawant
Author Profile Icon Akshata Sawant
Akshata Sawant
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1:Getting Started with MuleSoft
2. Chapter 1: Introduction to APIs and MuleSoft FREE CHAPTER 3. Chapter 2: Designing Your API 4. Chapter 3: Exploring Anypoint Studio 5. Chapter 4: Introduction to Core Components 6. Chapter 5: All About Anypoint Platform 7. Part 2: A Deep Dive into MuleSoft
8. Chapter 6: Learning DataWeave 9. Chapter 7: Transforming with DataWeave 10. Chapter 8: Building Your Mule Application 11. Chapter 9: Deploying Your Application 12. Chapter 10: Secure Your API 13. Chapter 11: Testing Your Application 14. Part 3: Integration with Salesforce and Other Connectors
15. Chapter 12: MuleSoft Integration with Salesforce 16. Chapter 13: MuleSoft Connectors and Use Cases 17. Chapter 14: Best Practices, Tips, and Tricks 18. Chapter 15: Certification and Interview Tips 19. Index 20. Other Books You May Enjoy

Answers

  1. Using %dw 2.0 in the script’s header because only major versions have to be provided, not minor versions.
  2. Addition (+), subtraction (-), prepend (>>), and append (<<)
  3. It can be defined as follows:
    var hello: String = "Hello World"
    ---
    hello
  4. It can be defined as follows:
    fun sum(p1: Number, p2: Number): Number = p1 + p2
    ---
    sum(1,2)
  5. Solution 1: Using if/else
    fun order(original: String): String = do {
        var new: String = original[-1 to 0]
        ---
        if (original > new) original ++ " goes after " ++ new
        else if (original < new) original ++ " goes before "
          ++ new
        else original ++ " is a palindrome"
    }
    ---
    order("abc")

Solution 2: Using match/case

fun order(original: String): String = do {
    var new: String = original...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime