From cfe0d4f50b7d45ecc87c610d1ed6a5bfef3d9203 Mon Sep 17 00:00:00 2001
From: rescocrm <76050981+rescocrm@users.noreply.github.com>
Date: Fri, 12 Jan 2024 16:43:57 +0100
Subject: [PATCH] JSB getStringListOptions remarks update
Created from PR: 7993
---
src/JSBridge.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/JSBridge.js b/src/JSBridge.js
index 9a1baef..c39cd5c 100644
--- a/src/JSBridge.js
+++ b/src/JSBridge.js
@@ -1,5 +1,5 @@
(function () {
- var _scriptVersion = 16.1
+ var _scriptVersion = 17.0
// Private objects & functions
var _inherit = (function () {
function _() { }
@@ -2365,7 +2365,8 @@
MobileCRM.Localization.initialize(fn, errorCallback, scope);
};
MobileCRM.Metadata.getStringListOptions = function (entityName, propertyName) {
- /// Gets the list of options for the string list property.
+ /// Gets the list of options for the string list property.
+ /// MobileCRM.Localization needs to be initialized prior to using this function. Otherwise empty array is returned.
/// The entity name.
/// The string list property name.
var options = {};