Search the Community
Showing results for tags 'webservice'.
-
I am trying to add step to my HTA file, an extra OU value if Windows 8 checkbox is checked (OU=Windows8,) in front of the OU path that gets outputted (OUName). Currently my drop down contains the following: td colspan=1 class="taskTableLeftCell">OU</td> <td class="taskTableSpanSecondAndThirdCell"> <select name="OUName" id="OUName"> <option value="LDAP://OU=Administrative,OU=Workstations,DC=imo-online,DC=com" >Administrative</option> <option value="LDAP://OU=Development,OU=Workstations,DC=imo-online,DC=com" >Development</option> <option value="LDAP://OU=External,OU=Workstations,DC=imo-online,DC=com" >External</option> <option value="LDAP://OU=IT,OU=Workstations,DC=imo-online,DC=com">IT</option> <option value="LDAP://OU=Restricted,OU=Workstations,DC=imo-online,DC=com">Restricted</option> <option value="LDAP://OU=Sales,OU=Workstations,DC=imo-online,DC=com" >Sales</option> <option value="LDAP://OU=Service_Computers,OU=Workstations,DC=imo-online,DC=com" >Service Computers</option> </select> My checkbox says the following <input type>"checkbox" id="mycheck" value"OU=Win8,"/> Then I have my Java saying: function Win8() { var x=document.getElementById("myCheck").value; document.getElementsById("Win8").innerhtml=x; } The other java code is below which adds these 2 ou values together: var OUDrop = document.getelementById("OUName") + document.getElementById("Win8"); When I try to run this and proceed in my script I get an answer- Unable to get property 'undefined' of undefined or null reference. Not sure what I am doing wrong.
-
I think I made an improper change in my customsettings.ini file and now my computers wont join the domain in the deployment. Where is the settings that joins the pc to the default container Computers OU located? My custom settings.ini file is below. I think my problem lies in the change computername step... [Settings] Priority=Default Properties=MyCustomProperty ; ; You can put this file in the root of MDTFiles instead of MDTSettings (quicker to update everything) ; The Webservice is running on our SCCM server ; ; to learn about how to setup Webservices see ; http://www.windows-noob.com/forums/index.php?/forum/98-frontends-and-web-services/ ; ; windows-noob.com (c) January 2013 [Default] OSInstall=Y SkipAppsOnUpgrade=YES SkipCapture=YES SkipAdminPassword=NO SkipProductKey=YES Slshare=%Deployroot%\Logs [ChangeComputerName] ;WebService=http://v-sccm2012/frontend/ad.asmx/GenerateComputerName ;Parameters=dnsDomain,prefix,uuid,MachineObjectOU ;dnsDomain=server2008.lab.local ;prefix=XXX ;uuid=0BFAAD85-B99D-426E-B338-9A4DE5F9DAAD ;OSDComputerName=String ;OSDDomainOU=String [GetSCCMAssignedSite] WebService=http://v-sccm2012/frontend/ad.asmx/GetSCCMAssignedSite AssignedSite=string [GetSiteServer] WebService=http://v-sccm2012/frontend/ad.asmx/GetSCCMSiteServer Parameters=siteCode [helloworld] WebService=http://v-sccm2012/frontend/service1.asmx/HelloWorld [helloworld3] WebService=http://v-sccm2012/frontend/service1.asmx/HelloWorld3 Parameters=name,age [IsComputerKnown] WebService=http://v-sccm2012/frontend/sccm.asmx/IsComputerKnown Parameters=MacAddress,UUID,SiteCode [GetResourceID] WebService=http://v-sccm2012/frontend/sccm.asmx/GetResourceID Parameters=MacAddress,UUID,SiteCode [GetComputerName] WebService=http://v-sccm2012/frontend/sccm.asmx/GetComputerName Parameters=MacAddress,UUID,SiteCode [SearchComputerByName] WebService=http://v-sccm2012/frontend/sccm.asmx/SearchComputerByName Parameters=SearchString,SiteCode [AddComputerAssociationByID] WebService=http://v-sccm2012/frontend/sccm.asmx/AddComputerAssociationByID Parameters=ReferenceComputerResourceId,DestinationComputerResourceId,SiteCode