Skip to content

Conversation

@shrutigundewar
Copy link

I have completed the challenge.
Below are the main components of my PR:

Apex Class- 1."NPSIntegration"
2."NPSIntegrationController"
3."NPSIntegrationService"
4."NPSIntegrationHandler"
5."NPSIntegrationTest"

Flow-"Call_NPS_Service"

Custom Object- "NPS_Order_Email__c", Custom field= "Order__c", Page Layout= "Order Layout"

Metadata for Status Picklist field on Order object = "Fulfilled"

External Credential = "NPS"
Named Credential = "NPS_API"

Permission Set = "NPS API"

PD steps Note- 1.In scratch Org, kindly assign Permission set "NPS API" to the user running API.
2. Create custom Header with below details. Go to "NPS" External Credential-> Related List->New Custom Header
Name = Authorization
Value = {!'Basic ' & BASE64ENCODE(BLOB($Credential.NPS.Username & ':' & $Credential.NPS.Password))}
Sequence = 1.
3. Create Principal with below details. Go to "NPS" External Credential-> Related List->Principal
Paramter name = "NPS External"
Sequence = 1
Identity Type = Named Principal
Parameter 1. Name = Username, Value =tmondo
Parameter 1. Name = Password, Value =Noy84LRpYvMZuETB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant