How to use event FDM (vb) scripts in FDMEE
Hi all
In my application, I have a few event using VBA scripts.
When I copied the same script of old FDM to my new app FDMEE it did not work.
Please let me know what are the steps I need to do to make the old scripts to work in the new application FDMEE.
Thank you
HAPPY.
It could be that your adapter HFM is not registered correctly.
I can remember the API from VB FDMEE is saved with the HFM adapter.
I would recommend the deregistration of the adapter and save it again (example):
Unsubscribe from the command line-> E:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\bin\UnregisterHFM.vbs
Command line registry-> E:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\bin\RegisterHFM.vbs domain\hfmdcomuser password E:\Oracle\Middleware\user_projects\epmsystem1
You should get a message like this:
HFM finished recording adapter
...
FDMEE VB API completed registration
Also, try to use a VB script in a custom script to ignore the problem is related to the script BefImport to create the object.
Tags: Business Intelligence
Similar Questions
-
How to use strCurrency when writing scripts in workbench FDM
Gurus,
I have a flat file that has rows for the currency, duration and year
What I'm trying to do is to read the currency, period and year specified in the file and compare it with the currency, period and year selected POV.
If all three corresponding, the file will be imported if it should fail.
I am able to compare period and the year of file with POV however I don't know how I can read currency set by the location.
Can we use using strCurrency? If so, can anyone suggest how?
Thanks for the help in advance.
Hello
You can use strCurrency to get the coin.
Here you have an example:
Void Test_Currency()
'------------------------------------------------------------------
"Oracle Hyperion FDM CUSTOM Script:
'
"Created by: hypadmin"
"Creation date: 2014-02-04 04:48:55.
'
' Object:
'
'------------------------------------------------------------------
' Declare local variables
Dim strCurrency
'Get the profile of the current location.
With the API. POVMgr.fCheckLocProf (API. POVMgr.PPOVLocation)
strCurrency = .strCurrency
Ends with
MsgBox strCurrency
End Sub
-
How to use event parameters?
Hello
I did simple EEM applet for the shutdown of the port to which cases of storm of device control.
It's look like this:
Event Manager applet shut-storm
control of storm events
1.0 cli python action local bootflash:shut - storm.py
and the script is
Cisco import CLI
Cisco import cli
import sys
import datetime
time of import
import re
whitelist =]
Ethernet1/1"."
'Ethernet1/2']
shlog = CLI ('sh logg last 100 | I ETHPORT-5-STORM_CONTROL_ABOVE_THRESHOLD: last 3', False) .get_output)
= Pat re.compile (r'(\d {4} \w{3} \d{2} \d\d:\d\d:\d\d) \S+ \%ETHPORT-5-STORM_CONTROL_ABOVE_THRESHOLD: the traffic in the port (Eth\S + |)) (([Pp] o\S +)')
now = datetime.datetime.now)
Delta = datetime.timedelta (second = 180)
for l in shlog:
mobj = pat.match (l)
If mobj:
port = mobj.group (2)
logTimeStr = mobj.group (1)
time.strptime = logTimeObj (logTimeStr, "%Y %b %d % H: % m: %S") ")
logTime = datetime.datetime(*logTimeObj[:6])
If now logTime<>
If port not on the white list:
CLI ("conf t")
CLI ("interface %s" % port)
CLI ("shutdown")
But the python script is a bit complecs because it is located and must find some interfece triggered the newspaper.
Is it possible to use event parameters? And how?
I know that they are:
SW1 # sh event handler det events history
Time of the event event Event Type slot ID policies
32 09/30/2013 15:40:51 storm_control active (1) shut-storm
interface = ' Ethernet1/16', cause = 'storm-control ".
You should be able to:
bootflash:shut local python CLI - storm.py $interface $cause
However, the appeal of scripts Python applets EEM on Nexus is not officially supported, so your mileage may vary.
-
How to use Event Viewer to erase the mistakes/Vista
How to use the event viewer.in performance information a tools / tools... built a lot of mistakes over time... Vista Home Basic to system op. also it would help to speed up my computer?... can someone help me please...
Hello
To add to the good advice of dax1792:
MyEventViewer can be verified at the time of the EVENT or the blue screen (BSOD) within a second
then the EVENT or time of the BSOD for more information on the possible cause - see TIP.MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
TIP - Options - Advanced filter allows you to see a period of time instead of the whole of the record-
Set it a bit before and after the time of the EVENT or the BSOD.
http://www.NirSoft.NET/utils/my_event_viewer.htmlThis ulilty also lets you clean (remove) one, several or all the logs in Event Viewer. Only
real reason to remove them would be to make it easier to read all the new events - those recording after
compensation.------------------------------
TechNet - observer of events
http://TechNet.Microsoft.com/en-us/library/cc766042.aspxTechNet - clear an event log
http://TechNet.Microsoft.com/en-us/library/cc722318.aspxI hope this helps.
--------------------------------------------------------------------------------------------
Rob Brown - Microsoft MVP<- profile="" -="" windows="" and="" devices="" for="" it :="" bicycle="" -="" mark="" twain="" said="" it="">-> -
How to use event.target.name in AS2?
Thanks kglad, I could see how event.target.name in AS3 could make a button to load a movieclip with the same name.
I do the same thing now in AS2, but don't know what to write instead of event.target.name.
And so, at the present time, each button push information in a table and then a function that uses to decide what movieclip to tie to a holder after that he faded once and then fades new...
BEGINNING OF THE GALLERY OF IMAGES *.
Add images to the holder
imgholder.attachMovie ("img0", "image0_0", 1).Table
var nextLoad = ['img0'];Listeners of BTN
img5.onRelease = function() {trace (nextLoad); nextLoad.pop (); nextLoad.push ("img5"); btnClick()} / / written on 1 line
img4.onRelease = function() {trace (nextLoad); nextLoad.pop (); nextLoad.push ("img4"); btnClick()}
img3.onRelease = function() {trace (nextLoad); nextLoad.pop (); nextLoad.push ("img3"); btnClick()}
img2.onRelease = function() {trace (nextLoad); nextLoad.pop (); nextLoad.push ("img2"); btnClick()}
img1.onRelease = function() {}
nextLoad.pop ();
nextLoad.push ("img1");
btnClick()
}
img0.onRelease = function() {}
nextLoad.pop ();
nextLoad.push ("img0");
btnClick()
}
The function of btn
function btnClick() {}
trace ('click');
var myImgTween:Object = new Tween (imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true ");
myImgTween.onMotionFinished = function() {}
fadeOutImg();
}
}The function part of II btn
function fadeOutImg() {}
trace ("fadeOutImg");
imgholder.attachMovie (nextLoad, "image1_1", 1);
var myImgTween:Object = new Tween (imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true ");
}I know I should be able to push the button name in the table, but I meet to use a string... I don't know that my code is heavy! But it works. I tried to push as the name of the button but it end by including the reference to full step.Is there a cleaner way to do this using event.target.name?Thanks for the research!There is no event.target in AS2. However since AS2 has no way to remember the scope object where the target object, you can use this to your advantage to get the name of the target using the command 'that' in the function when you use the format above "mc.onPress = myfunc". FYI, the delegate popular workaround solution, enabled when you called 'this' in the function, you can retrieve the scope object where the target instance. So without her help, "this" will return the name of the target object. In any case, this is the code that you can use:
imgholder.attachMovie("img0","image0_0",1);
var nextLoad = ['img0'];
img5.onRelease = onImgRelease;
img4.onRelease = onImgRelease;
img3.onRelease = onImgRelease;
img2.onRelease = onImgRelease;
img1.onRelease = onImgRelease;
img0.onRelease = onImgRelease;
function onImgRelease (): Void {}
nextLoad.pop ();
nextLoad.push (this._name);
btnClick();
}
The function of btn
function btnClick() {}
trace ("Click");
var myImgTween:Object = new Tween (imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true ");
myImgTween.onMotionFinished = function() {}
fadeOutImg();
}
}
The function part of II btn
function fadeOutImg() {}
trace ("fadeOutImg");
imgholder.attachMovie(nextLoad,"image1_1",1);
var myImgTween:Object = new Tween (imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true ");
}
-
Drop-down list - how to use event handler?
I can't with setting the readonly (via Javascript) in the adjacent text box property to my drop-down list when the index value is a number.
I tried to use MouseUp and MouseDown OnBlur even... but the readonly does not always get the value true or false,.
This could be a timing problem? The text box that I am trying to control is the control tab order in the list of controls for this page.
This same logic works very well in the MouseUp handler for checkboxes. So I was just wondering if it is a bug or should change the my implementation to accommodate drop-down lists? For example, should I move the logic to the handler Enter the text box instead? An own eventhandler of the control set read-only when it is the active form field does
-Not quite (it comes after the events of mouse, but before the blur event),
but it should do for your application. The process of the event is complex. You can
Learn more on this subject in the reference document on the JS API, under event - form
processing of the event.
-C' is correct, although it is not a bad idea to do it explicitly anyway.
Friday, October 24, 2014, at 16:51, syswizardx, [email protected]>
-
How to use events from time?
I tried to create a function of weather events, but something is wrong, check this out:
public void randomNPCMove(t:TimerEvent):void
{
var NPCMoveDelay:Timer = new Timer (Math.random () * 1000, 1);
NPCMoveDelay.addEventListener (TimerEvent.TIMER_COMPLETE, randomNPCMove);Alert.Show ("I'm alive");
}
The previous fold was right in that you will need to call start() on your clock. You will also need to move your variable timer (NPCMoveDelay) and the creation of timer outside the service. You're currently declare it as a variable function which will disappear when the function is finished.
This documentation of timer can be useful, see the examples:
http://www.flexafterdark.com/docs/ActionScript-timer
I hope this helps...
Ben
-
How to use the import with FDM with adapter ERPI script?
Hello
I use FDM and ERPI 11.1.2 to load data of EBS R12 to planning 11.1.2
Loaded from eBS data for a YEAR.
I realized I could use an import script to manually calculate the amount with the periodic_net_cr and periodic_net_dr fields.
But how to use this import script? Because in my import in FDM format, I do not use a file but directly the adapter, if no field "Expression".
Thanks in advance for your help
FannyYou must use the ImportAction script.
-
How to use a script to validate the same field with different addresses in different pages?
I have a script that is applied to a field 'email '.
The script asks to check the address, if it is not well written.
But this field is present in many pages for different guests filling in this information.
How can I adapt this script? (without changing the name of each field of each page and therefore to change the value in the script to a page that ...)
function confirm_email_OnValidate (element)
{
Event.RC = confirm_email_Validate (Element, event.value);
}
function confirm_email_Validate (Element, newvalue)
{
If (newvalue.length < = 0)
Returns true;
Model = newvalue.replace (/ [a-zA-Z0-9] + ((\.| _ | \-) [a-zA-Z0-9] +) * @([a-zA-Z0-9] +(\.| \-))+[a-za-Z]{2,}/, «»);)
If (Dummy.length! = 0)
{
InputError (element, 'Check this address');
Returns false;
}
Returns true;
}
function confirm_email_Format (element)
{
Returns true;
}
You can use the eMailValidate built-in function to simplify this. For example, you can use the custom following validation script:
if (event.value && !eMailValidate(event.value)) { app.alert("Check this address"); event.rc = false; }
It provides a validation better than the regular expression that you have demonstrated.
Without knowing how you use the parameter of the element and the operation of the function InputError, it is difficult to offer something more.
-
How access Custom Event using AS3?
Hi all
Maybe it's the Monday morning and my brain is still hazy, but I can't seem to figure out how to set custom using AS3 events.
I have a GridRow custom itemRenderer and reported the event by using the appropriate metatags.
Then I create the GR element dynamically using the AS3 instantiation, but the event is not available for selection in the IntelliSense dropdown menu.
Take the following for example:
<?xml version="1.0" encoding="utf-8"?> <mx:Grid xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:renderers="com.brassworks.renderers.*" creationComplete="componentInit();" > <mx:Script> <![CDATA[ private function componentInit():void { newRow :MyRow = new MyRow(); //newRow.myEvent is not an available option to set } ]]> </mx:Script> </mx:Grid>
Then the itemRenderer:
<?xml version="1.0" encoding="utf-8"?> <GridRow xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:classes="com.brassworks.components.classes.*" creationComplete="componentInit();" > <mx:Metadata> [Event(name="myEvent", type="flash.events.Event")] </mx:Metadata> <mx:Script> <![CDATA[ private function itemChanged(event:Event):void { Alert.show("test"); this.dispatchEvent(new Event("myEvent")); } ]]> </mx:Script> <mx:GridItem> <mx:TextInput change="itemChanged" /> </mx:GridItem> </GridRow>
How can I go on the definition of the handler method for the custom on the instantiated objects events? Do I need to do that through the AddEventListener() method? This means that events are not exposed in ActionScript, as they are in MXML? (In MXML, all I have to do is < MyRow myEvent = "handler (event)" / >. ")
Thank you!
-Mike
Yes, I need to do this, use the addEventListener() method.
myRow.addEventListener ("myEvent", myHandler);
I hope this helps.
Ben Edwards
-
How to use table 1 d of waveform in the Matlab Script
I use Lavbiew to make the classification of Vibration signal.
The first problem I encountered is the form of incorrect data.
The output signals are 1 d arrary of waveform. I don't know how to use the Matlab Script.
is someone can help me with this?
I really appreciate your help.
Hey beauzhang,
I hope that you are well today. It certainly seems that we lack in some problems with the different sources and data types of wells. LVM VI Express load you have emerged from a table of waveforms. So we would need to do a few things. First of all, we need to ignore the range of interests, and we must get the waveform data elements table.
I have provided an example of how we can extract the waveform in position 0 of the table and then pass the array of data values to the script node Y. I have configured the entry of the data of a table 1 d Reals node (by adding an entry and then the right of entry and select choose data type.)
If you are interested in getting the values Y and build the table like you did in the script, you need to implement a different subset of table and looping mechanism in LabVIEW code to move each item to the script individually. However, I would recommend working with the entry level instead.
I hope this helps!
-
How to machine status using events.
Hi all.
I love to create a state machine using events methos.
I have 4 functions 1,2,3,4. (event based functios) (separate void / screw)
1.i will trigger the 1 function.
then the end of the first function should trigger the following function.
..
as the machine state.
How to create this method in labview... I tried value signalling its still does not. what I want.
-
How to use the Microsoft Event Viewer to diagnose the breakdowns of the system
Unless manually modified Windows will log errors in Event Viewer. Information on these errors usually help determine which collapses and why it crashes. Often, they are used to diagnose if the computer shows a blue screen and you are unable to obtain information on the blue screen.
To run the click Event Viewer on start and start typing event viewer in the search programs and files. When the Event Viewer appears in the list, select it and run the program.
Once at the Event Viewer you need to descend to the level of the category. There are three broad categories that you want to fix the errors of. You can get to these categories by the expansion of the group Windows logs on the left side. According to newspapers in Windows, you can see Applications, security, and system. It's three groups where you want to see which crashed and why.
To start, click on the list of applications and you will see a list of events which occurred on the right side. Events fall into three categories
Information - low
WARNING - Medium
Error - high
Information events can be ignored in general these are things just information on your system. This can be an event as a disk defragmentation has been made and has been a success.
Warning events have an average level, because more often that otherwise, so it can be ignored and pose no immediate threat to your system. Caution do not generally broken systems if your computer is crashing or having problems then is not likely caused by the warning events.
The errors have a high level and if your system crashes that could be due to the error. Since we are talking about the blockages and system errors, we will focus our attention on error events.
In the screenshot, an error has been highlighted and this is what we will discuss.
At diagnosis of the fault of the system you must ensure that you first you know what time your system crashed so that you can make sure you are looking at the correct event log. The newspaper of the events above is just an example of an error and is not one which would be generally cause a system crash. It is only for purposes of dimenostrational.
Now that you have what time the system crash occurred that you want to go to the event viewer and look for the error event. Once find you it you can highlight.
Once selected, you will find information about the event just below. The first thing you want to note is the description. He will often tell you what crashed and why it crashed and is sometimes followed by an error code or at least included in the description.
The error code will help you to determine why something is a failure. You can meet the followed a string of numbers such as STOP error: 0x0000007B (0xEB82784C, 0xC0000034, 0x00000000, 0x00000000).
With the error code can be a file name or a path. Maybe it's not always what causes the error, but it does not say where the error is being generated from, important for the diagnosis of the root causes.
More information, you are able to capture the best of assistance which can often be given. Blue screens can be tricky to solve in the fact that it can be caused by thousands of different programs and features.
If you encounter a blue screen, it is important to go into the event viewer and try to capture information as to why the error occurs.
The event viewer is like your journal of computers. It keeps all this hidden information and it tells the life of computers and what tragic things happen.
This guide is intended to help you understand what is the event viewer and if you experience crashes how to know why and what causes accidents.
If you experience crashes or problems using Event Viewer please use the new post and create a thread in which the issue that you are experiencing. Don't forget if you have accidents, including the information from the logs event viewer also help us solve the problem you are experiencing.
-
How to use the Script TCL EEM in router?
Dear all,
I have a TCl Script (it's 1 to test and understand).
********************************************** TEST.tcl *******************************************
: model cisco::eem:event_register_syslog "Interface FastEthernet0/0, changed State to.
import namespace: cisco::eem: *.
import namespace: cisco::lib: *.Table game arr_einfo [event_reqinfo]
action_script enable status
If {[catch result {cli_exec $cli_fd (fd) 'enable'}]} {error $result $errorInfo}
If {[catch result {cli_exec $cli_fd (fd) 'int fa0/1'}]} {error $result $errorInfo}
If {[catch result {cli_exec $cli_fd (fd) 'shut'}]} {error $result $errorInfo}
action_syslog msg "New Port is now"
If {[catch result {cli_close $cli_fd (fd) $cli_fd (tty_id)}]} {error $result $errorInfo}
********************************************** TEST.tcl *******************************************
Can someone tell me how to use this script in router that will be used every time my interface fa0/0 he'll fa0/1 in stop mode?
Can you give me the steps to follow in the router?
Wharton are the sine qua non for the use of this?
Concerning
Concerning
Virtually any command, Yes. You can't do "?" as you can from an interactive session, but you can run all the commands EXEC and config otherwise.
-
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);
Maybe you are looking for
-
Why not * true * customization for the Cookies of Firefox?
Of course, there are cookie options. But I want to be able to individually allow ONLY some cookies while refusing others when I get out of Firefox. In its current form, it seems you can check only one that allows or deletes cookies when leaving. I us
-
Some of these sites have used xara menus (which are based on javascript) for years without problems. Because I used Firefox as my browser by default since its first release, so I would have recognized the problem immediately if it was before version
-
Is upgrade material on Satellite L655-183 possible?
Hello I want to know if I can plug a new processor, or may be a graphics card in my laptop Satellite L655-183. Thank you.
-
DVR HDD does not work under Vista, but in XP
How can I get Vista to use / play my DVR HDD...It works on XP but not on Vista.
-
I'm from the Argentina and I bought an Iphone in Miami 2 weeks ago. When I arrived to my country, I realized that the iphone did not work. There is no Apple store in the country of mi, but I am going to the Uruguay in the next few days. Can I change