How to use the functions of SetValue executeScript activity.
Hello
Could someone let me know how to use the function activity setValue (serialize concate, count etc) in activity executeScript. What all liberaries I need to import to executeScript. I want to perform the same task in executeScript performed in the setValue activity.
Concerning
Sunil Gupta
Forgive me if I seem obtuse, but why would you use XPath functions (is that serialize, concat, and count) when there are perfectly good Java alternatives that will be much easier to use. Java is, after all, the language used in the executeScript. Serialize is just toString(), CONCATENATE is just + or. concat() (I assume that you are running on Java 6 web application server). The count function is just the length() or size() methods or to the tables, the length property. If you really need to reorganize in a variable of the XML data using a XSL stylesheet - you have access to all the functions in XPath 1.0 and XPath 1.0 power and you do not need to tinker with the headache of trying to debug Java in an environment (Workbench), which does not give you the tools that you would normally , as a contextual Editor.
Tags: Adobe LiveCycle
Similar Questions
-
I use Windows 10 and use the Canon SX20 IS. How to use the function of Photo stich?
I use Windows 10 and use the Canon SX20 IS. How to use the function of Photo stich?
Is it possible to get the procedure to use feature stich photo?
Will be Zoombrowser EX for windows 10 wotk?
If any expert can guide me... that will be great.
Hi Sat17,
Thank you for your inquiry.
For Windows 8 and beyond, ZoomBrowser EX has been replaced by EX. ImageBrowser
Your software you will need to updated for Windows 10.
You can access the software for your camera by clicking here. Once on our site, scroll down to "Drivers and downloads", then use the drop down menu to choose "8.1 Windows" or "Windows 8.1 (x 64)".» Your camera software has not been updated for Windows 10, but for Windows 8.1 software will run on your computer.
To update your software, click the [Select] button to the right, then click on "How to download and install" for installation instructions.
-
How to use the function @RETURN for poster messages Essbase in 11.1.2.1
Hello
I found the business support Essbase Hyperion Planning 11.1.2.1 @RETURN rule novelty.
If I create a simple BR for planning app like below:
"@RETURN ("test return message,"WARNING);
Validation returns error and BR can not be deployed.
One is how to use the function @RETURN br?
Thank you!He probably should be in a calco for example block
"Profit".
(
....
)It is more likely to be used with an IF ELSE command, you do not want to define the condition for the calculation, roughly what the feature is designed for output.
See you soon
John
http://John-Goodwin.blogspot.com/ -
How to use the functionality of search in Spotlight
I was check preferences, Spotlight and noted down at the bottom of the window there is a box marked 'allow Spotlight Suggestions in Spotlight and look it up".
I was curious about the 'Look up' and how it worked but after Googling it I couldn't find any reference to it or how to use it.
I wonder if someone could enlighten me on what it does and how I use it.
Thank you
'Search' is not a feature turned on. If you have this box checked, then it is already working.
The difference between the projectors now and Spotlight before "Look up", it's that Spotlight will now search the Internet for items that you put in the Spotlight. Previously, Spotlight search only files of your computer. Now (with the upward gaze) research in Spotlight is similar to an iOS devices. If she can not find what you are looking for on your computer, it will search the internet. For example, if I type in warriors, it returns this information:
Hope that makes sense
EDIT: Note that research first of all my events (since I'm a Kings fan, it shows their game against the warriors), and he then proceeds to the internet looking for other options, as well as iTunes for the film the warriors.
-
How to use the function keys F1 to F12 without presseing Fn key
I use pavalian dm1 netbook. I have to press the "fn" use F1 to F12 keys. How to change?
You must disable the action keys in the BIOS and you can then use the F1 to F12 without pressing the Fn key.
You can find details in the document below:
http://support.HP.com/us-en/document/c02035108
I hope this helps.
-
How to use the function keys on MS Wireless Compfort Desktop 5000
I need a guide that explains what the function keys are at the top and at least the letter keys.
It is online in your help and your support. Click Start-> Help and Support. In the search box, type the function keys , and then press ENTER. This will show you 30 topics, you can click on, each with its own descriptions and photos.
Good luck.
-
How to use the functions Timestampadd/Timestampdiff variable repository
Hello - I tried to build a block of initialization with Variables of repository to fill for below mentioned scenarios. In the EDIT SOURCE of the initialization block, I was trying to write the suite of applications:
Select
TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR FROM CURRENT_DATE) *-(1) + 1, CURRENT_DATE) as F_DAY_CY,
TIMESTAMPADD (SQL_TSI_YEAR-1, TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR FROM CURRENT_DATE) *-(1) CURRENT_DATE + 1)) as F_D_PY,
......
......
......
Double;
for which he throws following error thus failing to create the initialization block. Enjoy all the entries on this error.
Behold, I wanted to create for variables
First day of current year
TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR CURRENT_DATE) *-(1) + 1, CURRENT_DATE)
First day of the previous year
TIMESTAMPADD (SQL_TSI_YEAR-1, TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR CURRENT_DATE) *-(1) CURRENT_DATE + 1))
First day of the new year
TIMESTAMPADD (SQL_TSI_YEAR, 1, TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR CURRENT_DATE) *-(1) CURRENT_DATE + 1))
First day of the previous month
TIMESTAMPADD (SQL_TSI_MONTH-1, TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-(1) CURRENT_DATE + 1))
First day of the current month
TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-(1) + 1, CURRENT_DATE)
First day of the following month
TIMESTAMPADD (SQL_TSI_MONTH, 1, TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-(1) CURRENT_DATE + 1))
Last day of the previous month
TIMESTAMPADD (SQL_TSI_DAY,-(1), TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-(1) CURRENT_DATE + 1))
Last day of the current month
TIMESTAMPADD (SQL_TSI_DAY, TIMESTAMPADD (1), (SQL_TSI_MONTH, 1, TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-(1) CURRENT_DATE + 1)))
Last day of the following month
TIMESTAMPADD (SQL_TSI_DAY, TIMESTAMPADD (1), (SQL_TSI_MONTH, 2, TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (CURRENT_DATE) *-(1) CURRENT_DATE + 1)))
Last day of the previous year
TIMESTAMPADD (SQL_TSI_DAY-1, TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR CURRENT_DATE) *-(1) CURRENT_DATE + 1))
Last day of the current year
TIMESTAMPADD (SQL_TSI_YEAR, 1, TIMESTAMPADD (SQL_TSI_DAY-1, TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR CURRENT_DATE) *-(1) CURRENT_DATE + 1)))
Last day of next year
TIMESTAMPADD (SQL_TSI_YEAR, 2, TIMESTAMPADD (SQL_TSI_DAY-1, TIMESTAMPADD (SQL_TSI_DAY, EXTRACT (DAY_OF_YEAR CURRENT_DATE) *-(1) CURRENT_DATE + 1)))
Thank you!
Hello
Pool use in your init block, you had to choose a connection pool to use for the query, so the code to be used in an init block isn't OBIEE LSQL but it is true SQL based on the database of your connection.
So it depends on if your connection pool to connect to Oracle DB, SQL Server, or another type of database for the syntax to use in your query for date calculations.
-
How to use the function of resizing in scene
I want to if I got the size number,
{
hide an element
]
and if I resizet there still that
display the last item
someone help me please
Only change is how I put mine up:
sym.containerWidth = $(window) () .width;
sym.containerHeight = $(window) () .height;
If (sym.containerWidth <= 320 ="" &&="" sym.containerheight="">400 & ios7 == true) {}
=>
-
How to use the scan on a 4215i function all in one printer
How to use the function scan with this printer with windows 8. I did the installation but the scan function is not wwork
You have the printer Officejet 4215 all-in-one?
If so, then there is no complete features in the printer driver. The printer is using the Windows printer drivers Update menu. For more information on using the driver from Windows Update, click here.
You have this printer connected via USB? If so, then there is workaround methods to get the printer to scan, as the old software package is not available on Windows 8. In the above linked document, scroll down to the section on how to scan with updated driver for information about how to perform these types of scans. I hope this helps.
-
How to use a function inside the package?
Hello
You will need to convert weight unit of kilogram kips when filling out the weight values into a temporary table. In our database, schema there is a function called convert_units is available.
How could I use this feature in my package? My package is also resides in the same database schema.
Here, I pasted the function.
convert_units ( in_base_unit_id NUMBER, in_conversion_unit_id NUMBER, in_value NUMBER ) RETURN NUMBER AS CURSOR unit_cur IS SELECT * FROM units_conversion WHERE base_unit_id = in_base_unit_id AND conversion_unit_id = in_conversion_unit_id; unit_rec unit_cur%ROWTYPE; BEGIN OPEN unit_cur; FETCH unit_cur INTO unit_rec; IF unit_cur%NOTFOUND THEN unit_rec := NULL; END IF; CLOSE unit_cur; RETURN (in_value+unit_rec.pre_adjust_add)*(unit_rec.rate); END convert_units;
Hello
It seems that the first two arguments of this function are ID in the units_conversion table. If you know this id = 1234 means kilograms, 9876 means kips, then you can do things like:
wt_kips := convert_units (1234, 9876, wt_kilograms);
or
INSERT INTO tmp_table ( ..., weight_val, ...) VALUES ( ..., convert_units (1234, 9876, wt_kilograms), ...);
I can't just look at the code which could be any valid ID. I'm not even sure of the order of the arguments. I hope you have instructions on how to use the function.
If the function is in a package named pk_xyz (a different package to the one in which you call it), add the name of the package, like this
wt_kips := pk_xyz.convert_units (1234, 9876, wt_kilograms);
-
How to use the Print Screen function?
I've seen various descriptions of how to use the print screen function.
It would be nice to actually tell one that works. None have worked for me.
[Fn] and Prt SCr does not work.
CTRL and Prt SCr does not work.
CTRL, Alt, and Prt SCr does not work.
[Fn], Ctrl and Prt SCr does not work.
If anyone knows the correct method to activate the screen capture function which would be a good thing.
From the looks of things, HP has a big problem with this function.
Here's a microsoft articleon the use of the screenshot function.
This should answer your questions.
Thanks for taking a peek.
-
How to use the node to call a library function to convert C++ source codes
Hi all
There are two dll name 'QMSL_WLAN_Transport.dll' and 'QCAMSL_MSVC10R.dll' and some codes c ++ to connect to the DUT. The two DLLs work together for communicaite with the DUT.
I am confused as how to use the node to call a library function to load the 'QCAMSL_MSVC10R.dll' function as
g_hResourceContext = QLIB_ConnectServer_UserDefinedTransport((HANDLE) USER_HANDLE, UserDefinedSend, UserDefinedReceive, UserDefinedFlushTxRx, true, true);
It seems that 'UserDefinedReceive, UserDefinedSend, UserDefinedFlushTxRx' Processaddress? And "UserDefinedReceive, UserDefinedSend, UserDefinedFlushTxRx"'s functions in 'QMSL_WLAN_Transport.dll '.
UserDefinedReceive = (_UserDefinedReceive)GetProcAddress(hUDT,"UserDefinedReceive"); UserDefinedSend = (_UserDefinedSend)GetProcAddress(hUDT,"UserDefinedSend"); UserDefinedFlushTxRx = (_UserDefinedFlushTxRx)GetProcAddress(hUDT,"UserDefinedFlushTxRx");
Attached DLLs and C++ code snippets.
Need help.
Thank you.
These parameters are reminders - pointers to functions that are called by the DLL - and there is no way to duplicate this purely in LabVIEW. Search this forum for the word "recall" and you will find similar questions (for other DLLs). You will need to write your own DLL (in C, C++, etc.) that implements these functions and provides a way to transfer data to LabVIEW.
-
How to get the functionality of the Plugin BB10 webworks development using phonegap.
Hi all
How to get the functionality of the Plugin BB10 webworks development using phonegap.
Thank you all
Here is a link to the documentation specifically: http://docs.phonegap.com/en/2.6.0/guide_plugin-development_index.md.html
We will update the things little when we adopt a more close relationship with Cordova.
-
How to use the @accum function in the calculation script
Dear all.
I'm new in essbase - calculation script so don't know how to use the @accum function.
I want the aggregation value of child to parent
Hierarchy
Product
100 > Storage Dimensions marked as stored (marked as intentionally as I want to calculate the value using the calculation script)
100. 10 (+)
100-20 (+)
100-30 (+)
I'm trying calculation Script
100 = @Accum (@children("100"), jan: Feb);
It works when I use below
100 = @Accum("100-10",Jan:Feb);
Error:-number of Dimensions [1] does not match number of gen/lev [3] office [@Dim]
Don't know how I can roll up to an aggregate value of all the members of the child to the parent.
you do this more difficult it must be. If you want to accumulate up to 100 then you could just make your calc
'100 '.
but that would be only 100, to make the OU any dimension would
AGG (Product);
Or better yet
AGG (Product, Market);
-
How to use the rpad, lpad or substr function in the out put files in oracle plsql?
Hi all
Declare v_account varchar2(30) := '01-000-000-0000-000-0000 '; v_WIP varchar2(30) := '123435'; v_code varchar2(30) := 'PURCHASE_PRICE_VARIANCE'; v_dr number:=248.8; v_cr number:=248.8; Begin dbms_output.put_line(' Account Segments '||' '||' WIP Entity Name '||' '||' Accounting class code '||' '||' Accounted DR '||' '||' Accounted CR '); dbms_output.put_line('----------------------------------'||' '||'----------------------'||' '||'--------------------------------------'||' '||'-------------------'||' '||'------------------- '); dbms_output.put_line(rpad(v_account,30)||rpad(v_WIP,25)||rpad( v_code,34)||' '||rpad(v_dr,20)||rpad(v_cr,20)); End;
Out to
Account Segments WIP Entity Name Accounting class code Accounted DR Accounted CR ---------------------------------- ---------------------- -------------------------------------- ------------------- ------------------- 01-000-000-0000-000-0000 123435 PURCHASE_PRICE_VARIANCE 248.8 248.8
But if I v_code value is "ABCDGE" then
Account Segments WIP Entity Name Accounting class code Accounted DR Accounted CR ---------------------------------- ---------------------- -------------------------------------- ------------------- ------------------- 01-000-000-0000-000-0000 123435 ABCDGE 248.8 248.8
can you please help me how to solve this type of questions?
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
Thank you
If you do not have it still works, you can use the code below.
This is based on the details below, you have given
Account Segments--> left-aligned--> to 26 characters
Entity name WIP--> Center--> 18 characters length
Accounting--> left-aligned class--> character length 28 code
NTS DR--> Center--> 15 character length
NTS-> Center CR--> 15 character length
I used the function line given by Karthick_Arp.
Add the function below to your package:
function align(p_str in varchar2, p_justify varchar2, p_size integer) return varchar2 is l_str varchar2(4000); l_temp number; l_temp_1 number; l_left number; l_right number; begin case p_justify when 'RIGHT' then l_str := lpad(p_str, p_size); when 'LEFT' then l_str := rpad(p_str, p_size); when 'CENTER' then l_temp := p_size - length(p_str); l_temp_1 := l_temp/2; l_left := floor(l_temp_1); l_right := ceil (l_temp_1); l_str := lpad(' ', l_left) || p_str || rpad(' ', l_right); else raise_application_error(-20001, 'Invalid parameter for p_justify specified -- ' || p_justify); end case; return l_str; end;
Then copy the Sub lines to your code.
fnd_file.put_line(fnd_file.output,align('Account Segments','CENTER',26)||' '||align('WIP Entity Name','CENTER',18)||' '||align('Accounting class code','CENTER',28)||' '||align('Accounted DR','CENTER',15)||' '||align('Accounted CR','CENTER',15)); fnd_file.put_line(fnd_file.output,'--------------------------'||' '||'------------------'||' '||'----------------------------'||' '||'---------------'||' '||'---------------'); fnd_file.put_line(fnd_file.output,align(nvl(v_account,' '),'LEFT',26)||' '||align(v_WIP,'CENTER',18)||' '||align(v_code,'LEFT',28)||' '||align(v_dr,'CENTER',15)||' '||align(v_cr,'CENTER',15));
Once the above code 2 is added to your code, please compile the package and run the concurrent program. Check your output.
See you soon
AJ
Maybe you are looking for
-
I used to have a bar at the top of Firefox, where I could shoot down my bookmarks menu. Who has disappeared. Ask "where are my favorites?" lead to useless as answers "how to bookmark a page." It has been suggested to click on the menu icon (you have
-
Clean the concert of dual core 2.4 Install windows 7 Dell XPS 430, drivers RAID DO RAID the relationship. Two 1 TB drives, WD Black Cavier. 1. I wanted to know if I should format the OS drive first, before installation or installation? 2 should I let
-
I have Conexant HD external speakers. Usually they are turned off. I need to write a VB program that uses the internal speaker. I don't know how to write the program. What I don't know is how to access the internal speaker. I can't find any icon t
-
Error message - cartridge in the slot on the left is not intended for this printer
HP Photosmart C5280 All-in-one has been arrested and brought to the college for the summer. Now, the error message above is displayed. The 75 cartridge is correct and a real HP that worked previously. Removed and reinstalled the cartridge, turned
-
Can damage the batteries or AC cause overheating?
I just cleaned my vents and fan and I still think that the laptop (Pavilion dv7 4000 series) is warm. When it works on battery it 75 - ish and when I plug the AC it get 85 + degrees. Is it possible that a damaged batters or AC adapter / CC causes muc