DRM Import, Action Script
Hi All,
I am new to Hyperion DRM 11.1.2, I am confused about concepts such as metadata and data still not able to understand difference between them. What I understand is all Versions hold is set of independent hierarchies which have nodes and their property values, which is nothing but metadata.
Please help me understand difference between data and metadata?
There are different task groups like Import, Action script and Migration Utility all the these are essentially used for importing metadata and data in the DRM Application.
Migration Utility - Provides the ability to bulk load metadata and security objects in DRM applications. Other operations which can be performed in migration utility are extract and difference.
Import- It provides a way to import data in DRM Applications, but it creates new version after import
Action Script - Used to process a bulk set of changes in an automated fashion.
Can anyone help me understand best case scenario for when to use which utility to import metadata and data?
Thanks in advance.
Regards,
Aniket
Migration Utility: When you are trying to Export/Import Properties, Validations, Export Definitions, Import Definitions etc to an XML or from another server.
Import: This function Imports a whole new Version once you have the load file in a specific Import format that you define.
Blendor: The Version you imported Can be blended with the Actual current existing version
Action Script: This is used when updating the current Hierarchies. Like Adding nodes, updating Properties etc.
Similar Messages
-
Is Import to DRM by action script the only way to build hierarchies?
Hi,
If I am getting by source file as a big generation wise excel format and even properties in excel sheet with large number of custom property field values.
Is making a Import action script out of the excel to load to DRM is the only way, or do we hav any other option to load these hierechies to DRM from excel without going fpr manual efforts in making scripts one by one for large no of dimensions.hi, the import functionality can build hierarchies. It has a draw back of only building NEW hierarchies. So if your source master hierarchy is external to DRM, action script or API is best way, if it is to be automated. If this is only be imported/updated once a month the import can be used to create the "new" version. You can use then blend update your old version.
-
Using FDM Import Action script to import data from ERPI table "tdataseg_t"
Hi Experts
I have extracted data from EBS using ERPI and loaded into the intermediate table "tdataseg_t"
I am trying to use Import Action script within FDM to extract data from "tdataseg_t" table (where ERPI extract data is stored) as i could not use the normal import script.
Requirement : I have to restrict the custom 2 dimension based on Account dimension.
Dim Account
Account = ???? ( i am struck here)
If Account = 1000 to 5000 Then
Custom2 = Right( product , 5)
End If
but , I could not find the exact syntax to call the Account dimension from the "tdataseg_t" table.
Please Advise
Thanks
Sak
Edited by: user12292415 on Feb 26, 2012 1:19 AMHello,
Importing data via a manual script defeats the purpose of ERPi. As it will not provide you an audit trail, drill-through/drill-back, etc.
Your best bet is to use the default settings by the software. Just because it returns more records than you want is not a bad thing. You can conditionally change/alter the information either in an EventScript inside of FDM or by mapping the un-needed information to IGNORE.
Thank you, -
Importing Action Script 3 files
Hey guys I wrote a very simple actionscript 3 file outside of a ActionScript 3.0 project in Flash CS5.5, I'm trying to figure out how can I import my as3 file. So how can I do that?
To add the code to into the file, first create a layer in the timeline and label it "Actions" or something that tells you the code will be in that layer. Then select the first frame (if that is the frame you want it to be in) while the Actions panel is opened. Once you have selected the frame, any code you type/copy into the Actions panel will apply to that frame, and potentially all other frames down the timeline from it (depends on the code you enter... some code only applies to that frame, such as a stop() command or an event listener assignment)
-
How to load data with carriage return through DRM action script ?
Hello,
We are using DRM to manage Essbase metadata. These metadata contain a field for member formula.
Currently it's a string data type property in DRM so we can't use carriage return and our formula are really hard to read.
But DRM support other data type property : memo or formatted memo where we can use carriage return.
Then in the export file, we have change the record delimiter to an other character than CRLF
Our issue : we are regularly using action script to load new metadata => How to load data properties with carriage return using action script ? There is no option to change the record delimiter.
Thanks!Hello Sandeep
here what I want to do through action script : loading a formula that use more on than one line:
Here, I write my formula using 4 lines but action script cannot load since one line = 1 record.
ChangeProp|Version_name|Hier_name|Node_name|Formula|@round(
qty*price
*m05*fy13 -
Hey Guys I love the idea and I know it is a daunting task to convert .fla into html5. I am working on removing any action script in any of my .fla files so that, 1: they may convert, but in doing so I realized that It may be possible to create a seperate stand alone action script...place it in the server, and the import said script into html5 the similar way you would when calling an image href, but the problem is... How if at all would I be able to import script into html5, and/or java for each individual scene related to a large .fla? My thoughts are I would need to create a new individual (Java class's) related to each individual action script scene and then import those into the html5 code! I am on track with the thought, or am I just crazy...
In order to accheive this I would need to import the action script standalone into the root folder any recommendations?
For example: stop(); frame 10 scene 1 layer Bck_Ground
Then file name would be: layer 1 Bck_Ground.AS
Java class 1Bckground. js
.requires(
bck_ground.as
This only as an eample of thought not real code!
and or the ssame ideal in HTML5?
Could this work?
Thanks JamesThen no offense to Adobe, but this to me is an intermediate way of creating an animated gif...Granted if I wanted to create a animated gif from.swf I have to go through several steps, but at least I don't get the annoyance of ".fla not supported"! My input to Adobe in your Wallaby creation is this...Please consider the creation of a re-write enging for pre-existing action script that will interpelate the data of each scene, and layer directly from the .fla, and then import it into several native languages that the user can select such as java, html5, possibly C, xml, and be compatible for Mobile Web, IOS, SDK, and Stand-Alone Java!, and export all media assets into a seperate file folder with the a fore mentioned extensions placed and housed with coresponding media...After-all none of us Flash Heads really want to re-write code the hours of code we spent developing for a product that can't or won't be seen by mobile applicatioins. If you can do that I would pay my top dollar for it...and I would think everybody else would agree with me! Thanks for your hard work...keep plugging along!
James -
Hi,
I am facing a very strange issue.
When I am running an action script that has around 20K or more records, I am unable to save the log file.
Sometimes the Save Log window appears after 20-25 mins and sometimes it doesn't appear at all.
It used to work fine in v9.
Any help/suggestions will be highly appreciated.
ThanksHi Shashank,
Which version and release are you using? 11.1.2.2 version upto the .305 release has this trouble, if i still remember well.
.306 solves this issue.
The only thing that could work is by breaking up the number of records into smaller chunks.
One more thing which can try is ... Running the script from Batch client and see if the log file captures it. not sure about this one though if the log will capture the error records. Try out one record which you think would error out and see if the log file captures it.
Denzz -
Action script though batch client
While importing data using Action Script, if we have properties with same label name which belongs to different namespaces, DRM is not able to identify which property it should actually point to. Generally when we run the script from UI, we manually select the correct property in UI.
Now, what can be done to achieve the same functionality when we run the script from batch client.
Suppose we have two properties, with same label name as ACCOUNTCODE which are present in two different namespaces,
ESSBASE.ACCOUNTCODE
CUSTOM.ACCOUNTCODE
Now while importing the action script, system is unable to determine to which ACCOUNTCODE property it should point. What changes in action script or any other places can be done to make the system enable to point to the correct property.Our client wants it this way only (having same property labels across Namespaces). Is this possible to have Property Names or Fully qualified Property Names instead of Labels in hierarchy export of DRM?
-
Action script and default values
While importing data through action script, even if the property value present in Action script is same as default value defined at the property level , DRM marks that property value as Overridden in the hierarchy.
Is there any possible way to avoid this?Default value is set when no value is entered for the property. As soon as you enter a value for the property thru action script or manually, its overridden even though the value is the same which was set at the property level
Right click on the property and do a remove value then the icon should be set to default again.
If you want to restore multiple properties back to default, then use remove all below at the rollup level -
Error in phase of assigniment Action Script
Hello Guys!
I created the following action script named "sketch.as" :
package
import flash.display.Sprite;
import flash.events.MouseEvent;
import com.adobe.images.JPGEncoder;
public class sketch extends Sprite {
public function sketch():void {
//this is your documentclass constructor
stage.addEventListener(MouseEvent.MOUSE_MOVE, moveCursor);
Mouse.hide();
function moveCursor(event:MouseEvent):void
pencil.x = event.stageX;
pencil.y = event.stageY;
var canvas_mc:MovieClip = new MovieClip()
addChildAt(canvas_mc, 0);
canvas_mc.swapDepths
function sketch()
canvas_mc.graphics.beginFill(0xFFFFFF);
canvas_mc.graphics.drawRect(0, 0, 600, 500);
canvas_mc.graphics.endFill();
canvas_mc.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
canvas_mc.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
canvas_mc.addEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function startDrawing(event:MouseEvent):void{
canvas_mc.graphics.lineStyle(1, 0, 1);
canvas_mc.graphics.moveTo(mouseX, mouseY);
canvas_mc.addEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function stopDrawing(event:MouseEvent):void{
canvas_mc.removeEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function makeLine(event:MouseEvent):void{
canvas_mc.graphics.lineTo(mouseX, mouseY);
sketch();
var serverPath:String = "";
function createJPG(m:MovieClip, q:Number, fileName:String)
var jpgSource:BitmapData = new BitmapData (m.width, m.height);
jpgSource.draw(m);
var jpgEncoder:JPGEncoder = new JPGEncoder(q);
var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
var header:URLRequestHeader = new URLRequestHeader ("Content-type", "application/octet-stream");
var jpgURLRequest:URLRequest = new URLRequest ( serverPath+"jpg_encoder_download.php?name=" + fileName + ".jpg");
jpgURLRequest.requestHeaders.push(header);
jpgURLRequest.method = URLRequestMethod.POST;
jpgURLRequest.data = jpgStream;
var jpgURLLoader:URLLoader = new URLLoader();
//jpgURLLoader.load(jpgURLRequest);
navigateToURL(jpgURLRequest, "_blank");
save_btn.addEventListener(MouseEvent.CLICK, saveBtnPress);
save_btn.addEventListener(MouseEvent.ROLL_OVER, saveBtnOver);
save_btn.addEventListener(MouseEvent.ROLL_OUT, saveBtnOut);
function saveBtnPress(e:Event):void
createJPG(canvas_mc, 90, "sketch");
function saveBtnOver(e:Event):void
Mouse.show();
pencil.visible = false;
function saveBtnOut(e:Event):void
Mouse.hide();
pencil.visible = true;
Lately I created a file .fla in the same root of the file .as naming it "sketch.fla"
When I try, in the Adobe Flash CS4 Professional screen, to assign to ".fla" in the properties Publish my action script, the following message appears:
“A definition for the document class could not be found in the classpath, so one will be automatically generated in tha SWF file upon export.”
Obviously, it doesn’t function
Could somebody help me??i don't understand, "When I try, in the Adobe Flash CS4 Professional screen, to assign to ".fla" in the properties Publish my action script, the following message appears:"
but i do understand that error message. you need to assign the document class for your fla. in the properties panel with the backstage selected, assign sketch in the class or document class field. -
Using mx components in Action Script project in Flash Builder
Hi
I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
The as file looks like this:
package
import flash.display.Sprite;
import mx.controls.Button;
public class as_test_project extends Sprite
public function as_test_project()
var btn:Button = new Button();
btn.label = "test";
addChild(btn);
I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
I still get errors like :
Description Resource Path Location Type
Unable to resolve resource bundle "core" for locale "en_US". as_test_project Unknown Flex Problem
Have then tried added various Bundles folders like
C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
to the source path and library path, but I still get the errors.
WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?Thank you for your quick reply.
But how then can I obtain the fl.controls components and use them in an Action
Script project in Flash Builder 4?
I don't have CS3 or CS4 (the flash authoring tool) installed.
Is there an SWC somewhere to be downloaded? -
Hi.
I am using NetConnection and NetStream to play back flv in Flash Pro CS5.5, and trying to add cue point to trigger events using Action Script, and to automatically rewind to the start at the end. There is no problem to trigger events via AS when the cue points are embedded, but i am unable to add cue points using AS.
When i use an FLVPlayback component, there is no problem to add cue points (http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65586-7feb.html) and to loop the playback using autoRewind (and fl.video.VideoEvent.AUTO_REWOUND which i got from Nafem at http://forums.adobe.com/thread/857036).
However, i am failing to use this same code w/a netConnection and netStream, and would appreciate any help.
thanks.Hello,
Well, I've got some help from another helpful fellow at macscripter.net and I have a working script - albeit a bit more specific (ie, hardcoded extensions to look for) and a different approach.
Here's the script:
on adding folder items to thisFolder after receiving addedItems
repeat with movieFile in addedItems
set {Nm, Ex} to getName_andExtension(movieFile)
set movieFilePath to (thisFolder as text) & Nm & ".avi"
set subtitleFile to (thisFolder as text) & Nm & ".srt"
if Ex is ".srt" then
try
tell application "iFlicks"
import (movieFilePath as alias) with gui
end tell
end try
else if Ex is ".avi" then
if my FinderItemExists(subtitleFile) then
try
tell application "iFlicks"
import (movieFilePath as alias) with gui
end tell
end try
end if
end if
end repeat
end adding folder items to
on getName_andExtension(F)
set F to F as Unicode text
set {name:Nm, name extension:Ex} to info for file F without size
if Ex is missing value then set Ex to ""
if Ex is not "" then
set Nm to text 1 thru ((count Nm) - (count Ex) - 1) of Nm
set Ex to "." & Ex
end if
return {Nm, Ex}
end getName_andExtension
on FinderItemExists(thePath)
try
set thePath to thePath as alias
on error
return false
end try
return true
end FinderItemExists -
Hi All,
I have come across situation, here are the details
User creates an action script but he/she is not aware of signature of the properties like "Derived overridable", Inherited and Default values, user creates an action script based on input file.
but here bottle neck moment is while executing action script, it has to skip rows in action script which has value equal to Derived value, Inherited value or default value.
Your advice is highly appreciable
Regards,
Phani.Sainath,
Referring admin guide as mentioned by Craig is good option.
Let me give you few steps that I did in one of my projects.
Open command prompt and navigate to the path "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client".. here you can see many see other utilities as well.
drm-batch-client-credentials.exe is the one used to encrypt the userid and password.
open this in command prompt and then choose the application to which you want to encrypt the password.
then remove userid and password from batch script then run it... it does what you want -
Action Script and button Behavior
Imported a bmp as png, made it into a movie clip. Setup the
AS to call for page 4. It works great. I would now like to have a
text box come up on the rollover. I tried to nest the mc into a
button. I can make the text box work but the script won’t
work when I click.
Could you refer me to a resource that would explain the
relationship between the two. Or is there another way to do this.
So the text box says “Click here for more Info”.
Can’t click to execute Action Script, I think it is not
addressable because it’s nested in the button.
If I reverse the nesting then the text box in the over frame
won’t execute.Mjddoyle wrote:
> Imported a bmp as png, made it into a movie clip. Setup
the AS to call for page
> 4. It works great. I would now like to have a text box
come up on the rollover.
> I tried to nest the mc into a button. I can make the
text box work but the
> script won?t work when I click.
> Could you refer me to a resource that would explain the
relationship between
> the two. Or is there another way to do this.
> So the text box says ?Click here for more Info?. Can?t
click to execute Action
> Script, I think it is not addressable because it?s
nested in the button.
> If I reverse the nesting then the text box in the over
frame won?t execute.
Sorry, a bit chaotic and i can't really get your arrangement.
Please upload what you have so far, we will go from there.
There is so many ways to achieve the same thing in flash that
there
is no point going into it, could turn up suggested solution
totally
does not suit your project. Need to see what you have so far.
Upload to your server and provide URL for us to check.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Problem with action script from Schewe and Frasier book.
I am working on a Photoshop CS3 action script to
open raw files, do a couple of modifications
in Camera Raw, exit camera raw and save
the file as a jpeg.
I think this should work, because I am working
on an example out of "Camera raw with Adobe
Photoshop CS3" by Schewe and Frasier which
shows the step recorded.
See page 344 of Schewe and Frasier.
In figure 9-11 you see, after the open
statement, 10 lines of details like
"As camera raw"
"Model:Canon 350d" etc.
I get the file path and name line, but
none of the other details reflecting
actions in Camera Raw.
The problem is that in setting up the action, none
of the steps done in camera raw after I do the
open get recorded.
And it works in my old CS version !
Out of frustration I repeated the action
script creation in my old CS version and
it worked fine.
Any idea where I am screwing up ?Crappy format justification:
I sometimes have a day of family
type pictures that are in raw format
that I want to put up on the internet
quickly. I would like to be able to
apply the "Auto" feature, as in general
it seems to be pretty good for something
quick.
OK, it sorta works in CS, go here
http://www.angelplace.net/photos/sample.jpg
It sets up all of the details and gets the
"As camera raw" but opens the .dng file
rather than the Camera raw window.
The point is, these important settings
seem to be saved, which does not happen
in CS3.
Maybe you are looking for
-
Hi, I'm using FM F4IF_INT_TABLE_VALUE_REQUEST to show a pop-up with my internal table values. The internal table has 3 fields, ATINN, ATZHL and a description field ATWTB. ATINN and ATZHL are needed to complete the unique table key, however this FM
-
Macbook Pro and External Monitor flashing?
I am using a Macbook Pro with an External Dell 1908fp 19" monitor via a Thunderbolt to DVI adaptor all fine. However the annoying niggle I have is that the monitor which seems fine, keeps flashing intermittently on and off randomly?!? Would anyone kn
-
2013, Resources do not synch if from MS Project to SharePoint task list
SharePoint and Project Professional 2013. I am synching MS Project with a SharePoint task list. Tasks synch just fine, but I continually get the synch error "We can't synch resource 'resourcename' to the tasks list because the resource does not exi
-
Macbook wont open up to mac platform, goes directly to windows platform
When you turn on macbook it will not allow you to go to mac platform. It goes directly to windows platform.
-
How to install sockets for php
I am running torrentflux and am trying to run fluxd and some other stuff that requires "sockets". Here is what torrentflux says: Server OS: Linux PHP-Version: 5.2.6 sessions: yes pcre: yes sockets: no safe_mode: off allow_url_fopen: on register_globa