Script mapping problem
Hello experts,
I am quite new to FDM and Iv'e tried to write a script of simple conditional mapping without success. for my dimension entity, in most cases, the source is ths same as target, although there are some cases where this doesn't apply and have to go to a NA_Entity. For example:
SOURCE TARGET
PE00_0001 PE00_0001
PE00_0002 PE00_0002
PE00_0003 PE00_0003
AL00_0001 NA_Entity
PE00_0004 PE00_0004
CO_HWE NA_Entity
PE00_0005 PE00_0005
......
As you can see, all the source entities that start with "PE" are equal to the entity target and any other entity not starting not not by PE must be mapped to 'NA_Entity '. I think it's quite inefficient to keep an explicit plan, so we decided to create a conditional mapping script (does not work yet) which reads as follows:
If left (varValues (15), 2) = "PE".
Result = varValues (15)
Another result = "NA_Entity."
Whenever I try to import a file I get away:
Error: An error occurred importing the file.
Details: Invalid as Clause: for card size (ENTITY) and rule (Peps)
ERROR:
Code............................................. 4026
Description... Not valid as Clause: for card size (ENTITY) and rule (Peps)
Process... clsImpProcessMgr.fLoadAndProcessFile
The component... upsWObjectsDM
Version.......................................... 1112
Thread........................................... 5416
IDENTIFICATION:
User............................................. admin
Name of the computer... CTARESULDESA2
App Name......................................... INT_IECI
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Database server... 10.228.128.168
Name of the database... FDM_INTIECI
Trust connect... Fake
Connect status... Open connection
GLOBALS:
Location......................................... Argentina-EP
Location ID... 758
Location Seg... 3
Category......................................... Reales
ID of the category... 13
Period........................................... Nov - 2013
Period ID........................................ 2013 11-30
POV Local........................................ Fake
Language......................................... 1033
User Level....................................... 1
All Partitions... True
Is Auditor....................................... Fake
I followed the guide to script and Iv'e I tried several scripts, all without success. The only solution I found is now an explicit plan where 99% of the elements map to themselves and the other card by 1% in "NA_Entity", not very friendly.
Thank you very much for your help
Santiago Ruiz.
You don't mention what version of FDM, you work with, but there should be no need for the script.
Explicit mappings are the most efficient from a performance point of view, but account given what you want to achieve, then, all you need are two 'Like' mapping entries.
the first will be mapping EP * EP * and the mapping of the second entry * to "NA_Entity" to pick up all the other codes.
Otherwise if you treat millions of records and have a performance problem, an alternative may be to change the type of no "PE" recorded with a script on the import format, but I think that both records should be the easiest.
Tags: Business Intelligence
Similar Questions
-
FDM cards stuck on 'validate' = >; maps problem
Hello
I have a little problem with the mapping by FDM
In my source file I have several entities, but I'm loading entity only 3 so I did:
EXPLICIT MAPPING
entity1 = > entity1
entite2 = > entite2
entity3 = > entityt3
AS THE MAPPING
* = > IGNORE
It works, but now, FDM is blocked at the validation stage as EEP say that some accounts are not mapped. This is right, but all of these accounts are owned by entities that are not mapped (IGNORE) so I don't understand why FDM is aking me card these accounts?
Do you know how to avoid to map these accounts?
Thank youYou can not avoid mapping of these accounts. All the values of source for all active dimensions must have the mapping is valid regardless of the mappings in other dimensions, even if it is IGNORE. That's why you have som form of cartography to catch these accounts. Or you can also put a script to import against the entity field in the Import Format that allows only data for the 3 entities, that you must load to be imported and all other data is ignored
-
Aspire mapping problem keyboard V5-572P-6646 - the high number Pad bad keys
Sent my V5 in service after the failure of the screen. At upg'ed WIN8 to WIN10 before breaking the screen. Sent in for repair. They replaced the screen very well, but erased from my hard drive and installed WIN10. (why would they wipe my HD if they are just going to leave the same OS on it?)
Now I'm having a problem with the keyboard mapping for the top row (INS, DEL, HOME, PG UP, PG DN) are all wrong. The feature seems to have moved 1 key to the left where he should be.
Figuratively, it must be a driver issue, but I can't seem to find the drivers of keyboard online for the V5.
Any help would be appreciated!
See if it will take care of it.
-
Keyboard mapping problem caused by the virus.
Recent activity of the virus, an exe PC Tools, which followed without his knowledge, was opened and loaded. The removal of virus has been resolved by Norton but left the PC with keyboard problems. Some keys on the keyboard will power off the computer, restart in safe mode. As 'f' keys, ctrl, entry etc... but not all the time. PC works fine, but having trouble isolating the way to replace the keyboard map and see if it cures the problem. After that a complete scrub and the download of the original with better security software! Thanks for help
Hello
1. What is the serial number and model of the keyboard?
2. is it wireless or wired?
3. were there any changes (hardware or software) to the computer before the show?
Perform the steps in the article mentioned below and check if the problem persists.
http://support.Microsoft.com/kb/258826
Hope this information helps.
-
Invoke the permissions map problem
Hi all
I caught a strange behavior to use the app parameter map on OS 10.2.0.
I use following code to call the card of my application permissions.
InvokeRequest request; request.setTarget("sys.settings.card"); request.setAction("bb.action.OPEN"); request.setMimeType("settings/view"); request.setUri("settings://permissions"); InvokeManager->invoke(request);
After reinstalling it works normally. The user can change any permission. Example is attached (perms_normal.png). It shows that the rank of my app App_Name in title and subtitle App_Author. Also the dropdown list control is enabled.
After the second call of the card, the screen is unresponsive on the interaction of the user. Example is attached (perms_disabled.png). As you can see the drop-down list button is disabled and online app has no name of the author. Also ranked app tap does not prevent to open the Details page of the authorization. At the same time that other controls work normally, I can type on the "back" button or scroll the list of applications.
Then a few times user can change the permissions open my application.
The problem on 10.2.0.1155 device simulator and q10 with OS 10.2.0.1157.
Could someone help with this problem?
I remember what a bug in Mac OS 10.2. I have not experienced this problem to 10.3, it seems to have been fixed since. There's not that you can really do about it for users still running Mac OS 10.2.
-
BlackBerry Smartphones Google Maps - problem 'failed to connect '.
For the last two weeks, I started getting a "connection failed" problem with Google Maps on my BB Torch 9800. I tried to pull the battery, reinstall Google Maps, working on a connection wi-fi-etc. but logging into Google Maps still does not work.
The Google Maps app works fine, otherwise. The only problem is that I'm not able to get my "favorite places" when I log in the application with gmail and my password.
Any help would be appreciated!
Equals your account password Google or you have changed it in the last few weeks? So if you check under your application's permissions are your Interactions and user data are configured to allow. Restart your device and try again
-
Hello.
My old card VISA ended 07/31/2016 and I have again a wih the same number, but the diiferent expiration date + three digit code
Problem is that I can't write only card number and expiration date, but I do not see the form of this code, I need to change, because it is not the same as on the old map.
Can you help me?Contact support - for the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
Creative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )
-
How do you write a script with the following mapping?
If amount = 0 then card member target to IGNORE the case, map it to himself.
I have this so far, but no luck
account = fdmRow.getString ("ACCOUNT")
quantity = fdmRow.getString ("AMOUNT")
If (amount) == 0:
fdmResult = 'IGNORE '.
on the other
fdmResult = account
Hello
What error do you get?
After missing colon (:) on the other.
Also, you have found the AMOUNT as string so you should cast as float
I hope that this script should work:
account = fdmRow.getString ("ACCOUNT")
quantity = float (fdmRow.getString ("AMOUNT"))
If amount == 0:
fdmResult = 'IGNORE '.
Another thing:
fdmResult = account
-
Hello all I have a problem I use see planner to deploy some related clones and my office is 32-bit Windows xp for some reason any the
E1000 network adapter do not check connected start and connect to power on when the gold statue has these options selected before cloning.
So I have to manually check these options on the desktop "there are 300 of them" someone at - it a script I can run to check these options if I don't manually
must be done?
Thanks I hope someone has something that they could share with me.
Try something like this
Get-Cluster -Name MyCluster | Get-VM rdclient* | Get-NetworkAdapter | where {!$_.ConnectionState.StartConnected} |Set-NetworkAdapter -Connected:$true -StartConnected:$true -Confirm:$false
-
VMware Player keyboard mapping problem
Hello
I use VMware Player on an ASUS laptop with windows 8, and when I open the VMware Player for windows server 2008 R2 I have a problem with the keyboard mapping, for example:
u > 4
I have-> 5
o > 6
p > *.
j > 1
k > 2
l > 3If I hit the key VMware player poster 4 u.
Can you help me solve this problem?
I really appreciate your help.
Post edited by: wila, changed 'keyword' in "keyboard" to make more people understand the problem in reading the title of the topic.
@abirhasan, how is this going "look at what's new" to help him? What I see out there, there is not a known issue?
@javier, I guess you know that on an asus these keymappings means that the keypad is enabled via numlock?
It is most likely going to be enabled/disabled via holding the fn key and another key...
Basically this problem:
http://computerchimp.com/troubleshooting/keyboard-keys-typing-numbers-instead-of-letters.html
The question now is if your asus laptop has a num lock key to change this? (It is more likely, the problem is that it is)
--
Wil
-
I try to get the following script as a startup script.
the goal is that when the user chooses to save the document, they are presented with a dialog box asking for a brief summary of the changes that have been made. Then this info is written to the XMP fields.
The basic functionality actually works, the dialog box and the data is saved in the XMP.
The problem is that when the record action is undertaken an error dialog announcing "the requested operation was not successful because the object does exist more." and then the script proceeds and working properly, then it calls for entry and saves the data again.
I get an error, then the script runs twice.
I'm confused.
#targetengine session
myEventListener var = app.addEventListener ("beforeSave", myPromptForInput);
function myPromptForInput (myEvent) {}
var myTimeStamp = myEvent.timeStamp
myDialog = app.dialogs.add var ({name: "enter a simple description of changes", canCancel:true}); "})
{with (MyDialog)}
Add a column of the dialog box.
{with (dialogColumns.Add ())}
Create a text edit field.
var myTextEditField = textEditboxes.add ({editContents: "Changes in the Description of the document", minWidth:300});})
Display the dialog box.
Ditto var = myDialog.show ();
if(myResult == true) {}
Get the values of the dialog box controls.
var myNotes = myTextEditField.editContents;
Remove the memory dialog box.
myDialog.destroy ();
myAddXMPData (myNotes + "-" + myTimeStamp);
Alert (MyEvent);
}
}
}
}
function myAddXMPData (myNotes) {}
myDocument var = app.documents.item (0);
myDocument var = app.activeDocument;
{with (myDocument.metadataPreferences)}
author = 'James Haney';
Description = myNotes;
var myNewContainer = createContainerItem ("http://ns.adobe.com/xap/1.0/", "LCCRevisionNotes");
setProperty ("'http://ns.adobe.com/xap/1.0/", "LCCRevisionNotes / * [1]", myNotes "" ");
}
}
Hello
I don't know if #targetengine and dialog UI work together.
Try to use the Following window may be...
I run it on my side. Looks like it works.
#targetengine 'session' //just to remove if exists var old1 = app.eventListeners.itemByName("mXMP"); if (old1.isValid) old1.remove(); // var myEventListener = app.addEventListener("beforeSave", function (myEvent) { var myTimeStamp = myEvent.timeStamp; var myDialog = new Window("dialog", "Enter a simple description of edits made", undefined, {closeButton: false}); var myStatText = myDialog.add("statictext", undefined, "Description of document changes: "); var myEditText = myDialog.add("edittext", undefined, ""); var myButtons = myDialog.add("group"); myButtons.add("button", undefined, "OK", {name:"OK"}); myButtons.add("button", undefined, "Cancel", {name:"Cancel"}); myEditText.characters = 45; myStatText.alignment = "left"; //Display the dialog box. var myResult = myDialog.show(); if(myResult == true){ //Get the values from the dialog box controls. var myNotes = myEditText.text; myAddXMPData(myNotes + " - " + myTimeStamp); //~ //alert(myEvent); } }).name = "mXMP";
Including your myAddXMPData() function of course.
Jarek
-
Hi Experts,
I'm thinking about the best way to handle some mappings of FDM. All of our current mappings are explicit individual mappings. However, there are some entities and accounts we would card differently now.
Example:
If any of these entities...
Entities
1001
1002
1003
1004
1005
Map this account to this account...
Accounts
1234 > 5678
4321 > 8765
1111 > 2222
We are looking for a little less than 500 possible combinations of entities and account (we have thousands of accounts and entities in total) and I want to find the way the most optimized to go about this. I know there are a lot of considerations based on the order in which dimensions/map types and impact on overall performance. I have considered using If/Then cross-dimensional scripts, but I am concerned about performance issues. Also, if it's the best route is it possible to mount several (10 +) If/Then condition in one script? Any insight/recommendations would be greatly appreciated. Thanks in advance!
See you soon!You can get what you want to use the standard mappings if you concatanate code account and entity as the source for the account dimension value code in your import format for example Account_Entity. Then...
(1) for all your explicit existing maps simply modify them as cards by adding a * generic until the end, keeping the same target
(2) for all your exceptions where the entity determines target (the 500 you have identified) add explicit maps based on the value of source full concatanated.This approach will be more efficient that cross the three-dimensional mapping and will involve much less effort to implement and maintain as you already most of the mappings in place and all changes can be quickly imnplemented to change existing mappings in an excel template or re-import in the mapping tables
-
I have problems with the map of the location on the elements. It appears empty and cannot locate any new photo of my photos or the tag. Have tried restarting PC running a software update and but no luck. Any thoughts? Thank you
The PSE Organizer map was a map of Yahoo. Yahoo has discontinued its mapping service, so it does not work for everyone and there is no cure, I'm afraid. He just disappeared.
-
Filter with interactive map problem
I created an interactive map with filters for points on the map using the visible if/else statements.
The problem is that some of the points belong to more than one filter (health, education related, etc.). So the filters act correctly when selected and deselected one at a time, but do not see the map appropriate points if more than one filter is selected.
Any help would be greatly appreciated! Thank you!
to create a movieclip button:
Create a new movieclip. copy the image at the top of the key and paste this image into image 1 of your movieclip. which frame label "unchecked." Create a blank Keyframe (for example, in box 5), label it "verified" and paste the...
in fact, how could create a frame of ticked off the box? that would not work with a single button.
Anyway, to add your graphics with the box to the movieclip frame "checked".
-
Hi all
I have a my site under a directory outside the C:\InetPub\wwwroot CFIDE dishes is stored.
the site is C:\Sites\mysite\html\
Everything works fine except that cfmenu, etc. work dosent. Same thing with debugging.
This problem started when moving to CF8.
I also tried to copy the html on the wwwroot directory and all works well here. So there must be a problem with the maps I belive.
It drives me crazy
All the best
BosseP
In IIS, you must create a virtual directory named "CFIDE" for the Web site that uses C:\Sites\mysite\html\. Just that it points to C:\InetPub\wwwroot\CFIDE and all should start working.
Maybe you are looking for
-
How to recover iTunes from a broken computer, I don't have any backup?
Hello Is there a way to recover my old iTunes library from a computer, I've had a few years ago? It's broken, and I had to bring it back to the shop, which eventually get the money back guarantee, but the loss of files. My iTunes had a backup at the
-
error code 0 x 643 returned when Windows Update failed in the XP Home laptop system
Could not install Win Update (KB951847) x 86 called MS .NET 3.5 service pack 1 + update .NET framework 3.5 .NET 2.0 to 3.5 worm family. I need help to fix my laptop Win XP Home to accept this update, but also cases of simultaneous failure of (KB9696
-
Using the model WRT54G v.3 for the wireless with my computer
I have been using the router for 4 yearsw with a cable. Now, I want to go wireless. When I go on my Dell laptop, I see that I am connected and I have good signal. But he is blocked. I used the instructions in Dell diagnostics, and he said get the a
-
I just replaced the original battery in my laptop DV6 with a long unit life of the cell (HP) 12 and it works well, except that whenever I start now, it presents a message telling me that he has to check the drive for consistency. If I ignore the cont
-
Hello I developed a screen of BB10 connection with two labels, textfield and a button. I tried to align the button with Horizontal.Fill but it didn't align. The following code =============== Page { Container { background:Color.create("#c0c0") topPad