Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPUtility.GetSPField('Title').SetValue('Hello world!'); #54

Open
Q2Baklan opened this issue Jun 5, 2018 · 1 comment
Open

SPUtility.GetSPField('Title').SetValue('Hello world!'); #54

Q2Baklan opened this issue Jun 5, 2018 · 1 comment

Comments

@Q2Baklan
Copy link

Q2Baklan commented Jun 5, 2018

Добрый день, Ваш пример не работает в SPS Russian language

SPUtility.GetSPField('Кем проверен кандидат').SetValue('Hello world!');
sputility.min.js:10 Uncaught Unable to get a SPField named Кем проверен кандидат
$.GetSPField @ sputility.min.js:10

Пробовал StaticName указать:
SPUtility.GetSPField('FirstEdit').SetValue('Hello world!');
sputility.min.js:10 Uncaught Unable to get a SPField named FirstEdit

@sciSHP
Copy link

sciSHP commented Feb 27, 2020

Добрый день.
SPUtility не работает с формами, созданными в SharePoint Designer (которые вы создали сами). Измените формы, созданные по умолчанию.
Чтобы получить поле:
SPUtility.GetSPField('Название').SetValue('Hello world!');
Или
SPUtility.GetSPFieldByInternalName('Title').SetValue('Hello world!');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants