Conditional Mapping with script using BlOCKPROC to access the HFM API

Hello,
following problem. During the mapping/validation I need to map certain custom1 members to None if the Top Member is None and let it be if not None. This allocation depends on the account. Reading through the documentation I stumbled across conditional mapping.
So in the Custom1 map type Like I defined following:
Rule Name: C1_Script
Rule Definition: CXXX*
TargetCustom1: #Script
In the script I try to achieve to get the Custom1 Top member for the account! The HFM API offers this function(fGetCustomTopMember) and with varValue(14) I get my TargetAccount. So everything I need seems to be there.
Only problem is I need to use the BlOCKPROC to access the HFM API provided through the adapter, but either way won't work.
Trying "Set API.IntBlockMgr.IntegrationMgr.PobjIntegrate = BlOCKPROC.ActConnect("LookUP")" throws an object required error.
Trying
Dim BLOCKPROC
Set BLOCKPROC = CreateObject("upsWBlockProcessorDM.clsBlockProcessor")
BLOCKPROC.Initialize API, SCRIPTENG
throws me a type mismatch for "BLOCKPROC.Initialize".
I am kinda at my wits end. Any help/clue is much appreciated.
Ahh, yes the different writing BlOCKPROC and BLOCKPROC is correct!
Thanks!

Hello Tony,
Many thanks for your answer. Just one last question. The event AftProcMap(strLoc, strDim) gives me the Dimension? Just how do I get the account?
Can you point me to the right direction and I'll figure out the rest!
Thanks a lot!

