Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [commerce-cloud]

The Salesforce Commerce Cloud is an omni-channel retail solution that has 2 elements which can be purchased separately - Commerce Cloud Digital and Commerce Cloud Store.

Filter by
Sorted by
Tagged with
2
votes
1answer
25 views

XSS in the content assets in SFCC

There is the following section in the SFCC documentation: Salesforce B2C Commerce 19.10 > Merchandising Your Site > Content Assets > Content Assets for Developers > Content Best Practices....
0
votes
0answers
13 views

What are the Content Search Refinements on a library folder level are used for in SFCC?

What are the Content Search Refinements on a library folder level are used for in SFCC? According to the documentation here (Salesforce B2C Commerce 19.10 > Merchandising Your Site > Content Assets > ...
0
votes
1answer
59 views

Create customer using shop ocapi with postman

I am getting below exception while accessing customer shop OCAPI to register customer or get customer profile. I have provided Oauth token for default client id as : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ...
0
votes
0answers
10 views

What does it mean for a promotion in SFCC to be active?

What does it mean for a promotion in SFCC to be active? In the documentation section over here (Salesforce B2C Commerce 19.9 > Merchandising Your Site > Campaigns and Promotions > Promotions for ...
1
vote
1answer
67 views

What Open Commerce API settings result in wide open access for a client-id?

When configuring Open Commerce API settings is there a configuration that would provide read and write access to all resources? Something like: { "_v":"18.3", "clients": [ { "...
2
votes
0answers
26 views

Triggered Send SFMC from Commerce Cloud

I'm creating a connection between Marketing Cloud and Commerce Cloud to, amongst others, send an email based on an action occurred in Commerce Cloud. Is the process of setting up a triggered send ...
0
votes
0answers
20 views

require vs a direct access for API modules in SFCC

What approach is better to use preformance wise require or a direct access for API modules in SFCC? For instance, what will be better: to write dw.io.File every time I need the File or require("dw/io/...
0
votes
0answers
17 views

dw.io.XMLStreamWriter vs dw.io.FileWriter in SFCC

Is it a good idea to use the dw.io.FileWriter instead of the dw.io.XMLStreamWriter to write to an xml file? What are the reasons which would make me to prefer the dw.io.XMLStreamWriter over the dw.io....
0
votes
1answer
54 views

How to escape HTML or AMPscript in AMPscript variables?

I was wondering what happens when a customer is putting html or scripts in his profile attributes on Commerce Cloud and he orders something and we send out an order confirmation email with those ...
0
votes
1answer
27 views

Importing Custom Object to Commerce Cloud

I've been following the instructions on the SFMC Connector repository, and one of those instructions says to "Import the metadata, custom objects, and jobs definitions into your B2C Commerce ...
0
votes
1answer
26 views

Commerce Cloud - How to Embed an Iframe Widget (JS script)

We have self-contained embeddable widget (via a simple <script> javascript tag) that can be placed on any regular HTML page. We'd like to embed this widget into Commerce Cloud, and it seems ...
0
votes
1answer
25 views

SFCC API to remove a product from the product set

Are there any SFCC API to remove a product from the product set? It is a very easy thing to do from BM: just go to the Product Sets tab, select a product set from which to remove, go to Products tab, ...
0
votes
1answer
25 views

Storefront of Salesforce Commerce Cloud

Is Storefront (Salesforce Commerce Cloud) made out of Visualforce page? Or we can use Web Technologies (Node, Angular, Bootstrap etc) to build the Storefront? Thanks
1
vote
1answer
49 views

Create a product from code in SFCC

Is it possible to create a product in code in Commerce Cloud?
1
vote
1answer
178 views

Create new customer via OCAPI and send password to customer

I know that a can create a new costumer via OCAPI call: POST https://hostname:port/dw/data/v19_3/customer_lists/{list_id}/customers But in the Credentials document there is no password to be ...
3
votes
1answer
73 views

Encrypt unique ID in URL to Marketing Cloud Custom Preference Center Page from SF Commerce Cloud

I have a marketing cloud custom preference center cloud page posting and retrieving information directly from Sales Cloud based on Contact ID. The page is accessible only via email. But we would like ...
0
votes
0answers
17 views

Cache only the templates, but not the front-end scripts in Salesforce Commerce Cloud

Is it possible to cache only the templates, but not the front-end scripts in Salesforce Commerce Cloud? It seems that there is no such option, since once the Enable Page Caching is checked the front-...
0
votes
1answer
66 views

API Client permissions

How can I create or how to obtain a 'Client Id' and 'Client Password' in order to authorize the API Explorer instance on the below URI? https://api-explorer.commercecloud.salesforce.com/?url=https://...
1
vote
1answer
89 views

Debugging object in isml

Is it possible to dump the entire contents of a var in an isml template. For example this gives me output: ${payment.paymentMethod} But if I want to debug the entire 'payment' object: ${payment} ...
1
vote
1answer
506 views

Setup SSO Salesforce Commerce Cloud

I just wanted to know if it is possible to setup SSO for Salesforce Commerce Cloud (Demandware) using Okta? Is it some thing OOB feature of Salesforce Commerce Cloud (Demandware) or need to do some ...
0
votes
0answers
13 views

How does the Search pipelet knows what language is currently on?

On the project we are using the Search pipelet to perform the product searches. Two of the pipelt`s arguments are the RefineByNamePrefix and the RefineByPhrasePrefix. They have the respective hard ...
0
votes
0answers
14 views

Find out all the refinement definitions for a category

How can I get all the refinement definitions for a category? I did not find anything in the class Category API which would allow me to do that, while it is pretty easy to find out all the refinement ...
0
votes
0answers
47 views

Capture UTM parameter from Commerce Cloud and send to SFMC for custom Abandon Cart

Currently we are using API's to capture data from commerce cloud to marketing cloud. There is not OOTB connector for integration. We are trying to build custom solutions for Abandon cart campaign. We ...
1
vote
2answers
1k views

Connector between SF Marketing Cloud and SF Commerce Cloud

Can anyone tell me more about connecting SF Marketing Cloud and SF Commerce Cloud platforms. What uses Cases can we implement other than sending email for abandoned baskets. Any documentation would ...
1
vote
1answer
49 views

Stack trace reference in Salesforce Commerce Cloud

On my sandbox, in my logs, I got an error and I got a reference to the stack trace of the error: Stack trace <ref:a6d7f20c52ed080c41c1e8e66b1bac4f> Is it possible to find the stack ...
2
votes
0answers
166 views

what is “quickcard” in salesforce?

Use the quickcard (section “Import an Object”) to require ISML and guard in your controller. i can't find quickcard keyword in eclipse and what is meaning of quickcard in ecplise . The first bold ...
1
vote
1answer
62 views

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job?

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job? It seems that it is a system job, so I was not able to find it in the Administration - Jobs. The job is running infinitely ...
1
vote
1answer
87 views

Limit for quota 'api.dw.io.FileWriter(File)' exceeded. Limit is 0, actual is 1

I have written the following function in the helper library: exports.createXML = function(ExportFile, XMLObj){     var writer = new FileWriter(ExportFile, 'UTF-8');     var xsw = new ...
0
votes
2answers
154 views

What's wrong with my code for SFTP connection?

I have tried the following code, but whenever I try to run it, I get redirected to 404 Not Found error page: var host = "host.name", port = port_number, username = user_name, ...
1
vote
1answer
96 views

Sitegenesis for SFRA

I am beginner in SFRA so I want to start with exploring Sitegenesis and Sitegenesis Global. Where can I get the Code and How can I set it up on my sandbox.
1
vote
1answer
201 views

Difference between pipelet and pipeline in SFCC

What is the difference between pipelet and pipeline in SFCC? After googling the question I did not find a clear answer on my question. So, I am sorry if it is an obvious one. Thank you.
3
votes
1answer
179 views

Find out what instance of SFCC do I have

How can I find out what instance of SFCC do I have? I am very new to SFCC and I was provided with the account of SFCC by my employer. So, now I want to learn the SFCC. For this I go to the ...
1
vote
1answer
159 views

Decrypt EncryptSymmetric in Demandware (Commerce Cloud)

Hey is there a way to decrypt a encrypted message from Marketing Cloud in the Commerce Cloud (formerly Demandware)? The function used in Marketing Cloud in encrypt is this: EncryptSymmetric('...
0
votes
0answers
98 views

Successful REST API POST returns error

I am working with the SF Commerce Cloud Connector package. We've been struggling to get this set up right. At first, when we made our calls we were getting this error: [ { "errorCode": "...
1
vote
1answer
120 views

how to delete a salesforce commerce cloud cartridge?

I am trying to find documentation on this topic with no luck yet. I recently started a new position where I do a little of salesforce. My employer wants to terminate a contract with a third party (...
1
vote
1answer
67 views

Are Business Manager user and Job contexts mean the same in SFCC?

Are Business Manager and Job contexts mean the same in SFCC? I would like to perform OCAPI requests during a job execution. So, I am exploring the OCAPI setup. Here is the documentation excerpt: ...
3
votes
2answers
208 views

Passing encrypted email in url string for Commerce Cloud - Key Management

I need to utilize the encryptsymmetric ampscript function to pass an email through to Commerce Cloud that is encrypted. The guys on commerce cloud have generated a private and public key. I cannot ...
0
votes
0answers
64 views

favicon on B2B Commerce

I am trying to set the favicon for our B2B Commerce shop (CloudCraze). But currently I have not succeeded. I have tried the following: https://help.salesforce.com/articleView?id=000274002&...
1
vote
2answers
569 views

Get a basket instance for a profile in SFCC

Is it possible to get a basket instance for a profile in SFCC? Here are my intentions: I have a job with the step which does the following: CustomerMgr.processProfiles(sendEmailIfNecessary, ""); i.e....
6
votes
3answers
5k views

Commerce Cloud Documentation

Background The Salesforce Documentation is mostly publicly accessible. Question Is the Salesforce Commerce Cloud Documentation for developers publicly accessible? And where can I find the ...
-1
votes
1answer
52 views

grunt build does not work for SGJC

I am trying to follow the steps described over here. So, I come to the part where I am ready to run the grunt build command. And here is the output I am getting after running it: $ grunt build >&...
0
votes
2answers
95 views

could not find module guard in storefront_controller

I get this error upon running newly created JHelloWorld.js: Cannot find module 'storefront_controllers/cartridge/scripts/guard' I created this controller under training cartridge and following ...
0
votes
0answers
154 views

No option to Convert to Tern Project in UX Studio for my cartridge

I just recently started to learn the B2C Commerce Cloud. I successfully installed the UX Studio plugin for Eclipse. Now I want to enable code linting and completion for my controllers code. So, I go ...
0
votes
0answers
77 views

Commerce Cloud: setting External Login information via the Data API?

for an integration that we are developing, we'd like to prefill External Login data for a Customer via the CommerceCloud Data API. However, a suitable API call does not seem to exist: the Customer ...
0
votes
1answer
309 views

How can I get slot in Demandware Script?

There is one method by which we can access content slot in demandware, that is by using <isslot> tag in the template, but is there any other way by which we can do that? I mean by using ...
2
votes
0answers
100 views

Alternative of the Java function setFeature(String, boolean)

I am trying to work on the XXE Loophole recently found for wechat. There are codes given in the link provided by the clients to check whether the website is effected by this bug. Here is that link. ...
1
vote
1answer
136 views

How to buy sandbox for Salesforce commerce sandbox [closed]

I want to buy sandbox for my developer. We are going to have training on salesforce commerce cloud developing. Could you please help to show me how to contact and where to buy these sandboxes. Thanks ...
1
vote
1answer
138 views

How to set up Facebook Dynamic ads based on first-party data in Salesforce

I've read that it is possible to set up Facebook Dynamic ads based on web activity and also CRM data (email engagement) from within Salesforce - with no manual data upload required. I'm a little ...
0
votes
1answer
26 views

How to enable the Direct Ship Flag for the product in catalog in Business Manager in Salseforce Commerce Cloud?

In product catalog, the Direct Ship Flag has the value "no data available". How to enable it?
0
votes
1answer
4k views

Download UX Studio

I am following some commerce cloud tutorials (https://www.youtube.com/watch?v=6d8TJHkfGPw) and trying to download UX studio for eclipse. Unfornately, the link doesnt seem to be working . Does anyone ...