ISML: An Interface Specification Meta-language
Questions tagged [isml]
20 questions
3
votes
2 answers
Live reloading of ISML templates
In the Intershop 7.9 project I'm currently working on the development server doesn't seem to monitor the ISML files for changes. This means a cartridge rebuild is necessary before seeing any ISML changes. In previous projects I've worked on (ISH…

Bas de Groot
- 676
- 3
- 16
3
votes
1 answer
At-sign before square brackets
I'm currently maintainging some DS/JS code in Demandware and I just found that :
var XmlReponse : XML = new XML(result.object.text);
status = XmlReponse.@["STATUS"];
What does this unusual "@[...]" syntax do ?
It could have something to do with…

Benj
- 1,184
- 7
- 26
- 57
2
votes
2 answers
Override system "URL not found" template in Intershop 7.10?
We are trying to override the default template for the "URL not found" page. The template name is URLError.isml and it is located in the sld_system_app cartridge. When we try to override the template via "Override existing" wizard, the template…

Renato Dragišić
- 335
- 1
- 11
1
vote
2 answers
How can I specify the opposite of a customer segment
In components you don't have an exclusion segment:
My subject is to create the opposite of a customer segment.
If I have a customer segment DEVELOPER then I would like to create EXCEPT_DEVELOPER ("Everyone can see this component except…

AHn
- 53
- 1
- 7
1
vote
1 answer
Integration of SonarQube with ISML
How to integrate ISML language plugin in sonarqube and analyze the code to get report?
I can see there is no plugin for ISML in sonarqube. How can I integrate the additional plugins into sonarqube?
I'm using ISML linter for this currently, but that…

SonarQ
- 31
- 1
- 2
1
vote
1 answer
Customer segmentation price list does not work as expected in basket and checkout
The problem
We have created a customer segment and linked both a customer and a price list to this customer segment. The linked price list defines a special price of $5 for one of the products. This product has a 'default' price of $10.
When I…

Bas de Groot
- 676
- 3
- 16
1
vote
2 answers
How to override a render ISML template in Intershop7
In Enfinity Suite 6.4 we used to customize storefront pages by overriding ISML templates of the PrimeTech cartridges. For example, it was possible to add a dependency in our custom cartridge to "sld_ch_consumer_app" and replace any Primetech ISML…

Renato Dragišić
- 335
- 1
- 11
1
vote
1 answer
intershop get date in .isml template
I need to check the condition:

srgg6701
- 1,878
- 6
- 23
- 37
1
vote
1 answer
Intershop: checking for not null in .isml template
I'm not finding a function to test for the existence of a value in the ISML template code. There's 'isDefined' but not 'isNull'.
isDefined returns true on null values:

nullsteph
- 791
- 15
- 28
1
vote
1 answer
What is the best way to make a loop in ISML without iterable object?
I want to make a loop in my ISML Template without an iterable object. During the runtime of this template the condition or rather the number of iterations would be defined. Is there any possibility to have a loop statemant like in java "for (int i =…

Kurt Rätzsch
- 59
- 1
- 5
1
vote
1 answer
Complex Class, mutliply & divide not working
I have first listed my class code, then my tester/driver code and have put my questions at the bottom. My code for my class is as follows :
class Complex {
//data values
private double real;
private double imag;
//constructors
public Complex () {
…

syth3
- 555
- 1
- 4
- 13
0
votes
0 answers
Can you explain why the use of a hashtag '#' sometimes causes ISML templates to break?
I came across this doc which discusses an issue where using the hashtag '#' symbol in ISML templates can sometimes cause errors. Although the documentation focuses on JavaScript, it seems that using '#' in ISML can cause issues in general, and…

Sergey L
- 547
- 2
- 5
- 19
0
votes
1 answer
Salesforce Commerce Cloud template overriding
I'm new to SFCC and I have created an extremely basic controller in my custom cartridge.
'use strict';
var server = require('server');
var URLUtils = require('dw/web/URLUtils');
server.extend(module.superModule);
server.append('Show', function…

FJTAIL
- 107
- 9
0
votes
1 answer
Not able to save the user selected picklist value in SFCC Demandware
I created a new attribute(favouriteStore - Enum of String datatype) in standard 'profile' object and added it to the account creation page in storefront. Now, I couldn't get the user selected picklist value from ISML to js. I tried the below code,…
0
votes
2 answers
ISML conditional CSS class declaration
I'm new to SFCC and I was wondering what is the best practices with writing conditional CSS classes in the ISML template. I couldn't find anything in the documentation specifically for element parameters but I have seen some code which works but…

Basem
- 1
- 3