Similar Messages

  • Not able to update any apps from new apple id.. Old id im not using anymore., cannot access the old one

    Not able to update any apps from new apple id.. Old id im not using anymore., cannot access the old one.. But during update time asking for same old password of old apple id

    If you change your Apple ID, all the apps you purchased with the previous ID will no longer updatable for you and this problem will continue. You see your old Apple ID because you are likely still using some of the apps purchased on that ID.

  • A site I need for consulting purposes requires an add-on known as "Intranet for Firefox". When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site.

    A site I need for consulting purposes (http://www.aegtelecom.com.pt/) requires an add-on known as “Intranet for Firefox”. When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site. However, being a steadfast Firefox user, I would prefer to use Firefox for this purpose.

    http://www.aegtelecom.com.pt/contactos <br />
    Have you tried contacting that web site's support department for help with that issue? <br />
    If that web site can't find the add-on it says is needed, they need to fix that problem with their servers.
    Or you can try using IE Tab2 to run IE in a Firefox tab. <br />
    https://addons.mozilla.org/en-US/firefox/addon/92382

  • Accessing the photoshop api from flash.. within a photoshop window?

    I should maybe ask this in scripting.. but it's some ways related to the SDK. I dont want to crosspost.. if the feature exist, it's very likely that SDK developpers are aware of this (ps: i havent downloaded the sdk since the beta)
    I had the opportunity to show a bit our project to Mike Downey from Adobe at FITC/Toronto as it's related in some way to Apollo. We use realbasic for this application (flash/html/css/javascript) and we also use Realbasic, even with all the imperfections the software has, to create visual tools to call some Applescript.
    That's how i implemented the fake palette i mentionned here or in scripting forum. To me, there was a huge benefit compared to implementing a dialog with the SDK (wich doesnt support developping a palette anyway).
    What i would be really happy to see is an integration like it has been done with jsfl in flash (extensibility). Kind of a way for us to really have a common language for intranet, production tools and final release (web or cd). (leverage the skills like Adobe say to sell Apollo)
    So in extensibility in case some of you are not aware of the feature, you can create a window that has a flash content in it and there is a mecanism to call the javascript api of flash (authoring environnement). By exemple, you can have a window in flash authoring environnement that behave like other windows (ie. dockable and all)... that has a flash interface and communicated with a database.. so you can have a script that connect to a database and then create shapes in the authoring environnement... It's a very great tool for integrated production environnement..
    So, Mike Downey mentionned to me that i was present in CS3!? (when i told him that i would have been great to have Apollo/Flash being able to access the Photoshop Api) Is it true? Where is it documented? I remember seing it mentioned in the SDK survey... Or maybe it's just possible to do it via external command..so it's not integrated in a window of photoshop)?
    Sorry if it's not clear... but i would be really happy to hear more about that... It would be great to have this even if it's not Applescript compatible (i could use xml tools in the api of flash)...

    Well.. i finally have found the feature in the sample folder of javascript scripting of cs3. You really can have a flash interface to call you scripts.
    That will be a HUGE improvement for javascript scripter and i would not be surprised that it will encourage people to develop more tools.
    The big minus for me, unless it's something i havent found yet, it looks like the dialog is only available from calling the script.. so the dialog is modal... really not as cool as Flash extensibility integration, but that's a start. :(
    I repost this on Scripting forum as i now know it's related to scripting...
    I still have hope for something more advanced... the "KnowHow" thing (wich i havent tried yet) http://labs.adobe.com/technologies/knowhow/) is really a good exemple of palette/feature integration that i wish was possible in photoshop...

  • ERROR : Application not authorized to access the restricted API

    hello every body
    I m doin an application related to mmapi and i have written a programm for capturing a live audio , but when i run this programm i get an error
    "Application not authorized to access the restricted API"
    i m fed up of debuggin it , i m not able to find ne solution , n i m stuck up . If ne one of u have got the smae proble m and have got ne solution pls tell me and pls help me
    thanks

    This could come when the midlet is not signed and gets installed as untrusted application.
    Try signing the midlet using verising java object signing class 3 RSA certificate. Do not use DSA cert as it is not supported by wtk.
    Regards,
    Raja Nagendra Kumar,
    C.T.O,
    Offshore Excellence - J2ME
    www.tejasoft.com

  • Using F1 to access the online help in Visual Studio 2013 does not work anymore! Any help available?

    Hi,
    since some days I get the following message after pressing F1 in VS2013 to access the online help:
    Any help to solve this available?
    Kind regards,
    Martin
    Martin Lemburg Berlin / Germany Martin0815@twitter martinlemburg@facebook http://about.me/Martin0815

    Hello Martin,
    could you try clearing you browser cache like indicated here:
    [1] http://blog.mischel.com/2011/09/13/cant-get-help/
    If this does not help, please try changing your default browser to find out where the problem is located.
    Regards,
    David Schneider
    Developer-Hotline for MSDN Online Germany
    Disclaimer:
    Please take into consideration, that further inquiries cannot or will be answered with delay.
    For further information please contact us per telephone through the MSDN-Entwickler-Hotline:
    http://www.msdn-online.de/Hotline
    For this post by the MSDN-Entwickler-Hotline the following terms and conditions apply:
    Trademarks,
    Privacy
    as well as the separate
    terms of use for the MSDN-Entwickler-Hotline.

  • I am unable to add hotmail account into my ipad 2.  Hotmail says the problem is with apple since I can access the account in all other devices except my ipad. I need to get pass, "unable to verify my account information"  Apple personnel appear helpless

    I have an Ipad2 and have tried severally to re-add my hotmail account but couldn't.  In collaboration with Apple personnel today (10/17/2012), we routed the Settings and General via the home page but solution appears elusive.  I can't get pass "Unable to verify your account information"  Hotmail feedback has it that the problem is with the iPad since I can access the hotmail account on my laptop, desktop, and smart phone,  Can someone please help me in this matter. 

    I see you have resolved this problem but for anyone else trying to sort out their Hotmail account on their iPad try the following:
    Try deleting your Hotmail account from your iPad/iPhone (making sure you can access your emails from your PC or other device as all your email history will also be deleted). Then under Settings go to 'Add an account' and click 'Other'(don't use the Hotmail heading). Fill in the required details for your Hotmail account and wait for account to be verified. This has just worked for me. Good luck!

  • Problem Experts OWB 10gR2 - Mapping with OMB - Give a name to the flat file

    I'm trying to create a mapping in OWB by using the Experts (OMB),
    where the data source is a database table and the target is a flat file (to transform a table to a flat file).
    The tasks of my Experts :
    This task create a mapping, and add a existing table on it.
         OMBCC '$thepath'
         catch {OMBDROP MAPPING 'M1'}
         OMBCREATE MAPPING 'M1'
         OMBALTER MAPPING 'M1' \
         ADD $INITIAL_LAUNCH_CONTEXT_TYPE OPERATOR '$thetable' \
         BOUND TO $INITIAL_LAUNCH_CONTEXT_TYPE \ '$INITIAL_LAUNCH_CONTEXT' \
    This task change the context and create a flat file
         OMBCC '/PRJ_LABO_PHARMA/SRC_FILE'
         catch {OMBDROP FLAT_FILE 'NEW_FILE'}
         OMBCREATE FLAT_FILE 'NEW_FILE' \
         SET PROPERTIES (DATA_FILE_NAME) VALUES('fichier_genere.txt')
    This task add the flat file to the mapping, and create a connection between the source (table) and the target (flat file)
         OMBCC '/PRJ_LABO_PHARMA/MOD_SRC_LABO'
         OMBALTER MAPPING 'M1' \
         ADD FLAT_FILE OPERATOR 'NEW_FILE'\
         BOUND TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         OMBALTER MAPPING 'M1' \
         ADD CONNECTION FROM GROUP 'INOUTGRP1' OF OPERATOR '$thetable' \
         TO GROUP 'NEW_FILE' OF OPERATOR 'NEW_FILE' COPY ALL
    This task update the flat file structure
         OMBRECONCILE MAPPING 'M1' OPERATOR 'NEW_FILE' \
         TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
    Then I have a task which execute this mapping.
    Everything is good, but during the execution I have a error VLD-2357 : The target file's name is not indicated for the file NEW_FILE.
    I don't know how to give a name to the flat file in OMB.
    Help me please.
    Best regards
    Samy

    Just like if you built this in the UI where you would have to configure the flat file operator and define a target data file name and possibly the location these properties should be set in scripting.
    Set the property TARGET_DATA_FILE_NAME to the name of the data file.
    Something like....
    OMBALTER MAPPING 'M1' \
    MODIFY FLAT_FILE OPERATOR 'NEW_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('my_datafile.csv')
    Cheers
    David

  • Sft soundfonts with multiple voices; can only access the default.

    Does anyone have any idea how I can access anything but the first instrument in a sf2 soundfont in GB? My midi controller (m-audio 61-es) can't seem to do, When I use the standard procedure for changing voices, anything past the first voice gives me nada.
    Any help would be much appreciated!
    -e

    Elanb,
    I believe the demo version will only allow you to access a few octaves of any particular soundfont. The full paid version will access all octaves of a soundfont set. As far as volume is concerned I do not believe that is a function of Soundfont Synth in any way. Volume changes are more than likely to be the individual characteristic of whatever soundfont set you have accessed. The quality of soundfont vary from really bad to really good.
    With soundfont synth you can access a particular soundfont set and then make that instrument a new saved preset. Name it and it will appear in your instrument list.
    Hopefully GB3 will have a feature that does what Soundfont Synth does.

  • Using Pre2 to access the internet

    This question was solved.
    View Solution.

    I could solve the issue. PAN ist not working if my pre2 is connected to the internet with Wifi. My laptop can access the internit using PAN with the pre2 if the pre is using 2/3G and not wifi for the dataconnection

  • When attempting to access a specific web page on my iPad, the page seems to load then quickly disappears (resembling a white/black we page). Other sites seem fine. Note this is also occurring when I use Chrome (to access the same page).

    When attempting to access a specific web site on my iPad http://www.sggplastering.co.uk the page seems to load then quickly disappears (resembling a white web page). Other sites seem fine.

    Thanks so much for addressing my question. Note that the site (www.xula.edu) was working with Safari this morning, but not this afternoon. I also have now been able to access it with Chrome (remember I could not access the site with Chrome initially). Essentially one time while the site was loading on Chrome I clicked another link on the site and opened a new tab for the link- the original page then loaded and now continues to load. I've been trying to do the same with Safari but the page loads and "goes to white" to quickly.
    Other notes: I've powered off my iPad (did not help) and restarted my iPad (also did not help). I can also access all other links (to other www.xula.edu related pages on the site using Safari - I find them via a google search)- it's just the home page that loads then goes to "white screen" very quickly. Thanks again for your reply - any help/advice provided is greatly appreciated.

  • How can I retrieve/compute an X509 certificate's thumbprint in Python and then use it for accessing Service Management APIs from Python SDK?

    Hello,
    I am using Azure Python SDK to perform calls to ServiceManagement APIs.
    I have a .publishsettings file generated for my account which includes an encoded version of my X509 certificate and all of my subscription IDs.
    How can I retrieve/compute an X509 certificate's thumbprint in Python?
    Following is the code snippet that helps us do it in .Net.
    Is there a similar approach to do it in Python?
    var publishSettingsFile = @"C:\temp\CORP DPE Account-11-16-2011-credentials.publishsettings";
    XDocument xdoc = XDocument.Load(publishSettingsFile);
    var managementCertbase64string = xdoc.Descendants("PublishProfile").Single().Attribute("ManagementCertificate").Value;
    var importedCert = new X509Certificate2(Convert.FromBase64String(managementCertbase64string));
    thumbprint = importedCert.Thumbprint;
    Once I have the thumbprint, how can I use that thumbprint to access Service Management APIs from Python SDK?
    Thank you in Advance!
    Regards,
    Vaibhav Kale

    Hi,
    Please have check on the below article and check if it helps.
    http://azure.microsoft.com/en-in/documentation/articles/cloud-services-python-how-to-use-service-management/
    Regards,
    Mekh.

  • Problems with environments and transactional mode in the Python API

    Hello everyone,
    I have been having problems with the Python API, and I wonder if anyone can comment? I am using DB XML version 2.2.13, with python 2.3 (RedHat linux WS 4.0) and python 2.4 (SuSE 10.1) with identical results. I started with a simple example:
    #!/usr/bin/python
    """XPath example from http://www.w3schools.com/xpath/default.asp
    ported to DbXML
    from bsddb3.db import *
    from dbxml import *
    books = """<?xml version="1.0" encoding="ISO-8859-1"?>
    <bookstore>
      [xml data omitted for brevity]
    </bookstore>"""
    if __name__ == "__main__":
        conFlags = DB_CREATE | DB_NOMMAP
        myMgr = XmlManager()
        myMgr.setDefaultContainerFlags(conFlags)
        myMgr.setDefaultContainerType( XmlContainer.NodeContainer)
        uc = myMgr.createUpdateContext()
        container = myMgr.createContainer("books.dbxml")
        container.putDocument("books.xml", books, uc)So far, so good - this works, and creates a container books.dbxml that I can open and query. Next, I try to instantiate the XmlManager using an environment:
    if __name__ == "__main__":
        envFlags = DB_CREATE | DB_PRIVATE
        conFlags = DB_CREATE | DB_EXCL | DB_NOMMAP
        myEnv = DBEnv()
        myEnv.open("/home/pkeller/dbxml_tests", envFlags, 0)
        myMgr = XmlManager(myEnv, DBXML_ADOPT_DBENV)
        myMgr.setDefaultContainerFlags(conFlags)
        myMgr.setDefaultContainerType( XmlContainer.NodeContainer)
        uc = myMgr.createUpdateContext()
        container = myMgr.createContainer("books.dbxml")
        container.putDocument("books.xml", books, uc)This fails with the following output:
    Traceback (most recent call last):
      File "w3school_xpath_c2.py", line 60, in ?
        container = myMgr.createContainer("books.dbxml")
      File "/scratch_bernoulli/pkeller/dbxml/install/lib/python2.3/site-packages/dbxml.py", line 125, in createContainer
        def createContainer(*args): return dbxml.XmlManagercreateContainer(*args)
    RuntimeError: Error: Invalid argument
    Segmentation faultA bit odd - I can't find anything in the docs about the required arguments to XmlManager.createContainer being different if an environment has been used explicitly.
    Anyway, I persevered (my aim being to use transactional mode in Python). Changing the environment and container flags like so:
        envFlags = DB_CREATE  | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE
        conFlags = DB_CREATE  | DB_EXCL | DBXML_TRANSACTIONAL | DB_NOMMAPThis change allowed the script to run, outputting the single classic line:
    Segmentation fault(the C++ API docs at http://www.sleepycat.com/xmldocs/gsg_xml/cxx/transaction.html#initializetransaction are incorrect by the way - there is no flag DB_TRANSACTIONAL).
    In spite of the segfault, the file "books.dbxml" was produced and could be queried by another application. A transaction log file "log.0000000001" was also written (10485760 bytes long).
    Running this last example again with "python -v" showed that the segfault was being produced during the python's cleanup phase:
    # clear __builtin__._
    # clear sys.path
    # clear sys.argv
    # clear sys.ps1
    # clear sys.ps2
    # clear sys.exitfunc
    # clear sys.exc_type
    # clear sys.exc_value
    # clear sys.exc_traceback
    # clear sys.last_type
    # clear sys.last_value
    # clear sys.last_traceback
    # clear sys.path_hooks
    # clear sys.path_importer_cache
    # clear sys.meta_path
    # restore sys.stdin
    # restore sys.stdout
    # restore sys.stderr
    # cleanup __main__
    Segmentation faultCan anyone clarify what is going on? I had been hoping to deploy DB XML as an alternative to something more admin-heavy, but with this behaviour that would be hard to justify. A dirty exit from Python means that no-one will consider trusting their data to this engine (or am I doing something wrong?).
    Regards,
    Peter.

    Peter,
    Your first failure -- invalid argument -- was due to an invalid combination of
    flags to DBEnv.open(). Along with DB_CREATE you need at least DB_INIT_MPOOL.
    As you can see, it worked once you added more flags.
    The second, cleanup problem (segmentation fault) is the result of out of order
    destruction of objects. This is fixed in the next release (later this year), but
    you can work around it by ensuring that your XmlContainer and XmlManager
    objects are deleted/cleaned up before the DBEnv object.
    Python will cleanup in reverse order of creation, unless you perform explicit
    deletions, which is also fine (e.g. del container, del myMgr).
    Explicit deletion is always safe.
    Regards,
    George

  • How can we access the java API from the BO report

    Post Author: kusammurali
    CA Forum: JAVA
    Hi,
    Pls clarify my doubt
       Busines Objects Developer suit comes with either JAVA SDK or .NET SDK  COM/VISUAL BASIC SDK . am i right?
       By Using visual basic we can customize the report  (Tools--->Macros  and create VB macro)
        What is the process of accessing  .NET or JAVA SDK ? is there any separate editor for java and .net ?
    Thanks
    Murali.

    Using object tags is the correct way and only way to download the plugin and let the client decide whether he can download it r not. There is no way to install automatically
    I dont think there is a way to install automatically without a user intervention coz, it can open the floodgates for potential hackers.
    Can u cite an example about which programs can be installed automatically and why do u want the plugin to be installed automatically?
    ciao

  • Accessing the Admin API via Linux (and hopefully Python)

    I have been looking through the available documentation and past forum
    entries but I see nothing really on point.
    It is possible to have a complete GW system on Linux, from server to
    client. So if it is possible to administer a GW system from Linux using
    Console One, it should be possible to access the API from Linux.
    Can anyone point me towards the appropriate documentaion? Thanks
    Bob

    Bob Brandt wrote:
    > Michael Bell wrote:
    >> Yes, but there is no admin API exposed for Linux. Period.
    >>
    >> SOAP can do message store or address book related stuff. And some client
    >> option stuff. It cannot create/delete/rename users, or do most things
    >> Admin API (Win32 only) can do.
    >
    > That is very disappointing. So even though I can have a completely
    > non-M$ system, pride myself on not sending a cent to Redmond; Novell is
    > forcing me to use their competitor's (M$) inferior OS. Even the GW API
    > Gateway is not really supported anymore!
    >
    > Thats seems stupid and udderly backwards, in other words typically Novell!
    >
    > Bob
    All a matter of resources, Bob. They've had an admin api under
    development for years, just didn't have time to make it ready for Bonsai.
    You are correct, however you must have a win32 box (or try wine, but I
    doubt that's worth it). One friend of mine then wrappered the whole
    thing in a SOAP service, so he could mostly avoid thinking about windows.

Maybe you are looking for

  • Can I log out from my Mac using Terminal.app?

    Is there a command I can issue in Terminal.app to log myself out? I'm just looking for a command-line equivalent of Apple >> Log Out. I would like to script this action so I can add it to my dock. Thanks.

  • ITunes 11 has renamed my songs and albums without my permission!

    In my itunes, years ago as i acrued single songs, i would edit the song information such as album name, so that each of these singles would appear in one album called "SINGLES." I do not want 10,000 albums in my itunes that all contain one song each.

  • System Error in Exection Function

    Dear all, I've the following problem. I have created some key figs and added these to a realtime infoprovider. From a certain point I changed the infoprovider and deleted the created key figs from the system. Now I have a problems when I want to exec

  • Grigbag, how to dynamically locate and replace components??

    Hi there :) The thing is. I am making a projectplanner kinda program. What i want is to use a gridbag layout. Then i want to make the size of the gridbag panel depend on the lengt of the active project, and with the lenght of on field per day. This w

  • Free After Effects Video Tutorial - Satellite Navigation System's animation (Part 1) in After Effect

    Hi friends There is an Amazing new video tutorial at http://www.henrythejedi.com in which you will learn how to create a Satellite Navigation System's animation in After Effects Here is what is covered in Part 1 of this exciting tutorial: • Have fun