Get the block manifest from the repository landing.block.getmanifestfile
We are still updating this page
Some data may be missing — we will complete it shortly.
Scope:
landingWho can execute the method: any user
The method landing.block.getmanifestfile retrieves the block manifest from the repository. It will return the block manifest or an error.
Parameters
|
Method |
Description |
Available since |
|
code |
block code |
Examples
JS
PHP
BX24.js
try
{
const response = await $b24.callMethod(
'landing.block.getmanifestfile',
{
code: '01.big_with_text'
}
);
const result = response.getData().result;
console.info(result);
}
catch( error )
{
console.error(error);
}
try {
$response = $b24Service
->core
->call(
'landing.block.getmanifestfile',
[
'code' => '01.big_with_text'
]
);
$result = $response
->getResponseData()
->getResult();
echo 'Success: ' . print_r($result, true);
// Your required data processing logic
processData($result);
} catch (Throwable $e) {
error_log($e->getMessage());
echo 'Error getting manifest file: ' . $e->getMessage();
}
BX24.callMethod(
'landing.block.getmanifestfile',
{
code: '01.big_with_text'
},
function(result)
{
if(result.error())
{
console.error(result.error());
}
else
{
console.info(result.data());
}
}
);
How to Use Examples in Documentation
Copied