Commerce Cloud is what was formerly branded as Demandware that Salesforce recently acquired. To the best of my knowledge, it isn't yet available for enablement in a Dev Org. You'll want to contact your Account Rep to ask about a trial.
To answer your other questions:
Commerce Cloud is intended to provide a personalized customer-centric engagement as they ...
Dustin Tran is correct that some of it is currently private. Commerce Cloud documentation is available in the Commerce Cloud XChange site and what is often called: Infocenter. The prior is somewhat analogous to Salesforce SE whereas the latter is more traditional API documentation and product manuals. Infocenter is publicly available as of January 2019.
Code and documentation can be found at: https://github.com/SalesforceCommerceCloud/marketing-cloud-connector
You need to be a member of the Commerce Cloud Community Suite group in GitHub. You can gain access by following instructions here: https://xchange.demandware.com/community/developer/community-suite
There's also a document related to the connector on ...
Unfortunately these are the only encryption functions available out of the box. The statement about the ability to use it with en-/decryption outside of Marketing Cloud is to some extent also true. This is due to these functions being implemented slightly different to most programming languages and libraries.
However, there is one option that is known to ...
Symmetric encryption: only one key is involved. The parties share that key - one party encrypts with the key, the other party decrypts with the same key. Asymmetric encryption - two keys (public and private) are involved. One party encrypts with public key, the other party decrypts with the private key.
EncryptSymmetric is a symmetric encryption function as ...
In the documentation it is said
"Restricted to agent scenario use cases: This method will result in an exception if called by a user without permission Create_Order_On_Behalf_Of or if no customer is logged in the session."
When you are in job context, you do not have a customer logged in the session. Hence you cannot use this Script API method this way.
The Business Manager backend of the instances have color-coded headers:
Sandbox = grey
Development = green
Staging = blue
Production = red
Additionally on the top left you can see the instance name written (above your site dropdown)
Finally, you can usually tell by the hostname of the instance. Production, Staging, and Development all have the instance ...
You don't need to escape AmpScript in variables unless you explicitly ask the platform to render it by wrapping it in TreatAsContent. Example:
%%[ SET @Firstname = "%%=add(2,2)=%%" ]%%
We can reference it using:
Or We can reference it:
For HTML, you can use ...
I assume you already have a production org and one or more sandboxes that have been allocated for other purposes.
Contact your Account Executive to add an additional Sandbox license. As per How is a Salesforce Sandbox licensed? there isn't a public pricing structure that applies to everyone. It will depend on your production org edition and additional ...
Typically my first response would be: Did you white list the SFTP server via SFCC support?
But, upon further inspection it appears you are trying to use SFTP to connect to the same instance the code is executing on. First, you cannot connect to an instance's own IMPEX directory from that instance. It is blocked at the network level. Second, SFCC servers do ...
The most recent version of the plugin is here: http://developer.salesforce.com/media/commercecloud/uxstudio/4.6
Start up Eclipse and use the "Install New Software" link under the Help menu. Paste the URL in the "Work with" entry and give it a name. The rest is dialog based and only requires accepting a license agreement.
You cannot access a file for writing in a Storefront context.
I'd likely ask you first, "Is what you're doing absolutely necessary in a storefront context?" Then secondly, "Can you break your functionality into a two-step process whereby the file writing occurs as an asynchronous job that polls for new work every few minutes?"
The answer to the first ...
You can use as below in script:
out.print( JSON.stringify(payment) );
This will stringify the object and show string as below:
instead of [object Object]
See the Development Setup module found in the nav under Administration > Site Development. Within the "WebDAV Access" section, you'll see a subsection for "Log Files". There are two ways to access them.
First, and ideally you have Log Center access for the instance you're trying to check logs for. There should be a "Log Center" link below the ...
This information can only be gathered from OCAPI with a business manager login:
Example authentication request / response (I use sandbox client_id):
Related to Salesforce B2C Commerce (pka Demandware):
You can use ...
Out of the box, you have a product SKU (which functions as an ID of a product), a manufacturer SKU and a Universal Product Code (UPC). You can also add your own fields to any business object (and retrieve them via API, as one way). See catalog creation checklist for a high-level sequence of steps.
You can access OCAPI Shop API resources within valid customer session OR by using Business Manager credentials.
In your case you retrieved access token by using client id and client password. In order to access shop resources outside customer session you have to authenticate your request with BM username, BM password and client password.
Check this page ...
Probably you have already found the answer to your question already, but in any case, what you need to do is override the .isml template of the page you want to embed the iframe into.
You can do this by creating a new template with the same name and under the same folder path, but in a different cartridge.
Then you put this new cartridge in the beginning (...
You cannot stop system jobs. It looks like that job isn't even taking a second to execute every minute, so I don't think it is the source of your issue.
Likely the issue is that you've imported a catalog or inventory list that is too large for a Sandbox. Try reducing your import to a selection of representative products with representative inventory. (...
you can learn more about how to get started with SFRA by reading the instructions here: https://documentation.b2c.commercecloud.salesforce.com/DOC2/topic/com.demandware.dochelp/SFRA/GettingStartedwithSFRA.html
There's also documentation about the older SiteGenesis architecture available here:
Within the dw.ocapi.data.customer_list.customers.afterPOST hook you can trigger an email with a password reset token link within it. Alternatively, you could create the link and return it in a flash message or via a custom property in the response JSON.
In order to retrieve the password reset token, you'd need to call the createResetPasswordToken() method ...
Only the following file types are allowed for import on Salesforce Commerce Cloud B2C Commerce instance:
Trusted certificates: .crt .pem .cer .der
Private Keys: .p12 .pfx
Try providing the private key in .p12 or .pfx format to Commerce Cloud.
Business Manager User context means that in the session there is a Business Manager User logged in.
You can perform OCAPI requests from a job, but they would be executed in their own context.
You would have one thread of the application server that handles the job, and another thread that handles the OCAPI requests. These two will have separate contexts.
You can use a WebDav client (e.g. http://winscp.net, https://cyberduck.io/) to delete a cartridge from a code version (make sure you have a backup of the code - you can download a zip archive of the code by going in Business Manager > Administration > Site Development > Code Deployment and clicking on the corresponding code version and then on the ...
Slot configurations are not accessible via the Script API. Even within the context of a rendering template used within a slot you can't access all the details of that slot configuration. However, you can access slot configurations using the OCAPI Data API. That said, it wouldn't be helpful within the context of a storefront session.
Commerce Cloud has the dw.crypto namespace which contains a Cipher class. You can use the Cipher.encrypt and Cipher.decrypt methods to achieve this. See: https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/class_dw_crypto_Cipher.html?cp=0_16_2_5_1
Looks like you need to contact Commerce Cloud Support or your link partner program manager.
There is no automated way to do this because Commerce Cloud is not built on Salesforce Core. It is not multi-tenant. You have to go through Salesforce support.
You should first "lock" the product for editing. Then you should be able to set the value you'd like for that attribute. (Be sure to click the "apply" button at the top or bottom of the page before moving on.)