Copy command looses default values
Hi,
I have got a problem with the COPY command. I just want to copy the data in a very fast way to copy from one remote database to another one. I suggested that it would be the fastest way to use the copy command.
insert into (select * from dblink) has been to slow
The problem is that the copy command with REPLACE replaces the table, drops the indexes, trigger AND the default values!!!!!!
Is there a possibility to solve this problem? Or is there another way to load the data in a very, very fast way?
Thank you very much
Henrik Rünger
Consultant | OCP
ckc ag | www.ckc.de
It sounds like the destination table already exists. What about doing
a DELETE to clean up the destination table and then using COPY INSERT?
COPY may or may not be fast depending on a range of things. With
COPY, all the data gets moved across the network from the source DB to
SQL*Plus and then across the network again to the destination DB.
What about export/import or the new 10g "datapump"? See
http://otn.oracle.com/obe/obe10gdb/integrate/datapump/datapump.htm
-- CJ
Similar Messages
-
How to set default values with parameter ID EVO
Hi I need to set price adoption as ''do not copy'' in purchasing default values for buyer(OMFI) and need to assign this default value to the user using the EVO parameter.
I can not see the parameter ID in dropdown list in maintain user screen.
Can any one help me in this regard?
Thank you,Just addition to Charlie's suggestion, make sure that you put the same value as used while creating parameter ID. if EVO key is created with Z1 and you put z1 then it wont work, you must put the same value Z1.
Regards
Arif Mansuri -
How can I change the default value of a command ?
I want to be able to change the default value of a comand when the vi
is running. (I know how to do that with a right click when the vi is
not running).
In fact I would like the user of the vi to be able to choose a new default value for a command.
How can I do that ?You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
Try to take over the world! -
How to set default value on IT 9016 - (Copy of IT0016)
Hi,
For a particular business requirement, I've copied Infotype 0016 to 9016.
Now I wanted to set some default values for the values like probationary period, KDGFR and KDGF2.
Regarding the infotype 0016, I've set the default values using the Tcode PE03 and CONTR.
since this a custom infotype, Is there anyway to set the default values?
Presently I set the default values by hardcoding in the module program since it is custom one.
Thanks in advance.
Regards
Narasingam. BHi Bala,
Yes you can set via dynamic action. See below line entry in dynamic action for calling custom infotype after IT2001 and AWART field value from IT2001 should store in ZAWART field in custom infotype IT9331
2001 06 78 ***CALL 9331 & 9361 FOR RU ***
2001 06 80 P T001P-MOLGA='33'
2001 06 82 P PSPAR-TCLAS='A'
2001 06 84 I COP,9331,,,(P2001-BEGDA),(P2001-ENDDA)
2001 06 85 W RP50D-FLAG1='X'
2001 06 86 W P9331-BEGDA=P2001-BEGDA
2001 06 88 W P9331-ENDDA=P2001-ENDDA
2001 06 90 W P9331-ZAWART=P2001-AWART
Hope this will help.
Regards,
Purnima -
Hi Team,
Am using BULK INSERT Format file option to load data into table from .txt file here am facing an issue i.e ibased on input file i need to insert default values to some columns of table so we can not declare it on table level, Can we give default values in
format file ? if we can give how it is ? or Any alternate possibilities to this scenario instead of BULK INSERT ?
Thanks,
SudhakarThanks for your response, here i don't have any rights to change table structure the table is created by different team, my work is to load data from file to table. Is there any chance to supply default values by*XML* format file instead of *.fmt* file
please let me know the possibility.
Again, no. If you want to supply default values that are not present in DEFAULT constraints in the table definition, you will need to write your own code. There are plentyfull of options, and I have mentioned some already.
Here are some more:
* Table-valued parameters, see here for examples:
http://www.sommarskog.se/arrays-in-sql-2008.html
* Use BULK INSERT to load data to a staging table, and then apply the default values when you copy from staging to target.
Erland Sommarskog, SQL Server MVP, [email protected] -
PDK Java Portlet looses edit default values everytime I redeploy EAR
Hello All,
I have a PDK Java portlet (Portal - Oracle 10g). It works as expected perfectly till I redeploy my EAR. As soon as I redeploy EAR, it looses the settings that user had set using edit defaults link. Is there anyway to prevent this? Application runs on OC4J server.
I urgently need solution to this problem and any help would be greatly appreciated.
Thanks,
KinnareeJust to be sure, you are registering the PDK producer with a WebCenter portal?
Or are you just using the PDK provider in an oracle portal environment and you don't use webcenter?
If you are using webcenter, can you also test this behavior in Oracle portal? Do you also loose the values in oracle portal or is it just in webcenter? This way we can see if it's a webcenter or portlet issue.
If you loose the values on both the oracle portal and webcenter side, than it has something to do with the portlet. If they are working correctly in oracle portal, than it might be a bug in the PDK bridge in Webcenter.
Edited by: Yannick Ongena on Jun 23, 2011 11:14 AM -
How to make New Folder command available as No as the default value for document libraries
Hi, is there a way to make this option as No as the default value instead of Yes, for all new document libraries? Perhaps with a powershell command for an entire site collection?
Hi Cartin,
I would suggest to create a library template of an empty library with this settings as NO. Use this template for creating new libraries.
For updating existing libraries you can use:
$Site = Get-SPSite http://Site
$ListName = "library Name"
$Site | Get-SPWeb | ForEach-Object {
$List = $_.Lists[$listName]
$List.EnableFolderCreation = $false
$List.Update()
$Site.Dispose()
You can modify the above script for you need. -
How to use copy default values for material from vendor master in Account Group
Dear all:
In define AccountGroup for vendor ,there is a field named DURAS which means default values,who can tell me how to use it?
Any informations are appreciated!Hi Katherine,
I have tried using default value as B in the customizing
If i maintain default values in the vendor master record, it will automatically adopt in the purchase info record.
Here i tried using sales person & telephone no field in vendor master record & it automatically adopts to purchase info record.
Region sales person and telephone no i have maintained in vendor master record, it automatically fetches to info record for the particular account group. I am not sure if there is any relation between vendor master and material master record.
Regards
Subbu. -
Hi All,
I am new to Siebel and installed Siebel 8.1.1.11 on RHEL 5.5 (64 bit). Everything is fine Siebel server and gateway server are up and running but i am unable to open login page.
Login Error : The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[15:36:09]
Siebel Server log file error :
GenericLog
GenericError
1
00006c5c52eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6352eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6452eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6552eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6652eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c7152eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c8052eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c8152eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c9052eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c9152eb6e6f:0
2014-01-31 13:06:04
(sccitems.cpp (310) err=2555932 sys=0) SBL-SCM-00028: Key not found
GenericLog
GenericError
1
00006c9152eb6e6f:0
2014-01-31 13:06:04
(sccconfg.cpp (2149) err=2555932 sys=0) SBL-SCM-00028: Key not found
I can connect to Siebel Server manager using command as : srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
ODBC connectivity is also ok and i can connect as : ./odbcsql /source Sieb81_DSN /u SADMIN /p SADMIN
While installing Siebel i had left one step i .e.. creation of siebenv.sh using CreateSiebSrvrEnvScript because i got error when executed this script as :
Execution command : ./CreateSiebSrvrEnvScript /u01/siebel/ses/siebsrvr 192.168.0.163:2320 ENU Oracle
Error : cp: cannot copy a directory, '/u01/siebel/ses/siebsrvr/locale/' , into itself , '/u01/siebel/ses/siebersrvr/locale/C/locale'
Please suggest me what to do because if i want to configure again the same issue with CreateSiebSrvrEnvScript.
Message was edited by: Prabhakar2991Hi Prameela,
You can see all application objects are online and running. One more thing I have also checked ODBC is also working fine. I mean , user SADMIN can connect using ODBC.
=====================================================================================================================================
[oracle@siebel163 siebsrvr]$ srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
Siebel Enterprise Applications Siebel Server Manager, Version 8.1.1.11 [23030] LANG_INDEPENDENT
Copyright (c) 1994-2012, Oracle. All rights reserved.
The Programs (which include both the software and documentation) contain
proprietary information; they are provided under a license agreement containing
restrictions on use and disclosure and are also protected by copyright, patent,
and other intellectual and industrial property laws. Reverse engineering,
disassembly, or decompilation of the Programs, except to the extent required to
obtain interoperability with other independently created software or as specified
by law, is prohibited.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of
Oracle Corporation and/or its affiliates. Other names may be trademarks
of their respective owners.
If you have received this software in error, please notify Oracle Corporation
immediately at 1.800.ORACLE1.
Type "help" for list of commands, "help <topic>" for detailed help
Connected to 1 server(s) out of a total of 1 server(s) in the enterprise
srvrmgr> list components
SV_NAME CC_ALIAS CC_NAME CT_ALIAS CG_AL IAS CC_RUNMODE CP_DISP_RUN_STATE CP_STARTMODE CP_NUM_RUN_TASKS CP_MAX_TASKS CP_ACTV_MTS_PROCS CP_MAX _MTS_PROCS CP_START_TIME CP_END_TIME CC_INCARN_NO CC_DESC_TEXT
siebelsrvr BusIntBatchMgr Business Integration Batch Manager BusSvcMgr EAI Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr BusIntMgr Business Integration Manager BusSvcMgr EAI Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr SCCObjMgr_enu Call Center Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr CustomAppObjMgr_enu Custom Application Object Manager (ENU) CustomAppObjMgr EAI Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr DQMgr Data Quality Manager Dqmgr DataQ ual Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr EAIObjMgr_enu EAI Object Manager (ENU) EAIObjMgr EAI Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr InfraEAIOutbound EAI Outbound Server BusSvcMgr EAI Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr EIM Enterprise Integration Mgr EIM EAI Batch Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr FSMSrvr File System Manager FSMSrvr Syste mAux Batch Online Auto 0 20 1 1 2014-01-29 02:48:25
siebelsrvr GenTrig Generate Triggers GenTrig Workf low Batch Online Auto 0 1 2014-01-29 02:48:30
siebelsrvr JMSReceiver JMS Receiver EAIJMSRcvr EAI Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr MqSeriesAMIRcvr MQSeries AMI Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr MqSeriesSrvRcvr MQSeries Server Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr MSMQRcvr MSMQ Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr SMQReceiver SMQ Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr SServiceObjMgr_enu Self Service Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr ServerMgr Server Manager ServerMgr Syste m Interactive Running Auto 2 20 2014-01-29 02:48:20
siebelsrvr SRBroker Server Request Broker ReqBroker Syste m Interactive Running Auto 25 100 1 1 2014-01-29 02:48:20
siebelsrvr SRProc Server Request Processor SRProc Syste mAux Interactive Running Auto 2 20 1 1 2014-01-29 02:48:25
siebelsrvr SvrTblCleanup Server Tables Cleanup BusSvcMgr Syste mAux Background Running Auto 1 1 2014-01-29 02:48:25
siebelsrvr SvrTaskPersist Server Task Persistance BusSvcMgr Syste mAux Background Running Auto 1 1 2014-01-29 02:48:25
siebelsrvr AdminNotify Siebel Administrator Notification Component AdminNotify Syste mAux Batch Online Auto 0 10 1 1 2014-01-29 02:48:25
siebelsrvr SCBroker Siebel Connection Broker SCBroker Syste m Background Running Auto 1 1 2014-01-29 02:48:20
siebelsrvr WorkActn Workflow Action Agent WorkActn Workf low Background Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr WorkMon Workflow Monitor Agent WorkMon Workf low Background Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr WfProcBatchMgr Workflow Process Batch Manager BusSvcMgr Workf low Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr WfProcMgr Workflow Process Manager BusSvcMgr Workf low Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr WfRecvMgr Workflow Recovery Manager BusSvcMgr Workf low Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eChannelCMEObjMgr_enu eChannel Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCommunicationsObjMgr_enu eCommunications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCommWirelessObjMgr_enu eCommunications for Wireless Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCustomerCMEObjMgr_enu eCustomer Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eEnergyObjMgr_enu eEnergy Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eMediaObjMgr_enu eMedia Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eEnergyOGCObjMgr_enu eOil Gas & Chemicals Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eSalesCMEObjMgr_enu eSales Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eServiceObjMgr_enu eService Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
37 rows returned.
srvrmgr>
=======================================================================================================================================
Please suggest me what to do.
Thanks
Prabhakar -
Perl adcfgclone.pl dbTechStack default values...?
Hi!
Our config: DB 10g2.0.2, APPS 11.5.10.2
When we run "perl adcfgclone.pl dbTechStack" then some default values are shown in screen:
Do you want to use a virtual hostname for the target node (y/n)
Target instance is a Real Application Cluster (RAC) instance (y/n)
*Target system utl_file accessible directories list [var/tmpprod]:*
Number of DATA_TOP's on the target system [6]:
...Where are those settings saved and retrieved in runtime? I'd like to change some default values to some new values (i.e. number of data tops to "7", after adding some luns)... Funny, but I couldn't find the source ... of that pattern.
THX
FunkyHsawwan
I hope I'll not disobey some rules...however here it is:
The script adcfgclone.pl calls CloneContext.class. This java code is responsible for creating the Target
Context file. The default values for the prompts are read from CTXORIG.xml (a
copy of the Source context file). There are some exceptions to this, one of
them being the "number of DATA_TOPs". This default value derives from the
number of "s_dbhome" variables in
+$ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml. This file is generated+
on the Source system by adpreclone.pl, and copied to the Target system during
the copy phase.
As you have uploaded your addbhomsrc.xml and it is not working as specified above indicates you may be hitting a bug.
Your default value appears to equate to "number of "s_dbhome" variables in addbhomsrc.xml 1".+
+This matches an issue reported in Bug 5345502, where an additional variable+
+added for 10g was being counted in addition to the s_dbhome variables, making+
+the default number 1 more than the source. This was fixed for both 11i and R12+
+in :-+
+- CloneContext.java 115.204+
+- CloneContext.java 120.31+
+As the AutoConfig/RapidClone code is collected from the Applications Tier into+
+appsutil.zip, please check the following version on your Applications Tier:-+
+- $JAVA_TOP/oracle/apps/ad/context/CloneContext.class+
+If the version is < 115.204, then you need to apply the latest RapidClone patch:+
+6718351 : 11i RAPIDCLONE CONSOLIDATED FIXES JUL/2008+
+This will deliver CloneContext.java 115.223+
+Please also check the version(s) on your Database Tier:-+
+- $ORACLE_HOME/appsutil/java/oracle/apps/ad/context/CloneContext.class+
+There is also another version on your Database Tier which is copied by adpreclone.pl+
+into the Clone stage area, so we need to confirm that version:-+
+- $ORACLE_HOME/appsutil/clone/jlib/java/oracle/apps/ad/context/CloneContext.class+
+If the version on the Apps Tier is > 115.204 and does not match those on the Database Tier, or you had to apply the suggested patch 6718351, then you need+
+to recopy the AutoConfig/RapidClone code over to the RDBMS Tier.+
+Recreate appsutil.zip using this command on the Applications Tier:+
+- perl $AD_TOP/bin/admkappsutil.pl+
+Copy the created appsutil.zip to the RDBMS ORACLE_HOME and extract it using "unzip -o" to overwrite the existing+
+code.+
+Once you have the latest version, you will need to rerun the "preparation stages" on your Source system by rerunning adpreclone.pl, so the+
+new code is copied to the clone stage area.+
+You will also need to rerun adpreclone.pl on the Apps Tier.+
+Finally, recopy the instance files to your Target system, and when you configure the Target Database Tier, and are+
+prompted for the "number of DATA_TOPs", you should now see the number match+
+that on the Source system, or more specifically, match the number of "s_dbhome"+
+variables in+
+$ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml.+
Rg,
Damir -
Hello,
In the past (even with W7 Beta), I could create a profile set up to corporate specs, then copy that profile to the Default Profile. The process went something like this:
1 - Set up profile with corporate settings, links, etc.
2 - Create dummy admin account.
3 - Log in to dummy admin account and copy 'set up profile' to the default profile.
4 - Log out of dummy admin and delete the dummy admin account.
At this point any new logins would have the 'corporate profile' as their starting point. With W7 RC1, I am unable to copy any profiles to the default. The 'Copy To' button in 'User Profiles' is grayed out for any dummy admin account I create, as well as for the built-in Administrator account.
How do I go about modifying the default profile? Is there some new 'best practice' regarding W7? Just to be clear, I was able to do this in the Beta, but now am unable to do so in the RC. I'm hoping that there is an alternate method to modify the default user profile as this seems like a serious backstep from the Beta. I hope this isn't 'by design' as it places a serious crimp in our corporate deployment.I posted this in another thread, but I may as well post it here, too.
I was finally able to get sysprep to do what I wanted it to do. I used a combination of scripting and the unattend.xml file to get it done. I'll paste my unattend.xml file (this is for x86 ONLY) and here is what it does (script will be pasted
at the bottom of this response):
1. SkipRearm set to "1" resets the activation timer for Windows when an image is restored to a new PC.
2. The "RunSynchronous" under the "Microsoft-Windows-Deployment component enables the built-in Administrator account (since it is disabled by default).
3. SkipAutoActivation should be self-explanatory.
4. "Copyprofile" set to "True" copies the current profile to the default user profile. When you start Windows up after a fresh reformat, do NOT create a new profile when it prompts you - instead, press control+shift+F3 at this screen to enter "Audit"
mode in sysprep. This will log you into the built-in administrator account where you can do your installations and customizations of all of the software that you'd like. You can reboot as many times as you want since it will stay in audit
mode until you run sysprep with the /oobe switch.
5. Show Windows Live = False is pretty self-explanatory.
6. TimeZone can be set to whatever you want - just make sure you have the correct syntax.
7. DisableFirstRunWizard = True disables that annoying prompt when you first open up Internet Explorer. Even if you choose these settings when you're customizing your default profile, a new user will get prompted with this unless you specify this setting
as "True".
8. Home_Page is pretty obvious. Set this to whatever you want the homepage to be for the default user.
9. The 4 settings that are set to "en-us" specifies that I want to use United States English as the default language.
10. "AutoLogon" will automatically log Windows into the built-in Administrator account after a computer is reimaged, assuming that you have completed #2 on this list (the RunSynchronous command). I did not specify a password, regardless of what the
string value states, so you will have to come up with a password after you reimage if you are going to copy this .xml file line for line.
11. The "OOBE" switches are pretty self-explanatory, but very important. "ProtectYourPC" set to "3" means that automatic updates are disabled since I prefer to manually do the updates after reimaging - and we are running WSUS, so the client will
receive auto updates as soon as it is joined to the domain. The other settings specified here makes it so that the ONLY thing that you'll be prompted for upon starting up Windows for the first time with this particular .xml file is going to be a
computer name. It is possible to specify a computer name in the .xml file, but I did not want to automate the naming process for our work environment.
12. I couldn't consistently get the "StartPanelLinks" to work properly, but it does work.. sometimes. This will place shortcuts in your start menu for you, but I just ended up scripting that. I will get into that script later.
13. The "TaskbarLinks" in my .xml file actually do work, however, it does not remove the 3 default links that are there (IE, WMP, and Windows Explorer) - all this does is simply add Word, Excel, and PowerPoint 2007 to the taskbar shortcuts. I
used a script very similar to what was posted at the top of this thread to further customize the taskbar.
14. Registered Name and Registered Owner needs to be changed to what you want it to be.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>Eastern Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>http://www.yourhomepage.com/</Home_Page>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-us</InputLocale>
<SystemLocale>en-us</SystemLocale>
<UILanguage>en-us</UILanguage>
<UserLocale>en-us</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<StartPanelLinks>
<Link0></Link0>
<Link1></Link1>
<Link2></Link2>
<Link3></Link3>
</StartPanelLinks>
<TaskbarLinks>
<Link0>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Word 2007.lnk</Link0>
<Link1>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Excel 2007.lnk</Link1>
<Link2>%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office PowerPoint 2007.lnk</Link2>
</TaskbarLinks>
<UserAccounts>
<AdministratorPassword>
<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Your Registered Name</RegisteredOrganization>
<RegisteredOwner>Your Registered Owner</RegisteredOwner>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:c:/dvd/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
On top of the .xml file, I placed this .vbs script in the "Startup" folder for the default user. During "Audit" mode, place this script in the Startup folder of the built-in Admin account if you plan on using the "CopyProfile=True" setting,
but just make sure you do not run the script before the profile is copied to the default profile - otherwise it will have already deleted itself. The nice thing about this script is that it deletes itself after the first time a user logs on, but
it is recreated every time a new user creates an account. The user is totally unaware that a script is being run.
In this example, I have it set to unpin Windows Media Player from the taskbar. I wanted to keep IE and Windows Explorer there, so I didn't touch those shortcuts. I also have the script set to pin Word, Excel, and PowerPoint 2007, as well as GroupWise
to the taskbar. The same shortcuts are pinned to the Start Menu in this example. You should be able to figure out how to customize it yourself for any shortcuts that you may want. I do not take full credit for this script. I'm
not even a programmer - I just picked up bits and pieces from other forums.
One thing to take note - even if you specify Taskbar shortcuts or StartMenu shortcuts in your .xml file, this script will not duplicate those shortcuts. This script will check to see if those shortcuts are already there, and if they aren't, it
will create them for you.
Option Explicit
Const CSIDL_COMMON_PROGRAMS = &H17
Const CSIDL_PROGRAMS = &H2
Const CSIDL_STARTMENU = &HB
Dim objShell, objFSO
Dim objCurrentUserStartFolder
Dim strCurrentUserStartFolderPath
Dim objAllUsersProgramsFolder
Dim strAllUsersProgramsPath
Dim objFolder
Dim objFolderItem
Dim colVerbs
Dim objVerb
Set objShell = CreateObject("Shell.Application")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objCurrentUserStartFolder = objShell.NameSpace (CSIDL_STARTMENU)
strCurrentUserStartFolderPath = objCurrentUserStartFolder.Self.Path
Set objAllUsersProgramsFolder = objShell.NameSpace(CSIDL_COMMON_PROGRAMS)
strAllUsersProgramsPath = objAllUsersProgramsFolder.Self.Path
' - Remove pinned items -
'Windows Media Player
If objFSO.FileExists(strAllUsersProgramsPath & "\Windows Media Player.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath)
Set objFolderItem = objFolder.ParseName("Windows Media Player.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Unpin from Taskbar" Then objVerb.DoIt
Next
End If
' - Pin to Taskbar -
'Word 2007
If objFSO.FileExists(strAllUsersProgramsPath & "\Microsoft Office\Microsoft Office Word 2007.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Microsoft Office")
Set objFolderItem = objFolder.ParseName("Microsoft Office Word 2007.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Taskbar" Then objVerb.DoIt
Next
End If
'Excel 2007
If objFSO.FileExists(strAllUsersProgramsPath & "\Microsoft Office\Microsoft Office Excel 2007.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Microsoft Office")
Set objFolderItem = objFolder.ParseName("Microsoft Office Excel 2007.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Taskbar" Then objVerb.DoIt
Next
End If
'PowerPoint 2007
If objFSO.FileExists(strAllUsersProgramsPath & "\Microsoft Office\Microsoft Office PowerPoint 2007.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Microsoft Office")
Set objFolderItem = objFolder.ParseName("Microsoft Office PowerPoint 2007.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Taskbar" Then objVerb.DoIt
Next
End If
'GroupWise
If objFSO.FileExists(strAllUsersProgramsPath & "\Novell GroupWise\GroupWise.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Novell GroupWise")
Set objFolderItem = objFolder.ParseName("GroupWise.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Taskbar" Then objVerb.DoIt
Next
End If
' - Pin to Start Menu -
'GroupWise
If objFSO.FileExists(strAllUsersProgramsPath & "\Novell GroupWise\GroupWise.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Novell GroupWise")
Set objFolderItem = objFolder.ParseName("GroupWise.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next
End If
'Word 2007
If objFSO.FileExists(strAllUsersProgramsPath & "\Microsoft Office\Microsoft Office Word 2007.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Microsoft Office")
Set objFolderItem = objFolder.ParseName("Microsoft Office Word 2007.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next
End If
'Excel 2007
If objFSO.FileExists(strAllUsersProgramsPath & "\Microsoft Office\Microsoft Office Excel 2007.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Microsoft Office")
Set objFolderItem = objFolder.ParseName("Microsoft Office Excel 2007.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next
End If
'PowerPoint 2007
If objFSO.FileExists(strAllUsersProgramsPath & "\Microsoft Office\Microsoft Office PowerPoint 2007.lnk") Then
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Microsoft Office")
Set objFolderItem = objFolder.ParseName("Microsoft Office PowerPoint 2007.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next
End If
'Delete the script
DeleteSelf
Sub DeleteSelf()
Dim objFSO
'Create a File System Object
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Delete the currently executing script
objFSO.DeleteFile WScript.ScriptFullName
Set objFSO = Nothing
End Sub -
I recently ported my project to a new PC. Everything seems to run fine uncompiled, and I am able to build an executable without issue. However, my build specification shows up in the project explorer with question mark next to it. When I try to build again or edit the properties I get a popup with the information below:
Error 7 occurred at Get LV Class Default Value.vi
Possible reason(s):
LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
=========================
NI-488: Nonexistent GPIB interface.
Complete call chain:
Get LV Class Default Value.vi
AB_UI_Initialize_Framework.vi
AB_UI_FRAMEWORK.vi
AB_Item_OnDoProperties.vi
AB_Item_OnDoProperties.vi.ProxyCaller
LabVIEW attempted to load the class at this path:
<Empty Path>
I've seen messages from people getting the same error when trying to run a compiled executable, but mine actually runs fine. I am just unable to open the build specification to rebuild or edit its properties.This application is for a Windows machine, and I am not using the Report Generation Toolkit. However, I shut down my computer last night and when I booted it up this morning my Build Specification now opens fine and I am able to edit it. My only thought as to why it occured in the first place is that I had added several files to user.lib and instr.lib and restarted LabVIEW, but it appears that it required my computer to be restarted as well.
-
I have a program written which uses the print report function. Everything works fine in the uncompiled code, my report prints just fine. I can compile my project all the way to a full installer. When I run the executable I get the error:
Error 7 occurred at Get LV Class Default Value.vi
With the following text:
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Non-existent board.
Complete call chain:
Get LV Class Default Value.vi
NI_report.lvclass:New Report.vi
print report.vi
EMS V3.0 streamline.vi
LabVIEW attempted to load the class at this path:
H:\InMotion\EMS\builds\EMS_01\Emissions Analyzer\EMS.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass
"EMS V3.0 streamline.vi" is my main vi, "print report.vi" is the subvi that creates and prints the report based on all the information sent to it. I get no warning when I compile this to an executable. I already tried repairing both LV SP1 and the report generator toolkit. No change after I compile to an exe.
Any help would be appreciated. Thanks.
Garrett HerningOk, I tried that... and now I get an error when I try to compile to an executable... This is right at the end of the build and will not let me build an executable.
Error:
An error has occurred. Expand the Details section for more information.
Details:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 7 occurred at Invoke Node in AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Non-existent board.
Method Name: Linker:Write Info To File -
How to set default value in Profit Center field of Tcode F-02.
Hi!
Is it possible to set a default value for 'Profit Center' field in t.code F-02? Is there a way wherein the value will be copied in reference to the entered Business Area?
For example, if during parking/posting of document, user input a value of 300 in the Business Area field, the system will automatically put 300 in the Profit Center field. Is there a way to do this?
Hoping for your feedback.
Thanks,
AprilHi
Using the substitution this can be achieved.
TC:GGB1
Step-1: Prerequiste select the Company code for which this requirement is needed
Step-2: In Substitution field, select the the "Profit center" field on selection of the field - system'll asks you - How would you like to substfield BSEG-PRCTR ? with the 3 options
i.constant value
ii.exit
iii.Field-Field assignment
Select the 3rd option on selecting 3rd option before going to save that substitution it'll ask you to input which field should input the field BSEG-GSBER:Business area
Step-3: activate the above substitution in TC:OBBH
With the above settings whenever any value inputs in Business are field then the same value will be substituted in the Profit center field.
Note: Make sure in all FSG - business area & profit center having the field status optional
Can you tell me onething why this requirement has came ? Is business area and profit center are same in number and prupose
regards
Ramana
Edited by: Ramana on Jan 8, 2008 9:33 AM -
How to include a default value in Dynamic cascading prompt from 2nd Level.
Hi,
I use Command Object in 'Datbase Expert' to create 'Custom Tables' and use these tables to fetch LoVs. I use Dynamic Cascading Prompts in the reports. I have a peculiar requirement using DCP.
There are Four Levels as in the Example:
Continent
Country
State
City
In the Custom Table, requirement is to create an additinal row with '' that represents 'All Values selected' for that level starting from second. and The default selection should be '' . I defined that '*' means 'All Vales Selected in the report' This si not a problem. But the problem how to show a default value in a Dynamic Cascading Prompt i.e. how we can make sure in an default value can be selected in DCP from Second Level?
how can the examples 1,2,3 can be achieved detaisled below beacsuse we need to show a default value in Casacading Propmt
Eg of Schedules with DCP:
Schedule 1
Continent: Europe
Country: *
State: *
City: *
Schedule2:
Continent: Europe
Country: England
State: *
City: *
Schedule 3:
Continent: Europe
Country: England
State: Greater London
City: *
Schedule 4:
Continent: Europe
Country: England
State: Greater London
City: City of londonYou won't be able to have a true "default" value in the various cascading levels, since there aren't default values in a dynamic cascading parameter. That being said, I've created a sample report in Crystal Reports 2008 that has a Command-driven DCP with '*' values for the 2nd and 3rd levels of my 3-tier DCP and have accounted for them in the record selection criteria. You can find the sample here at https://www.box.net/shared/mav5qp337j
Maybe you are looking for
-
Default Value in a DFF is not getting populated in Self Service Page
I had an issue in Self Service Page. In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement. But this field is not getting populated with the default values. But this is working fine i
-
Open .swf in full-screen browser window?
Hi there! I would appreciate if someone could help me with this: I have a .swf that I embed in an .html file. When loaded, the html file opens up in a window with the application taking up only 50% of the window. I'd like to have the application open
-
Finder questions (changing file icons, moving files, home/e)
Hello all! I got my 17" Intel iMac just two days ago. Gorgeous machine, feeling very comfortable. I switched from Linux and there are a few things I can't figure out on my own, I'd appreciate if someone anmswers these simple questions. 1. How can I c
-
SAP XI 3.0 Same source for different target in std Value mapping function
Hi, We have replicated 4 value mapping entries from R3 to XI having the same Context , Agency , Schema and value for source, but each of the 4 values has the same Context and Agency but different Schema and Value respectively. To illusstate : Source
-
Where to maintain dollar rates in MM?
where to maintain dollar rates in MM?Plz guide.as new to SAP -MM. Thanks in advance