-
Notifications
You must be signed in to change notification settings - Fork 4
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
sp.search.js and search.clientcontrols.js missing #7
Comments
Hi @SPWizard01, No any particular reason. const jsomSettings: IJsomNodeSettings = {
modules: [ 'search' ]
};
new JsomNode(jsomSettings).init(authOptions); |
something got messed up :D i will investigate, oh and by the way "search" type is missing, typescript will complain :) |
He he, was over optimistic to expect it works so easy. |
ok, so i got it to work partially, without search.clientcontrols.js Line 162 in 1b243f6
had to add this: registerNamespace('Microsoft.SharePoint.Client.Search'); registerNamespace('Microsoft.Office.Server.Search');
now if i add:
so i wonder how its possible because it should be available from: sp-jsom-node/jsom/spo/sp.init.debug.js Line 1303 in 1b243f6
|
and if we add sp.init.js to dependencies it fails here: sp-jsom-node/jsom/spo/sp.init.debug.js Line 1401 in 1b243f6
|
I was managed to make it work. Please check just published v2.1.1 |
i think you are right, this one is only for UI interactions(or so it looks), at least my use case is working without it, bad assumption from my side then :) |
So I likely remove search.clientcontrols.js in the next version. Also considering it's only for UI part. |
is there any specific reason this is missing?
my use case is to import search configuration.
The text was updated successfully, but these errors were encountered: