Request for responses with multi-Select fast
HelloHoping someone can help - I need to create a prompt in a request for answers to allow users to choose a customer - I need this to be similar to a multiple selection in a dashboard command prompt so that the user can type begins by and find the customer what they want. Currently, the only options of answers is to scroll through the entire list or type the value directly. The application is simply posted as a link on a page of dashboard - I'd rather not have to create another page of dashboard if possible.
I would be grateful for any ideas.
With our thanks,
Patricia
Patricia, you try to do this more difficult it must be. Of after what you say, just use value Interaction > Browse the report which lists all the names "begins with Pat. Put "is invited" on the name of the destination report cust column and it will give you the "last step" you are looking for.
P.S. a lot of useful tips in this thread. It would be nice to price messages with points.
Tags: Business Intelligence
Similar Questions
-
JDBC Oracle driver change requests for users with "rowid"?
Hello
I work with an IBM Java product that uses Oracle JDBC version 9.2.0.3.0 for Oracle DB connectivity (from file ojdbc14.jar is).
The IBM product running an Oracle view called V_NGSM_GET_NEID which is used for elements of research network names in the Oracle
DB and return the partners '' code of assets '' if the node is found.
The problem is for all a single query sent I see two queries by using a packet sniffer. See below. The first query I see on the network
a the string "rowid," prefix (107 package 0x9b offset) to the list in the column specified in my policy. But the first request fails with
the following error (112 package)
ORA-01446: cannot select ROWID from view DISTINCT, GROUP BY, etc +
After the above error is returned, I see immediately the same request sent again, this time without "rowid", prefix (113 package offset 0 x 94)
This same behavior occurs for each query, each time which results in twice the number of queries required and is a big problem.
Support IBM claims it's the JDBC Oracle driver, not their code, adding "rowid", at the request and return it
less "rowid", if it fails.
Does make sense to anyone? I can't imagine that Oracle would distribute such a driver.
Comments? Thoughts?
Below are the packets captured using Solaris/snoop. The number is package on the extreme left (e.g., 107-117).
------
107 0.00121 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq = Len 3275308205 = 193 Win 49640 = 3897618122
0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
16: 00e9 2440 4000 4006 0000 cfe5 1503 8eb2... $@. @...
32: 20 dB f5a1 c339 3cad e850 eeca 5018 a231... ¢ 1.9 <... PI.p.
48: 9551 0000 1 0000 0600 0000 0000 00C c1e8... Q............
64: 1169 0001 0101 0103 0002 8021 0001 035F. i... ^... ! ...
80:0183 00 0000 0004 7fff ffff 0000 0101 0D...
96: 0000 0000 0073 656 c 6563 7420 726f 7769. . Select rowi
112: 642 204th c 4554 574f 524bis 5f45 45 4 c 4 d 45 d, NETWORK_ELEME
128: 204th 442c 4554 524bis 5f45 NT_ID, NETWORK_E 574f 5f49 4e54
144: 45 4 c 4 d 45 4e54 5f4e 414d 4520 4652 4f4d LEMENT_NAME OF
160: 204th 4753 4 d 55 5345 522e 2256 5f4e 4753 NGSMUSER. "V_NGS
"176: 4d5f 4745 545f 4944 2220 5748 4552 M_GET_NEID 4e45" WHER
192:4520 4e45 5457 454d 454 454c NETWORK_ELEMEN E 4b5f of the 4f52
208: 545f 4e41 4 d 45 203d 2027 4544 544th 4142 T_NAME = ' EDTNAB
224: 4453 4 C 41 4 30 3327 0101 0000 0000 0000 DSLAM03 D '...
240: 0101 0000 0000 00...
108 0.01144 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308398 = Len 3897618122 = Win 11 = 32850
0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
16: 0033 2764 0000 3706 c7eb 8eb2 cfe5 20db. 3 would be... 7..... ...
32: 1503 a231 f5a1 e850 eeca c339 5018 3d6e... ¢1.¡. PI... 9 = nP.
48: 8052 1 d 57 0000 000 b 0000 00 0000 0100 0c. R.W............
64: 01.
109 0,00000 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308398 = Len 3897618133 = Win 11 = 32850
0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
16: 0033 2765 0000 3706 c7ea 8eb2 cfe5 20db. 3' e... 7..... ...
32: 1503 a231 f5a1 e850 eed5 c339 5018 3d6e... ¢1.¡. PI... 9 = nP.
48: 8052 1c4c 000 0000 0000 00 0000 0100 0c b. R.L............
64: 02.
110 0,00008 ab9imdev01-> 142.178.32.219 TCP D = 41521 S = 62881 Ack = 3897618144 Seq = 3275308398, Len = 0 Win = 49640
0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
16: 0028 2441 4000 4006 0000 cfe5 1503 8eb2. ($A@.@.........
32: 20 dB f5a1 a231 c339 3d6e e850 eee0 5010... ¢ 1.9 = n. Pi. P
48: 9490 0000 c1e8...
111 0,00019 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq 3897618144 Len 3275308398 = Win 49640 = 11 =
0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
16: 0033 2442 4000 4006 0000 cfe5 1503 $8eb2.3 B @. @...
32: 20 dB f5a1 c339 3d6e e850 eee0 5018 a231... ¢ 1.9 = n. Pi. P
48: c1e8 b 949 000 0000 0000 00 0000 0100 0c b... \233...
64: 02.
112 0.00870 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308409 = Len 3897618144 = 111 Win = 32850
0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
16: 0097 2766 0000 3706 c785 20db cfe5 8eb2... " f.. 7..... ...
32: 1503 a231 f5a1 e850 eee0 c339 79 5018 3d... ¢1.¡. PI... 9 = yP.
48: 8052 7b 48 0000 0000 0600 0000 0000 006f. R{H...o........
64:0400 0205 a600 0001 0301 0700 0001 2000...
80: 0000 0000 0000 0000 0000 0001 0147 4f52... GOR
96: 412d 3031 3434 363 2063 616e 7420 A - 01446 6e6f a: cannot
112: 7365 6 c 65 6374 2052 4944 2066 726f 4f57 select ROWID BOF
128: 6 d 20 7669 6577 2077 6974 6820 4449 5354 m seen with DIST
144: 494e 4354 2 c 20 4752 5020 4259 2 c 20 INCT, GROUP BY 4f55,.
0a 632nd 160:6574 etc...
113 0,00037 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq = Len 3275308409 = 179 Win 49640 = 3897618255
0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
16: 00db 2443 4000 4006 0000 cfe5 1503 8eb2... $C @. @...
32: 20 dB f5a1 c339 3d 79 e850 ef4f 5018 a231... ¢ 1.9 = y. P. OP
48: 9543 0000 00b 3 0000 0600 0000 0000 c1e8... C............
64: 0002 8021 0103 0101 7 c 01 010 035F d 0000. ^... ! ....| .....
80: ff00 of ffff 0000 0000 0000 0000 5345 047f... IS
96: 4 c 45 4354 204th 4554 574f 524bis 5f45 4 c 45 READING NETWORK_ELE
112: 4 d 45 4e54 5f49 442c 204th 4554 524bis MENT_ID, NETWORK 574f
128: 5f45 45 4 c 4 d 45 4e54 5f4e 4520 4652 ELEMENTNAME EN 414d
144: 204th 4f4d 4753 4 d 55 5345 522e 2256 5f4e OM NGSMUSER. "V_N
4745 545f 4944 2220 5748 GSM_GET_NEID 4e45 4d5f 160:4753"WH
4520 4e45 5457 4f52 4b5f 454c 454d ERA NETWORK_ELEM 176:4552
192: 454 545f 4e41 4 d 45 2027 4544 203d 544th ENT_NAME = ' EDTN
208: 4142 4453 4 C 41 4 30 3327 0101 0000 0000 ABDSLAM03 D '...
224: 0000 0101 0000 0000 00...
114 0.01101 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308588 = Len 3897618255 = 174 Win = 32850
0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
16:00 6 2767 0000 3706 c745 20db cfe5 8eb2 d... " g... 7..E... ...
32: 1503 a231 f5a1 e850 ef4f c339 5018 3e2c... ¢1.¡. P.O.9 >, P.
48: 8052 c84a 0000 0000 0600 0000 0000 00ae. R.J............
64: 3175 787 101d 0000 0003 0000 3ed0 949d c... 1UX|...\235 >...
80: 786d 080d 30 3900 7400 0000 0201 xm ed27 0d... 09.i't...
96: 3401-0243-0200, 0116 0000 0000 0000 0000 4.C...
112:0112 0112 124th 4554 574f 524bis 5f45 4 c 45. . NETWORK_ELE
128: 4 d 45 4e54 4400 0001 8000 0001 1e00 MENT_ID 5f49...
144: 0000 0001 1f01 0114 0114 144F 4554 574f... . NETWO
160: 524bis 5f45 45 4 c 4 d 45 5f4e 4500 RK_ELEMENT_NAME 414d 4e54.
176: 0001 0707 786 d 080d 1024 1508 0104 04a 7... xm... $...
192: d5e0 0791 0103 0000 0004 0000 0000 fa02...
208: 0103 0003 0000 0000 0000 0000 0000 0000...
224: 0000 0101...
115 0.00026 ab9imdev01-> 142.178.32.219 Ack TCP D = 41521 S = 62881 push = Seq = Len 3275308588 = 17 Win 49640 = 3897618429
0: 00 a 0 9193 0014 4f94 0800 4500 884c 8e7e. .~.... ... O L... E.
16: 0039 2444 4000 4006 0000 cfe5 1503 $8eb2.9 D @. @...
32: 20 dB a231 c339 e850 5018 effd 3e2c f5a1... ¢ 1.9 >,. . P. P.
48: c1e8 94a 1 0000 0011 0600 0000 0000 0000... ¡...
64: 0305-0001-0301 0 has...
116 0.10217 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 Ack = 3275308605 Seq = 3897618429, Len = 0 Win = 32850
0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
16: 0028 2768 0000 3706 c7f2 8eb2 cfe5 20db. ('h.. 7..ò... ...
32: 1503 a231 f5a1 e850 effd c339 3e3d 5010... ¢1.¡. P.... 9 > = P.
48: 8052 2973 0000 0000 0000 0000. R)s........
117 0.27052 142.178.32.219-> ab9imdev01 TCP D = 62881 S = 41521 grow Ack = Seq 3275308605 = Len 3897618429 = Win 64 = 32850
0: 0014 4f94 884c 00 a 0 9193 0800 4500 8e7e... ... O L... ~.... E.
16: 0068 2769 0000 3706 c7b1 8eb2 cfe5 20db. h'i... 7..... ...
32: 1503 a231 f5a1 e850 effd c339 5018 3e3d... ¢1.¡. P.... 9 > = P.
48: 8052 d42a 0000 0040 0000 0600 0000 0000. R.*...@........
64:0400 0205 7 b 00 0001 0300 0300 0120 0000... {........ ..
80: 0000 0000 0000 0000 0000 0101 194f 5241... ORA
6e6f 3 a 20 96: 2d 30 3134 3033 2064 6174 6120 - 01403: no data
112: 666f 756 640 has found.Looks like you are saying that the Java source code can control completely if the driver will try to get the ROWID by requested ResultSet settings. Is this true?
I think it should, Yes. I guarantee you that all versions of the driver in all cases would have a parameter that has ignored the attempt to insert of a ROWID. But I strongly suspect that he does not bother if the result set which had been requested was such that the ROWID would not be beneficial.
I expect the pilot to understand the complete Oracle SQL grammar, it can at least add "rowid" in the place in the query
There is a major compromise. It is incredibly difficult to support full SQL grammar correctly. Oracle used to SQL for SQL and PL/SQL engine analyzers and would regularly find bugs where a scanner heard something that does not have the other parser. When you put too much SQL parsing code in the driver, you finish by the two spend more time parsing SQL statements and you end by potentially limiting the set of queries that could be issued to the dialect of SQL that the JDBC driver has been aware of when it was shipped that sucks when you use to connect to a database of the latest drivers.
I suspect (assuming that is not speaking on behalf of the JDBC driver development team) they thought it better to do the simplest thing possible, throwing the ROWID right after SELECT it. If it worked, great. If this is not the case, they encoururent the cost of a round trip and an analysis of the database which is probably at the same level as the cost of the analysis of the SQL locally and then just downgrade the result set. If you ask an editable ResultSet, for example, Oracle is unable to identify a single line, if you specify also SEPARATE in the query. Rather than trying to understand all of the cases where a query generates a result not set editable intrinsically, it is easier and more accurate to try to get a ROWID and downgrade the result set if the addition of a ROWID generates a syntax error.
Of course, the costs and benefits of arbitration depend on the proportion of result sets which requires a feature that is not available with the SQL statements, they deliver some. If you have an application that makes 300 000 queries that have SEPARATE and ask a modifiable and capable of scroll cursor, it would potentially put more logic in the JDBC driver. If you have an application that always brings queries that can be changed using simple algorithm of the driver, the simple algorithm is obviously preferable.
Justin
-
Newbie request for assistance with several drag-and-drop &; multiple targets
I know that this question has been asked a million times, but I get always very well the solution. I know that the solution called for me the use of tables in a part of my code, but I have problems understanding how to implement it. I use Flash CS 5.5 with AS3.
I have a flash drag-and-drop file which is divided into 4 distinct zones on the stage. On each box, there are 7 places, for 7 different "puzzle pieces". The first two spaces on each quadrant have very a very specific order for the correct puzzle pieces, while the 5 additional places on each quadrant also have specific parts, but the order is not important. I have included my code below for reference (note that I have not all instances, finished yet).
Basically, in code that's been created, the following bodies have specific targets with specific command:
D1_1_mc, D1_2_mc, D1_1_mc, D2_2_mc, D3_1_mc, D3_2_mc, D4_1_mc and D4_2_mc.
All other instances, such as D1_3_mc, D2_3_mc, D2_4_mc, etc. have specific quadrants on which they need to fall, but what about the last 5 'spaces' in each quadrant, the order does not matter. I know that I can continue to do what I do, but I would have preferred that the last 5 pieces on each quandrant do not have to be in a specific order.
You can provide any assistance is greatly appreciated!
var startX:Number;
var startY: number;
var counter: Number = 0;
D1_1_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D1_1_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D1_2_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D1_2_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D1_3_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D1_3_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_1_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_1_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_2_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_2_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_3_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_3_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_4_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_4_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D3_1_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D3_1_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D3_2_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D3_2_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D3_3_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D3_3_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D4_1_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D4_1_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D4_2_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D4_2_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D4_3_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D4_3_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D4_4_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D4_4_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
function pickUp(event:MouseEvent):void {}
event.target.startDrag (true);
reply_txt. Text = "";
event.target.parent.addChild (event.target);
startX = event.target.x;
startY = event.target.y;
}
function dropIt(event:MouseEvent):void {}
event.target.stopDrag ();
var myTargetName:String = "target_" + event.target.name;
var myTarget:DisplayObject = getChildByName (myTargetName);
If (event.target.dropTarget! = null & & event.target.dropTarget.parent == myTarget) {}
reply_txt. Text = "Good Job!"
event.target.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
event.target.removeEventListener (MouseEvent.MOUSE_UP, dropIt);
event.target.buttonMode = false;
Event.Target.x = myTarget.x;
Event.Target.y = myTarget.y;
counter ++;
} else {}
reply_txt. Text = "Try Again!";
Event.Target.x = startX;
Event.Target.y = startY;
}
if(Counter == 5) {}
reply_txt. Text = "congratulations, you did!"
}
}
D1_1_mc.buttonMode = true;
D1_2_mc.buttonMode = true;
D1_3_mc.buttonMode = true;
D2_1_mc.buttonMode = true;
D2_2_mc.buttonMode = true;
D2_3_mc.buttonMode = true;
D2_4_mc.buttonMode = true;
D3_1_mc.buttonMode = true;
D3_2_mc.buttonMode = true;
D3_2_mc.buttonMode = true;
D4_1_mc.buttonMode = true;
D4_2_mc.buttonMode = true;
D4_3_mc.buttonMode = true;
D4_4_mc.buttonMode = true;
Since it seems to afew possible gaps in the code you showed, and what I offer myself in response to your questions, I spent a little time get a working model of what I guess you just using the three targets and the fall of four objects. If you want, I can make the file available for you, but for now, here's the code that works...
var startX:Number;
var startY: number;
var counter: Number = 0;target_D2_1_mc.allowed = new Array (D2_1_mc);
target_D2_2_mc.allowed = new Array (D2_2_mc);
target_D2_3_mc.allowed = new Array (D2_3_mc, D2_4_mc);D2_1_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_1_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_2_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_2_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_3_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_3_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);
D2_4_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
D2_4_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);function pickUp(event:MouseEvent):void {}
reply_txt. Text = "Good Luck."
event.target.startDrag (true);
event.target.parent.addChild (event.target);
startX = event.target.x;
startY = event.target.y;
}function dropIt(event:MouseEvent):void {}
event.target.stopDrag ();
If (event.target.dropTarget! = null & MovieClip (event.target.dropTarget.parent).allowed.indexOf (event.target) >-1) {}
reply_txt. Text = "Good Job!"
event.target.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
event.target.removeEventListener (MouseEvent.MOUSE_UP, dropIt);
event.target.buttonMode = false;
Event.Target.x = MovieClip (event.target.dropTarget.parent) .x;
Event.Target.y = there MovieClip (event.target.dropTarget.parent);
counter ++;
} else {}
reply_txt. Text = "Try Again!";
Event.Target.x = startX;
Event.Target.y = startY;
}if(Counter == 5) {}
reply_txt. Text = "congratulations, you did!"
}
}D2_1_mc.buttonMode = true;
D2_2_mc.buttonMode = true;
D2_3_mc.buttonMode = true;
D2_4_mc.buttonMode = true; -
Combining a similar request for responses
Hi all
We strive to create reports using ' * combine similar request *' option, in which we are combining 2 different measures in different fields, but with the common dimension.
Suppose if we have topics below.
Subject to area A
Measure - recipes
Dimension - year
Domain B
Measures - units sold
Dimension - year
In this case, we expect to result as below
Revenue units sold
2008 1234 $10
2007 $345 3
but instead, we get the result as below
Revenue units sold
$2008 1234 0
2008 0 10
2007 345 $0
2007-0-3
I sit possible to get the above result?
Kind regards
FloquetHello..
In any case you do not get two straight lines for each year of law?
According to you, you get nulls for any other measure...
Have you applied aggregation rule > sum for both measures ?
Do it and a report...Thank you & best regards
Kishore Guggilla -
Re: Request for help with Tecra A10-156 (Vista backup media)
Dear members of the Forum
I am the owner of a laptop Toshiba Tecra A10-156. As the owners of this model will be aware, the machine is supplied with Windows Vista pre-installed. Also supplied is a recovery of Windows XP Professional disc, which, once loaded on the machine, remove everything on the hard drive, including the operating system Vista and the Vista hard disk recovery partition.
The documentation that comes with the laptop warns the user if he wants to take the Windows XP program on the computer, it must burn a DVD of backup software vista before you load the XP image because if it loads Windows XP without doing that then he loses everything to do with VISTA on the machine.
Unfortunately, when I bought my machine, I did exactly this error and load Windows XP without backup Vista Software. Load the XP dvd, hard drive was completely wiped out, including not only the Windows Vista installation, but also the recovery partition.Although windows XP is a good operating system, I would like the ability to restore my machine to the factory setting. When I asked what to do with Toshiba, they said that the only way they could help would be to sell me a backup DVD of Vista recovery which would cost me a little money. (more than thirty books).
They also mentioned that if I could find another owner of A10 - 156 using vista would be ready, they could burn a DVD using their recovery from vista machine and then I would be able to use this DVD to do the job.As I know personally of all other owners Tecra A10, I am writing to make a plea to ask if some A10-156 (it takes as the exact model) owner would please that nature to let me have a copy of VISTA backup medium please. Of course, I'd be more than willing to pay a total amount of the Virgin DVD (s) and shipping costs.
If someone is willing or able to help should I very grateful indeed and hope to hear from a fellow A10-156 owner as soon as possible.Yours sincerely
Ian in the United KingdomI hope someone here can help and maybe you should put your e-mail address for direct contact.
-
Request for help with the output of a script
Hello
I need assistance with the output of a script. I have a script that retrieves advanced config of the esx hosts in a cluster and exports to a txt file. Here is the script I use:
$Decimals = 1
$VCServers = @)
$VMSummaries = @)
$InputFile = "VCs.txt".
Read the input file, loop of VCs
Foreach ($VCname in Get-Content $InputFile) {$VCServers += $VCName}
Foreach ($VCServer to $VCServers)
{
$VC = to connect-VIServer $VCServer
$VMhosts = get-VMHost
Foreach ($VMHost to $VMhosts)
{
Write-Progress "Collecting information in $VCServer" 'connecting to host $VMHost' - Id 0
$VMSummary = "" | Select the host name, TCPIPHeapMax, TCPIPHeapSize, HeartbeatTimeout, HeartbeatFrequency, HeartbeatMaxFailures, MaxVolumes
$VMSummary.HostName = $VMHost.Name
$VMSummary.TCPIPHeapMax = (get-VMHostAdvancedConfiguration - VMHost ($VMhost) - name Net.TcpipHeapMax). Values
$VMSummary.TCPIPHeapSize = (get-VMHostAdvancedConfiguration - VMHost ($VMhost) - name Net.TcpipHeapSize). Values
$VMSummary.HeartbeatTimeout = (get-VMHostAdvancedConfiguration - VMHost ($VMhost) - name of NFS. HeartbeatTimeout). Values
$VMSummary.HeartbeatFrequency = (get-VMHostAdvancedConfiguration - VMHost ($VMhost) - name of NFS. HeartbeatFrequency). Values
$VMSummary.HeartbeatMaxFailures = (get-VMHostAdvancedConfiguration - VMHost ($VMhost) - name of NFS. HeartbeatMaxFailures). Values
$VMSummary.MaxVolumes = (get-VMHostAdvancedConfiguration - VMHost ($VMhost) - name of NFS. MaxVolumes). Values
$VMSummaries += $VMSummary
}
}
$OutputFile = "AdvancedNFS.txt".
$VMSummaries | Format-Table | Out-file $OutputFile
This script runs without any problem and generates a text file that looks like this:
TCPIPHeapMax TCPIPHeapSize HeartbeatTimeout HeartbeatFrequency HeartbeatMaxFailures MaxVolumes hostname
-
-
-
-
-
-
-
abcd1 abcd2 abcd3
I am trying to output a csv file and run into a problem where each host values are not displayed correctly. I replaced the last 2 lines in the script as follows:
$OutputFile = "AdvancedNFS.csv".
$VMSummaries | Export-CSV $OutputFile
My output looks like this:
Host name
TCPIPHeapMax
TCPIPHeapSize
HeartbeatTimeout
HeartbeatFrequency
HeartbeatMaxFailures
MaxVolumes
ABCD1
System.Collections.Hashtable + ValueCollection
System.Collections.Hashtable + ValueCollection
System.Collections.Hashtable + ValueCollection
System.Collections.Hashtable + ValueCollection
System.Collections.Hashtable + ValueCollection
System.Collections.Hashtable + ValueCollection
What I am doing wrong?
Thank you
Alex
Hello
You can try changing your script like this:
-Replace "." "With values '-["
'-']. " -Optimize calls to Get-VMHostAdvancedConfiguration
Your code will look like this:
...
Write-Progress "Collecting information in $VCServer" 'connecting to host $VMHost' - Id 0
$VMSummary = "" | Select the host name, TCPIPHeapMax, TCPIPHeapSize, HeartbeatTimeout, HeartbeatFrequency, HeartbeatMaxFailures, MaxVolumes
$VMSummary.HostName = $VMHost.Name
$VMHostAdvancedConfig = get-VMHostAdvancedConfiguration - VMHost $VMHost - name Net.TcpipHeapMax, Net.TcpipHeapSize, NFS. HeartbeatTimeout, NFS. HeartbeatFrequency, NFS. HeartbeatMaxFailures, NFS. MaxVolumes
[$VMSummary.TCPIPHeapMax = $VMHostAdvancedConfig\["Net.TcpipHeapMax"\]
[$VMSummary.TCPIPHeapSize = $VMHostAdvancedConfig\["Net.TcpipHeapSize"\]
$VMSummary.HeartbeatTimeout = $VMHostAdvancedConfig\ ['NFS. HeartbeatTimeout '\] '.
$VMSummary.HeartbeatFrequency = $VMHostAdvancedConfig\ ['NFS. HeartbeatFrequency '\] '.
$VMSummary.HeartbeatMaxFailures = $VMHostAdvancedConfig\ ['NFS. HeartbeatMaxFailures '\] '.
$VMSummary.MaxVolumes = $VMHostAdvancedConfig\ ['NFS. MaxVolumes '\] '.
$VMSummaries += $VMSummary
...
Kind regards
Dimitar
-
request for deletion with a composite primary key
I have the following problem, which seems very simple, but I'm a bit at a loss :)
I have a table T1 with composite primary key F1 and F2.
There is a second table I want to use to delete records of T1 T2. It contains als F1 and F2.
I want to do something like this
Of course, this does not work.delete from T1 where T1.F1, T1.F2 in (select T2.F1, T2.F2 from T2);
There are solutions, but I find them unsatisfactory:
-A loop of PL/SQL and passes the key one
-Concatenate F1 and F2: where T1. F1 | T1. F2 to (select T2. F1 | W2M T2 F2); - but it's very ugly.
Surely it must be possible in a simple SQL statement...
Thank you!
Robdelete from T1 where (F1,F2) in (select T2.F1, T2.F2 from T2);
Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/01/17/supporto-di-xml-schema-in-oracle-xmldb/] -
Request for help with page apex a button popup.
Apex 3.2/Solaris 10
I try to open a page of the apex (report) in a pop-up window when a button is pressed after the plethora of examples in the forum.
I applied what follows in "Edit Page buttons" to one of the 'attributes of button' and 'Target URL' is trying to open my report (page 14) in a pop-up window.
javascript.popupURL ('f? p = & APP_ID.:14: & SESSION.) ") ;
JavaScript.popup2 ('f? p = & APP_ID.:14: & SESSION.) ") ;
Window.Open ('f? p = & APP_ID.:14: & SESSION.) ") ;
I have also implemented the conditional branch for this button in order to mitigate the error 'page not found - restart the application.
The window.open variant does not. The javascript 2. variants open the page, but in the same window (no popup).
also, I read that to fill my pop-up report (it should), a Window.Close (); should be somehow associated with a close button on the popup page. Specifically, where this code is placed?
Thank you!
PaulPaul:
Specify the URL as
JavaScript:popupURL('f?p=&APP_ID.:14:&session.');
Instead of
javascript.popupURL('f?p=&APP_ID.:14:&SESSION.');
CITY
-
Request for help with my HP Designjet 130 printer
Greetings,
I have owned, loved and used my printer Deskjet HP130 for sixteen years now. I do not use and would like to know if you are able to exchange for another product of your company (HP - printer, laptop or other digital material).
My contact (deleted content)
Kind regards
Paul then
You must search the HP of the trade program in and then see if there is an another DesignJet you would like to have.
HP generally offers commercialized ins on upgrades in the same line of equipment.
-
Dear support team,
I ask you to help you find the drivers.
Hardware for generic Bluetooth adapter ID:
USB\VID_03F0 & PID_311D & REV_0001
USB\VID_03F0 & PID_311DHardware ID device Base system:
PCI\VEN_197B & DEV_2392 & SUBSYS_167E103C & REV_30
PCI\VEN_197B & DEV_2392 & SUBSYS_167E103C
PCI\VEN_197B & DEV_2392 & CC_088000
PCI\VEN_197B & DEV_2392 & CC_0880Thank you.
Hello:
Go to the page of the driver and support for your laptop, download and install the following drivers:
Generic adapter Bluetooth = Driver Atheros Bluetooth or use the one from the link below.
= JMicron card reader Driver base system device, or use the one in the link below.
-
Request for assistance with the importation of crude oil
I get a program error message when you import a raw (.orf) file in Adobe Photoshop Elements 10.
Also after the update of all the adobe programs.
The raw file is generated by my camera Olympus E - M10 mark II
Please give me a clue how to solve this problem.
Piet
Your camera is more recent than your software for many years. To open the ORF of the EM10II you need ACR plugin 9.2 which host needs a PSE14 or newer. You can buy 14 items here: http://www.adobe.com/products/catalog/software.html
You can also use the free DNG Converter to convert a FOLDER of raw files to DNG and these DNG is open in the old software. You can get the DNG Converter here: http://www.adobe.com/downloads/updates/
-
How files request for vmdk with location of store data using perl sdk
Hello
I need to retrieve a list of (xxx - flat hard) and vmdk files for a virtual machine on an ESX Server.
The virtual machine I have has two disks that are in different data stores.
I changed the /usr/lib/vmware-vcli/apps/vm/myvminfo.pl to dump the full data.
I spilled the $vm_view and found that the data you are looking for do not print.
I'm new to VMWare and don't know how to go forward.
Any help will be greatly appreciated.
Thanks in advance
Ashwin
You should be able to use just LayoutEx property of the VirtualMachine. Keep in mind this property gets refreshed on a schedule, so don't always present not unless you explicitly referesh it yourself. However, that can add some overhead VI retesting the data store (s).
The attached script is quite simple, but it can help you get started. To % disk_parts hash key is the key of the device, you can use this to get configuration-> hardware-> device information. The string under layoutEx-> disc keys should be descriptor-> measure. You can query the type of the object file if you need to be sure or want to only print as well.
You can exit the script in certain functions or map() calls to make it more readable. You need to work through the key tables nested loop, so it would probably be good to format into something easier to follow. Another option would be to create a hash of the file of the key values card, so you can do research without expensive loops.
Samples:
$ perl ListVmdkForVm.pl - username = administrator - password = VMware1! -Server = 172.16.254.10--vmname=Test\(Renamed\)2000: Test [VLAB-ESX-01_LOCAL] (renamed) _1/Test (renamed) hard, [VLAB-ESX-01_LOCAL] Test (renamed) _1/Test (renamed) - flat hard -
request for assistance with rman cloning script
Hello
Oracle 10.2.0.4, Win 2008
I take a full backup using rman using the script below.
Run {}
allocate channel d1 type disk;
backup filesperset 5
format 'R:\backup\df_t%t_s%s_p%p '.
database;
SQL 'alter system archive log current';
backup format 'R:\backup\al_t%t_s%s_p%p' (archivelog all delete input);
cross-checking of backup;
remove obsolete;
output channel d1;
}
Inorder to clone the database live everyday on machine clone, I copy the backup files of auxiliary machine to the same directory as the script traore Live.
My question is:
How to restore the database from the beginning through script. I mean
They invite cmd, set ORACLE_SID and ORACLE_HOME
Start the database in nomount
How to automatically include the number of scn in the restore script.
Please guide me.
Thank youIn machine clone do you have the same directory Live machine.
If the directory structure is different for the data files and log files and then in file pfile
you keep
DB_FILE_NAME_CONVERT = "string1", "string2".
log_file_name_convert = "string1", "string2".
When channel 1 is the direct model of machine datafile, channel 2 is the clone machine model
startup nomount machine clone(1) rman target
catalog auxiliary.
race 2)
{
allocate auxiliary channels ch1 typeor
allocate channel ch2 typeor
until the SNA <> or climbs up to the hour<>
duplicate target database standby
}Published by: renee_mathieu on July 19, 2012 07:51
Published by: renee_mathieu on July 19, 2012 07:51
-
change the results of the report with the selection list using dynamic action
This is one of those situations where if I could understand the appropriate search terms to use, someone else must have asked this question in the past.
I have a report with a SQL query with a condition based on a list of selection on the same page. So I have a list of selection -: P177_FISCAL_YEAR
My request for my report is:
Select md_id, display_name, description
of media_tbl
where fiscal_year =: P177_FISCAL_YEAR
When a person makes a selection on the selection list (: P177_FISCAL_YEAR), I would like to report up-to-date without having to submit the page. I was hoping that I could do something like this using a dynamic action but have not found a way to do it.
Thanks in advance!
JohnCreate dynamic Action:
When
Event: change
Selection type: product (s)
Article (s): P177_FISCAL_YEAR
Condition: - unconditionally.Real Actions (add 2 real actions)
-the first is to load the value in session state so that the report can see.
Sequence: 5
Action: execute the PL/SQL Code
Code PL/SQL: null;
Items to submit page: P177_FISCAL_YEAR-the second to refresh the report
Sequence: 10
Action: Discount
Selection type: region
Region: -
I need a box multi select drop-down list or list of selection with image or icon faclitliy
Hello
I tried to find a plugin or a jquery plugin that allows to perform the task of
have a list of selection with images and there should be a facility such as multi select.
How this can be accomplished. One have they implemented it in any of their application
Any information will be greatly appreciated.
Thank you
pauljohny100 wrote:
Hello
I tried to find a plugin or a jquery plugin that allows to perform the task of
have a list of selection with images and there should be a facility such as multi select.
How this can be accomplished. One have they implemented it in any of their application
Any information will be greatly appreciated.
When ask questions user interface-related still State (at least) the full version of APEX, the theme and the version of browser compatibility / required.
See the plugin jQuery Select2 , for which there is a plug in APEX .
Pre-plugin when we have implemented requirements like this using a model report, CSS and personal...
Maybe you are looking for
-
All my favorites disappeared after update (no reply from Firefox)
I kept getting a message 'Firefox is not responding' and couldn't open Firefox. I went to the help page and says click on the update. I could then open Firefox, but my favorites are gone. It was yesterday. I am now back to "Firefox is not responding.
-
Cannot just enter the key wifi - where is the dashboard?
Hello I have a stupid problem. My wifi WPA2/AES key is something like "aaaa-bbbb-2222-George. The problem is, there is no dash (""-"") on the keyboard I tried with a space, no space, but without success. The TV detects the SSID, no problem here, but
-
code 80070246. Recommended windows vista update installation failed.
Im having trouble with the windows vista operating system that was installed on my pc. I tried the troubleshooting options but none seem not to work. Adter each failed attempt, followed by the error code 80070246, he said simply that the update coul
-
Hello, looking at my settings for USB I see that it is Auto search and underneath is MSC. That's all that shows. I am out of PSG. I think I have a problem here and don't know how to proceed. Yes, it is impossible to force the MSC. Thank you, I'll wai
-
Hi, my OS is Windows Vista Home Edition 32 bit Service Pack 2 - installed on XP by the owner without first unintalling XP. Although my Device Manager lists the mini-map Dell Wireless WLAN 1395 as working properly, what Windows says that it has stopp