Expand my Community achievements bar.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

InheritedProperty using HTL JavaScript Use API

Avatar

Employee Advisor

Can anyone please point me to the correct syntax to get InheritedProperty using HTL JavaScript Use API?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Found the correct syntax below

use strict";
use( function() {
    var data = {};
    data.id = inheritedPageProperties.get("id", String.class) || "";
  
    return data;
});

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Found the correct syntax below

use strict";
use( function() {
    var data = {};
    data.id = inheritedPageProperties.get("id", String.class) || "";
  
    return data;
});