How to get the name of the previous tag of an xml in java
Hai
I need to get the name of the previous tag from an xml in java.
I got the current tagname, I need to get the previous tagname attribute
NodeList parentactionList = lParentRule.getElementsByTagName)
"parentactiondetails" );
I use this way to get the the current tag name, I need to get the name of the previous tag IE... before 'parentactiondetails'
for the sample
< / parentruledetails >
< / Parentrule >
< / SingleParentRule >
< parentactiondetails ACTION_FLAG = "RulePass" PARENT_RULE_CODE = "PR626" / >
< ParentCompliance >
I have xml like this I'm getting the "parentactiondetails"... now I need to get the name of the previous tag < / SingleParentRule > Java
Can someone help me,
The following code retrieves the tag replacing "parentactiondetails."
NodeList children = doc.getElementsByTagName("parentactiondetails"); for (int i = 1; i < children.getLength(); i = i + 2) { // Alternate child (tag). Node nd = children.item(i); // Print node name System.out.println(nd.getNodeName()); //Get attributes NamedNodeMap attributes = nd.getAttributes(); for (int j = 0; j < attributes.getLength(); j++) { Node attr = attributes.item(j); //Print the attribute key and value System.out.println("\t" + attr.getNodeName() + " -- " + attr.getNodeValue()); } }
Tags: Flex
Similar Questions
-
IAM create small Animation in 10 pictures. 1 frame lable called 'Start', frame label name is 'end '. Button click on how to get the current frame label name.
var frameObj:Object = {};
frameObj [1] = "start";
frameObj [this ._totalframes] = "end";
etc.
-
Hi Experts,
Can someone tell me to get the previos months beginning and end date...
If m 20-dec-2012 then output should be 1 November 2012 and November 30, 2012...
Thnx in advance...977490 wrote:
Hi Experts,Can someone tell me to get the previos months beginning and end date...
If m 20-dec-2012 then output should be 1 November 2012 and November 30, 2012...
Thnx in advance...
Use
select trunc(trunc(sysdate,'MM')-1,'MM') "First Day of Last Month", trunc(sysdate,'MM')-1 "Last Day of Last Month" from dual
20-dec-2012
Select TRUNC (trunc (to_date (20-dec-2012', 'mon-dd-yyyy'), "LUN")-1, 'MY')
"First day of the month pr."
trunc (to_date (20-dec-2012', 'mon-dd-yyyy'), "LUN")-1
"Last day of the previous month.
of the doublePublished by: Rahul India on January 24, 2013 14:37
-
How to get the previous month and year accordingly
Hi friends,
I wanted to select the month as a number like 4 and the new year 2011
but I want to choose the previous month from sysdate
as if the sysdate is June 10, 2011
It should give me 5 months and
in the year, it should give as 2011
If the sysdate is January 1, 2012
the month should be like 12 and year should be in 2011
Thank youHello
776317 wrote:
Thank you very much I just the 0 being the prefix... can you pls how to avoid that too well plsTO_CHAR ( ADD_MONTHS (SYSDATE, -1) , 'FMmm yyyy' )
For more information on the FM, wee manual SQL language modifier works:
http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/sql_elements004.htm#sthref456 -
How to get the previous record that meets a criterion?
Hello!
I am trying to create a query that adds information which finally fixed an element for a given 'pause'.
I have a table, let's call it actionHistory, which looks like:
ID | timestamp | action | author
------------------------------------------------
101477 | 2010-05-10 09:10:20 | Difficulty | Tim
101477 | 2010-05-10 09:10:30 | change | John
101477 | 2010-05-10 09:10:40 | breaking | Maggie
101477 | 2010-05-10 09:10:50 | Difficulty | Rick
222222 | 2010-05-10 09:10:30 | change | Lewis
222222 | 2010-05-11 09:10:40 | breaking | Maggie
222222 | 2010-05-11 09:10:50 | Difficulty | Tim
222222 | 2010-05-12 09:10:40 | Difficulty | Maggie
222222 | 2010-05-13 09:10:40 | breaking | Albert
I'm looking for is the following result:
ID | timestamp | action | author | lastFixBy
-----------------------------------------------------------
101477 | 2010-05-10 09:10:20 | Difficulty | Tim |
101477 | 2010-05-10 09:10:30 | change | John |
101477 | 2010-05-10 09:10:40 | breaking | Maggie | Tim
101477 | 2010-05-10 09:10:50 | Difficulty | Rick |
222222 | 2010-05-10 09:10:30 | change | Lewis |
222222 | 2010-05-11 09:10:40 | breaking | Maggie |
222222 | 2010-05-11 09:10:50 | Difficulty | Tim |
222222 | 2010-05-12 09:10:40 | Difficulty | Maggie |
222222 | 2010-05-13 09:10:40 | breaking | Albert | Maggie
Can you tell me how I can make?
I tried many ways but no return to what I'm looking for.
Thanks in advance.
Published by: user8910765 on June 5, 2010 13:51
Published by: user8910765 on June 5, 2010 14:00Hello
That's what you asked for in Oracle 10:
SELECT a.* , CASE WHEN action = 'break' THEN LAST_VALUE ( CASE WHEN action = 'fix' THEN author END IGNORE NULLS ) OVER ( PARTITION BY id ORDER BY tmstmp ) END AS lastfixby FROM actionhistory a ORDER BY id , tmstmp ;
Like all of the built-in functions, LAST_VALUE is documented in the manual of the SQL language:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions073.htm#sthref1508user8910765 wrote:
... just in case where it might be useful, one of the queries I've tried myself a left subquery joined that Oracle has no right ("a column may be outside not attached to a subquery').Much more, it would help if you posted the request.
It looks like you were using the old outer join notation (+). You can get the desired results by using an outer join with ANSI rating, but I think it would be more complicated and slower than with a LAST_VALUE. -
How to get the value of a literal XML node content in BPEL 2.0?
Hello!
I have a problem creating A Expression in the distribution of the XML literal one activity, I would like to help me...
Well, I have the same activity in the 1.0 version of BPEL and is now different is BPEL 2.0,.
I have a Web Service < WSEjecutaComandos > when having a function of controls remote that connects,
Entries of my Web Service: "int numEquipo, String [] comandos, int numCta, int publicar, int, String date version"
The second argument is an array of string type...
Now in my BPEL process, I do is the following assignment:
************************************************************
< assign the name = "AssignCreaPath" >
< copy >
< from >
< literal >
" < fnCRexecElement xmlns =" http://Servicios/ ">
< numEquipo > 2 < / numEquipo >
< comandos >mkdir etl/entries/mmkis /< / comandos >
< numCuenta > 1 < / numCuenta >
< publicar > 0 < / publicar >
< / fnCRexecElement >
< / literal >
< / from >
< to > $InvokeClear_fnCRexec_InputVariable.parameters < /pour >
< / copy >
< copy >
(< a >concat(ora:getContentAsString($InvokeClear_fnCRexec_InputVariable.parameters/comandos),$inputVariable.payload/client:fecha)< / from >
< to >$InvokeClear_fnCRexec_InputVariable.parameters/comandos< /pour >
< / copy >
< copy >
< a > $InvokeVersion_fnGetVersionProcesoByFecha_OutputVariable.parameters/version < / from >
< to > $InvokeClear_fnCRexec_InputVariable.parameters/version < /pour >
< / copy >
< copy >
< a > $inputVariable.payload / client: date < / from >
< to > $InvokeClear_fnCRexec_InputVariable.parameters/date < /pour >
< / copy >
< / assign >
***************************************************
Well the conflict I have is as follows,
previously defined an entitlement with the XML Fragment copied on the payload to the Web Service (WSEjecutaComandos), input variable
and the XML code is copied to each of the variables,
Then him concatenating input values (I noted in red) < comandos > with the value of 'farm' (String), and once again copy Variable < comandos > and has not had any problems
but now with the new BPEL 2.0, I do the same thing now using literal XML (this good!) but the option to concatenate (that I've noticed in red) and copied to the same variable ( I noticed blue ), I mark the following error message:
I should know, I am doing wrong, or you need to to XPath function as the value that they already have the variable < comandos > will concatenate date,
and is the final value of my entry, my Web Service.
must be defined as table of values of type < comandos [i] >
define the following activities before $InvokeClear_fnCRexec_InputVariable.parameters/comandos [1],
but it seems that this BPEL 2.0 does not respect me in the form of hooks index.
Thank you...
See you soon,.
I found the solution to get the value of an xml element and it concatenated with another variable within a beneficiary.
is:
ORA: getNodeValue (ora:getChildElement($InvokeCreaPath_fnCRexec_InputVariable.parameters,2))
first get the desire here in my tree xml element is position 2 < comandos=""> and then get the value of this node.
See you soon,.
-
How to get the Total number of nodes XML?
Hi all
I have a Flash program that I do in Actionscript 3, using CS6.
I use the XMLSocket class to read XML data. I'll write some examples of XML that is sent to the Flash
program below...
I know with this line here (below) I can access the 4th 'element or node' of XML data.
To access the XML nodes/elements:
* I created a Variable XML, called xml, and "e.data" contains ALL the XML data
var XML = XML (e.data);Access to the 4th item of the data:
. xml MESSAGE[3].@VAR; -> 'loggedOutUsers '.
. xml MESSAGE[3].@TEXT; ---> "15"
EXAMPLE OF XML DATA:
< FRAME >
0 < VAR MESSAGE = "screen2Display" TEXT = "FRAME_1" / >
1 < VAR MESSAGE = "numUsers" TEXT = "27" / >
2 < VAR MESSAGE = "loggedInUsers" TEXT = "12" / >
3 < VAR MESSAGE = "loggedOutUsers" TEXT = "15" / >
4 < VAR MESSAGE = "admins" TEXT = "2" / >
< / FRAMEWORK >
I'm new to Flash and Actionscript but I am very familiar with other languages and how paintings and other work, and I know for
example, in a Shell Script to get the total number of items in an array called 'myArray' I wanted to write something like
This-> ${#myArray [@]}. And since the data processing XML looks a lot like a table I thought that there was perhaps
a way to access the total number of "nodes or elements" in the XML data...?
Any thoughts would be much appreciated!
Thanks in advance,
Matt
even if you don't need to run to the loop to know the length
var levelList: XMLList = xml.children ();
levelList.length (); This will give you the length of all children in your case of length MESSAGE of nodes;
Pls click useful if my answer is helpful.
Thank you
Bala
-
How to get the previous week from Monday to Sunday from sysdate
for example, sysdate is 15-SEP-07 We must retrieve the data from SEPT. 01.-15-06 - SEP - 2015, although 31 August 15 is Monday our application must ignore since the current month is September
SQL> with t 2 as 3 ( 4 select to_date('07-SEP-15', 'dd-mon-rr') my_sysdate 5 from dual 6 ) 7 select greatest(trunc(my_sysdate, 'iw') - 7, trunc(my_sysdate, 'month')) start_date 8 , trunc(my_sysdate, 'iw') - 1 end_date 9 from t; START_DAT END_DATE --------- --------- 01-SEP-15 06-SEP-15
-
How to get the previous group on XML element
My XML structure goes like this.
<? XML version = "1.0" encoding = "UTF-8"? >
< SA321 >
PT BOOK < P_BOOK > < / P_BOOK >
< P_YEAR > 2009 < / P_YEAR >
< LIST_G_FAMILY >
< G_FAMILY >
< PARENT_FAMILY > 2240 < / PARENT_FAMILY >
< FAM_CODE_DESC > Cruiser informatico < / FAM_CODE_DESC >
< SUBTOT_FLAG > Y < / SUBTOT_FLAG >
< NEW_USED > NEW < / NEW_USED >
< LIST_G_ASSET >
< G_ASSET >
< ASSET_DESCR > 2240 - Cruiser informatico < / ASSET_DESCR >
< ACQUISITION_YEAR > 2009 < / ACQUISITION_YEAR >
JANUARY < EFFECTIVE_MONTH > < / EFFECTIVE_MONTH >
< EFFECTIVE_YEAR > 2009 < / EFFECTIVE_YEAR >
< ASSET_AMOUNT > 3000 < / ASSET_AMOUNT >
< EXEMPT_GAIN_AMOUNT > 450 < / EXEMPT_GAIN_AMOUNT >
< EXPECTED_LIFE_YRS / >
< PRV_FY_NBV > 0 < / PRV_FY_NBV >
< RATES_DEC > 37.5 < / RATES_DEC >
< RATE_FROM_LAW > 50 < / RATE_FROM_LAW >
< RATES_DEC1 / >
< 1 > 0 < / 1 >
< FISCAL_LIMIT > 1275 < / FISCAL_LIMIT >
< DEPRN_RATE > 25 < / DEPRN_RATE >
< PY_DEPRN_RESERVE > 0 < / PY_DEPRN_RESERVE >
< YTD_DEPRN > 749.99 < / YTD_DEPRN >
< ACCUM_DEPRN > 749.99 < / ACCUM_DEPRN >
< NET_BOOK_VALUE > 2250.01 < / NET_BOOK_VALUE >
< YTD_IMPAIRMENT > 0 < / YTD_IMPAIRMENT >
< IMPAIRMENT_RESERVE > 0 < / IMPAIRMENT_RESERVE >
< ACCUM_LOST_RATES > 0 < / ACCUM_LOST_RATES >
< DEPR_REINT_LOSS_NOTEXP > 0 < / DEPR_REINT_LOSS_NOTEXP >
< GAIN_AMOUNT > 600 < / GAIN_AMOUNT >
< GAIN_YEAR > 2006 < / GAIN_YEAR >
< > 110270 ASSET_ID < / ASSET_ID >
< > 110270 ASSET_ID < / ASSET_ID >
< REINT_NOT_ACC > 437.5 < / REINT_NOT_ACC >
< PY_COL15 > 0 < / PY_COL15 >
< LIST_G_COL15 >
< G_COL15 >
< COL15_TOT > 0 < / COL15_TOT >
< COL16_TOT / >
< COL_16 > 0 < / COL_16 >
< / G_COL15 >
< / LIST_G_COL15 >
< / G_ASSET >
< G_ASSET >
< ASSET_DESCR > 2240 - Cruiser informatico < / ASSET_DESCR >
< ACQUISITION_YEAR > 2009 < / ACQUISITION_YEAR >
JUNE < EFFECTIVE_MONTH > < / EFFECTIVE_MONTH >
< EFFECTIVE_YEAR > 2009 < / EFFECTIVE_YEAR >
< ASSET_AMOUNT > 1500 < / ASSET_AMOUNT >
< EXEMPT_GAIN_AMOUNT > 0 < / EXEMPT_GAIN_AMOUNT >
< EXPECTED_LIFE_YRS / >
< PRV_FY_NBV > 0 < / PRV_FY_NBV >
< RATES_DEC > 40 < / RATES_DEC >
< RATE_FROM_LAW > 50 < / RATE_FROM_LAW >
< RATES_DEC1 / >
< 1 > 0 < / 1 >
< FISCAL_LIMIT > 750 < / FISCAL_LIMIT >
< DEPRN_RATE > 20 < / DEPRN_RATE >
< PY_DEPRN_RESERVE > 0 < / PY_DEPRN_RESERVE >
< YTD_DEPRN > 316.95 < / YTD_DEPRN >
< ACCUM_DEPRN > 166.95 < / ACCUM_DEPRN >
< NET_BOOK_VALUE > 1333.05 < / NET_BOOK_VALUE >
< YTD_IMPAIRMENT > 150 < / YTD_IMPAIRMENT >
< IMPAIRMENT_RESERVE > 150 < / IMPAIRMENT_RESERVE >
< ACCUM_LOST_RATES > 2.92 < / ACCUM_LOST_RATES >
< DEPR_REINT_LOSS_NOTEXP > 0 < / DEPR_REINT_LOSS_NOTEXP >
< GAIN_AMOUNT > 0 < / GAIN_AMOUNT >
< GAIN_YEAR / >
< > 110289 ASSET_ID < / ASSET_ID >
< > 110289 ASSET_ID < / ASSET_ID >
< REINT_NOT_ACC > 89,32 < / REINT_NOT_ACC >
< PY_COL15 > 0 < / PY_COL15 >
< LIST_G_COL15 >
< G_COL15 >
< COL15_TOT > 0 < / COL15_TOT >
< COL16_TOT / >
< COL_16 > 0 < / COL_16 >
< / G_COL15 >
< / LIST_G_COL15 >
< / G_ASSET >
< / G_FAMILY >
< / LIST_G_FAMILY >
< / SA321 >
Now, I have a query like the following.
Select *.
FROM (SELECT sap_getFileContent ('o5875854.xml', 'DIR') report_data)
T FROM dual)
xmltable)
"SA321/LIST_G_FAMILY/G_FAMILY/LIST_G_ASSET/G_ASSET.
by the way of xmltype (t.report_data)
path of VARCHAR2 (50) column column1 ' / SA321, LIST_G_FAMILY, G_FAMILY, PARENT_FAMILY.
, path VARCHAR2 (100) Column2 "ASSET_DESCR."
, Column3 VARCHAR2 (50) path 'EFFECTIVE_MONTH '.
, NUMBER column4 path 'EFFECTIVE_YEAR '.
, path NUMBER column 5 "ASSET_AMOUNT".
, path NUMBER column6 "EXEMPT_GAIN_AMOUNT".
, path NUMBER column7 'EXPECTED_LIFE_YRS '.
, path NUMBER column8 'YTD_DEPRN '.
, path NUMBER column9 "PY_DEPRN_RESERVE".
, path NUMBER column10 'RATE_FROM_LAW '.
, column11 NUMBER path '1 '.
, path NUMBER column12 'FISCAL_LIMIT '.
, path NUMBER column13 'YTD_IMPAIRMENT '.
, path NUMBER column14 'ACCUM_LOST_RATES '.
, path NUMBER column15 'YTD_IMPAIRMENT '.
, path NUMBER column16 ' LIST_G_COL15/G_COL15/COL_16.
) x ;
the query always returns NULL for collumn1. Can someone help me please.
Concerning
SAPHello
Your example of XML code is not correct, there is no LIST_G_ASSET element closing tag.
But I guess that's not the real problem.the query always returns NULL for collumn1.
The important thing to understand is that the paths that you declare in the COLUMNS clause are relative to the context item is past the main XQuery expression. He knows more about the rest of the document, in particular of his ancestors.
In this case, you try to process a node whose absolute path would be/SA321/LIST_G_FAMILY/G_FAMILY/PARENT_FAMILY
in a document which the node root is G_ASSET.
The solution is to divide the query into two parts, the first one finds PARENT_FAMILY and the collection of G_ASSET and the second more shreds the collection G_ASSET is passed the first XMLTable in relational lines:
SQL> SELECT x1.column1 2 , x2.* 3 FROM XMLTable( 4 '/SA321/LIST_G_FAMILY/G_FAMILY' 5 passing xmltype(bfilename('TEST_DIR','o5875854.xml'), nls_charset_id('AL32UTF8')) 6 columns 7 column1 VARCHAR2(50) path 'PARENT_FAMILY' 8 , assets XMLType path 'LIST_G_ASSET' 9 ) x1 10 , XMLTable( 11 '/LIST_G_ASSET/G_ASSET' 12 passing x1.assets 13 columns 14 column2 VARCHAR2(100) path 'ASSET_DESCR' 15 , column3 VARCHAR2(50) path 'EFFECTIVE_MONTH' 16 , column4 NUMBER path 'EFFECTIVE_YEAR' 17 , column5 NUMBER path 'ASSET_AMOUNT' 18 , column6 NUMBER path 'EXEMPT_GAIN_AMOUNT' 19 , column7 NUMBER path 'EXPECTED_LIFE_YRS' 20 , column8 NUMBER path 'YTD_DEPRN' 21 , column9 NUMBER path 'PY_DEPRN_RESERVE' 22 , column10 NUMBER path 'RATE_FROM_LAW' 23 , column11 NUMBER path 'CASE1' 24 , column12 NUMBER path 'FISCAL_LIMIT' 25 , column13 NUMBER path 'YTD_IMPAIRMENT' 26 , column14 NUMBER path 'ACCUM_LOST_RATES' 27 , column15 NUMBER path 'YTD_IMPAIRMENT' 28 , column16 NUMBER path 'LIST_G_COL15/G_COL15/COL_16' 29 ) x2 30 ; COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 COLUMN16 ---------- -------------------------------- ----------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- 2240 2240-Equipamento informatico JANUARY 2009 3000 450 749,99 0 50 0 1275 0 0 0 0 2240 2240-Equipamento informatico JUNE 2009 1500 0 316,95 0 50 0 750 150 2,92 150 0
-
How to get the html tags in APEX_ITEM. DISPLAY_AND_SAVE
Hello
I want to create a tabular report and want to have control of the internal cells, because later I intend to use an AJAX script here.
One of the columns that I try to use APEX_ITEM. DISPLAY_AND_SAVE but here's some HTML tags are not displayed correctly.
Have I missed something here. Please let me know how I can display content with HTML tags. Is there another variant of APEX_ITEM that I can use to display HTML tags as well.
Thank you
Vikas
Published by: Vikas Krishna on November 10, 2009 01:37I'm not clear if the hidden form element generated by APEX_ITEM. DISPLAY_AND_SAVE is required for your purpose? Mention of innerhtml and using a standard report column leads me to think that it isn't. If this is the case, please describe what you try to do more in detail. If this is not the case, try another approach to standard column of report:
1 change the query to return the following columns:
replace(DESCRIPTION, ':', '
') description, rownum rn2 hide column of RN in the report attributes.
3. change the DESCRIPTION column to return an HTML Expression:
#DESCRIPTION#
Adding ID and a class should provide connections in the subsequent treatment of AJAX. The appearance can be changed by adding a style attribute to the HTML Expression, or better styling class in a style sheet:
.description { color: blue; font-weight: bold; }
(Do not use the < police > items: they have been deprecated for ten years; < b > is almost always best handled with CSS.)
-
How to get the name of sbRIO programmatically
How to get the 'name' and 'Comment' by sbRIO I write to sbRIO-9602 Max in the box of Identification (model, serial number, MAC address, name)?
Use RT Information.vi of target is located under the range of public services under LabVIEW Realtime.
Christian
-
Hi all
Can I know how to get the bluetooth device name and the name of the bluetooth device address device class?
Example:-if my bluetooth device address is :-98:EB:CD:01:1F::90 then how do I get my bluetooth device name?
I hope you understand my problem. Let me know as soon as possible.
:
Thanks for the reply.
-
How to get the product key I purchased previously?
How to get the product key I purchased previously?
Depends entirely on how you bought it in the 1st place.
A boxed product should have the key on the DVD case, which is the only trace.
An update Anytime, you should have the key in an e-mail message from Microsoft. If you log in the website to store, you should be able to find the email conversation.
If another provider such as a key, then you will need to go back to them.
If your Windows starts now while you can use a keyfinder utility to read the registry key.
-
How to get the number and the name of the contacts selector
Hi all
I got the Contact Picker work but I have no idea how to get the selected telephone number and the name.
There are attributes that I can put like contactId.value () to retrieve or there is another way?
Thanks in advance.
ImageButton{ defaultImageSource: "asset:///images/bluebutton.png" onClicked: { contactPicker.open(); } attachedObjects: [ ContactPicker { id: contactPicker onContactSelected: { result.text = "You chose contact: " + contactId; } } ] } Label { id: result text: "You chose contact: " }
Hello
You can get the contact name and phone number as this,
ImageButton{ defaultImageSource: "asset:///images/bluebutton.png" onClicked: { contactPicker.open(); } attachedObjects: [ ContactPicker { id: contactPicker onContactSelected: { result.text = "You chose contact: " + contactId; // call a cpp method to get the details
app.getDetails(contactId); } } ] } Label { id: result text: "You chose contact: " }
the CPP code:
void ContactDetails(ContactId id) { Contact contact_info = m_contactService->contactDetails(id); QString firstName = contact_info.firstName(); QString lastname = contact_info.lastName(); QList
phoneno_list = contact_info.phoneNumbers(); QStringList no_s; foreach(ContactAttribute attr, phoneno_list) { no_s << attr.value(); } } You can get details like this.
Kind regards
Naresh Kodumuri.
-
I don't know if this is the right place to post this question, I develop software to support VMWare PCoIP and need to know how to get the host name of the physical machine (which manages the virtual machine and View Client) within a virtual machine before the user logs in Windows of the virtual machine.
I understand there are two ways to read the host name, via the HKEY_CURRENT_USER\Volatile Environment registry and environment variables, but they are available once the user is connected. I need info before the user connects.
Is there a VMware API that can be called or asked the host name?
Thank you.
Not on the broker, but there are the startup scripts to log on to the computer virtual itself: http://pubs.vmware.com/view-52/topic/com.vmware.view.integration.doc/view_integration_startsession_script.9.2.html
Note that these executed when a virtual desktop computer allocated connection, not to the point that the client connects - it is possible for the customer to not complete the connection (crash, cancel, network failure) and so any what solution you design must handle this.
Mike
Maybe you are looking for
-
How do I get the video from an SD card and Mac
-
Faces in the Photos is not properly synchronized on Mac
I have a collection of about 20 000 photos that I imported from iPhoto for pictures on my desktop Mac. She imported correctly all Faces. However, when I then shared my library of Photos via iCloud to my laptop (Photos of opening for the first time
-
Movies to him does not display on iPad Pro
Bought for a film on the Apple TV and it appears in iTunes, my iPhone 6 and iPad 4 but not on my iPad Pro. Help please.
-
Base address Get Serial Port (PXI-8420)
I have an application that requires a control to a serial port at low altitude. I need to recover (pragmatic) address for the COMX, which is generally Beach 0xXXXX. The card is PXI-8420, 2 RS232 ports. Thank you German.
-
Cannot run streets &; trips 2010
I have a cd allowed and reloaded it, same message. Error initializing OxC004D301 license when you try running Streets & trips 2010