Rules HFM - function CustomTop

Hello

Can someone please help me understand the following block of code? My understanding of this block of code is that aList is equal to base all members dimenision account. For each of the selected members of the account, browse aList identified to add the specified in a list of members, where the end of aUD amount is 'END'. If I'm wrong, someone can correct me? Can you please also explain how the CustomTop function is under development as a rule below?

HS = aList. Account.List ("", "[Basic]")

For each aItem in aList

HS = aUD. Account.CustomTop (aItem, "Test")

If right (aUD, 3) = "END" Then

HS. AddMemberToList aItem

End If

Next

Thank you

Hello

In short:

  1. Loops through the core accounts (list is called aList and individual account treated aItem)
  2. Registers the Member CustomTop of a (aItem) account for the size of Test in the variable aUD
  3. If the CustomTop for the size of Test ends with the END letters, adds the account to the list of members.

The CustomTop is a property of account in the metadata that retrieves the CustomTop function.

See you soon

Tags: Business Intelligence

Similar Questions

  • Rules HFM - call WriteToFile

    Hello

    I use the Hyperion HFM 11.1.1.3 application. I want to see the stages of execution of HFM business rules and included "Call WriteToFile("")" script to save the details.

    But I'm not able to find the log file. Please could you help me figure out where this 'call' function WriteToFile write results.

    Thank you

    Michel K

    Hello...

    This depends on the version 'writing on a file' you use.

    Usually, there is a 'Set f = fso (GetFile (filename)'

    Kind regards

    Thanos

  • error in rule hfm

    Hi all

    When you try to load this rule, get the error as expected end of statement

    VOID CALCULATE)

    WITH HS

    DIM VDATA, VCUSTOMS

    VCUSTOMS ='. I HAVE #[ICP NO]. # C1 [NO]. C2 #[NO]. C3 #[NO]. C4 #[NO]. "C5 #[NO].

    VDATA =. GETCELLNODATA ('A SALE of #EXT' & VCUSTOMS, ISEMPTY) * 1.1

    OTHERWISE ISEMPTY THEN

    . EXP 'A SALE of #EXT' & '=' VCUSTOMS & VDATA

    end if

    HS END

    END SUB

    Please let me know what could be the problem in this rule... help plz

    Thanks in advance

    Hello

    Change this line:

    . EXP "A #EXT SALES" & VCUSTOMS & "=" & VDATA instead of. EXP 'A SALE OF #EXT' & '=' VCUSTOMS & VDATA

    Kind regards

    S

  • @DESCENDANTS business rules creation function

    Hello

    I use the model of system to copy data to copy data between two forms.

    Everything works fine when seleting a member of each dimension, but for the period dimension I need to select several months.

    I know that it is possible using the @DESCENDANTS function, but in fact I couldn't understand what the name of the Member, level level name of generation and generation number.

    I have referd to the epma_admin but he couldn't figure out yet.

    My period is like that

    YearTotal
    1ST QUARTER
    Jan
    Feb
    Mar
    Q2
    May
    ....
    ...

    ...

    and I need 12 months to use in forms to copy data from and to

    I used a work-around to manually edit the script, but I need help on how to use the functions.

    Thank you

    After re-reading your question. I think you are referring to copy the model in Calc Manager rather than copy the data of planning itself.

    In this case, it is always the same.

    Simply put the static elements in the first screen
    then click Next
    The source in the second screen
    then click Next and
    the destination in the third screen

    So first screen would

    descendants (Yeartotal)
    second screen
    Acc1
    third screen
    ACC2

  • How to store/Pull date in HFM using rules

    Hi all

    Could you please suggest how to store/pull date into account server using rules HFM? I thought using the VB/excel function now() but not got the correct results.

    It would be really appreciated if you can help me with this.

    Kind regards

    Yes, I was able to get the day of the month using the day and now work (Day (Now ()). Initially I was using only NOW() but day and now all help.

    Thank you

  • 12 months - HFM leak rule (Help)!

    Help! Work on a rule HFM (Trailing 12 months).  Receive an error of invalid assignment (associated with my line 3 below).   Can someone tell me why?

    Void TTM_TOTALS()
    ACCT = "a CF0046 #
    Past11 = "(" & Acct & ".)" W #Periodic' ' I have an assignment message not valid error on this line?  Why?
    For PastMonth = 1 to 11
    "Past11 = Past11 & '+' & Acct &. P #CUR-"" & PastMonth & "." W #Periodic ".
    Next ' last month
    (Past11 = Past11 &») ".
    HS. Exp ' a CF0046_TTM # = W #Periodic. "& Past11
    End Sub

    Function Past11 (Acct)
    Past11 = "(" & Acct & ".)" W #Periodic ".
    For PastMonth = 1 to 11
    "Past11 = Past11 & '+' & Acct &. P #CUR-"" & PastMonth & "." W #Periodic ".
    Next ' PastMonth
    (Past11 = Past11 &») ".
    End Function

    Something along the lines of

    sSrcAccount = "CF0046".
    sAccount = "CF0046_TTM".
    HS. Exp 'W #YTD. "A #" & sAccount & "=" + W #YTD. "A #" & sSrc_Account & "+ W #YTD. "A #" & sSrc_Account & ".". "P #Last.Y #Prior" & "w #YTD. "A #" & sSrc_Account & ".". P #cur. "Y #Prior".

    Concerning

    JOINT TASK FORCE

  • 933 HFM, vb script %0 execution error (for the rules file)

    I have a HFM rules file that is error-free, but sometimes, when I run a codification through SmartView, it is abandoned and the error is "Error running VB Script 0%".
    Anyone know why this happens?
    Thanks in advance.

    The error message you shared maybe not something to do with the rules HFM. There are a number of things that can generate a VBScript error: HFM rules, customized lists of HFM member or problems problems/configuration of permissions with IIS. Smart View uses IIS, then maybe this is a configuration problem. If you disconnect and then reconnect again, perform the same activity successfully, it could mean you have load balancing problem, or other network error. If it's a problem of permission on the server, it will affect all users in the same way. A list of members HFM problem would prove any time the list of members is called: whether through HFM forms, grids, smart view or reports.

    -Chris

  • MAX possible function in HFM?

    Hello

    Is there a function in HFM, which can return a set of values.

    for a report, I need to find the max of a values against C2 - but I couldn't find any HFM function in this sense.

    Someone at - he tried and it does?

    Hello

    If you use the Financial Reporting tool for reporting, these options are possible and even RANK is available, with which you can store accounts in the specified range basesed on these range values

    Rgds
    Payous999

  • Addition of vShield Edge NAT rules from a CSV using PowerCLI

    I recently read Alan great post on adding NAT here rules: http://www.virtu-al.net/2014/07/24/working-vcd-edge-gateway-rules-powercli/

    I used it successfully for simple rules in a lab environment, but hundreds of rules I need to do in Production.

    Although I managed to hack together an Excel spreadsheet that concatenated all these parameters to create each order, I was wondering if there was a faster way to do it.

    My plan was to modify the script to Alan to import a CSV file, and then loop through each line and generate the XML file in a single pass.

    However, I am very rusty on my scripting skills, so I thought I would first ask if this has already been done by someone else.

    Anyone know if there is a way to update the rules of NAT edge vShield from a CSV file?

    Adam,

    I was an associate of the original request for this feature. Alan made us most of the way with a function to create a single rule, but as in your use case, we also had a lot of rules to build everything at once.

    Our solution was rather minor tweaks and the creation of 3 functions rather than 2.

    * Feature: New DNATRuleXML and new SNATRuleXML.  We have created these two functions to build the string XML (one for the SNAT) and one for the DNAT, their results are stored in a global variable.

    * Function: New-NATXMLExecute. It is a function execute to execute the creation of the great XML string created in the above functions.

    You should change/use power rule XML functions to interface with one worksheet, and then you should be far away. It will be useful.

    Example of code is below:

    ===============================================

    Function (new-NATXMLExecute

    $EdgeGateway,

    $NATXML,

    $FirewallEnable) {}

    Write-Host "' no nExecuting add it NAT function"-ForegroundColor Cyan

    Write-Host "-----------------------------------------------------"

    Write-Host "EdgeGateway: 't' t$ EdgeGateway '.

    #Write - Host "' tNATXML: 't' t$ NATXML '.

    Write-Host "activate the firewall?: 't' t$ FirewallEnable '.

    Write-Host "-----------------------------------------------------"

    $Edgeview = search clouds QueryType - EdgeGateway-name $EdgeGateway | Get-CIView

    If (! $Edgeview) {}

    Write-Warning 'edge Gateway with $Edgeview name not found. "

    Output

    }

    $URI = ($edgeview. Href + ' / action/configureServices ")

    $wc = new-Object System.Net.WebClient

    # Add Authorization headers

    $wc. Headers.Add ("x-vcloud-authorization", $Edgeview.Client.SessionKey)

    $wc. Headers.Add ("Content-Type", "application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml")

    $wc. Headers.Add ("Accept", "application / * + xml;") version = 5.1 ")

    $webclient = New-Object system.net.webclient

    $webclient. Headers.Add("x-vcloud-authorization",$Edgeview.Client.SessionKey)

    $webclient. Headers.Add ("accept", $EdgeView.Type + ";") version = 5.1 ")

    [xml] $EGWConfXML is $webclient. DownloadString($EdgeView.href)

    [xml] $OriginalXML = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.NatService.outerxml

    #Check if the firewall is turned on

    $FirewallStatus = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.FirewallService.IsEnabled

    Write-Host "active current firewall status: $FirewallStatus.» "This will be changed to: $FirewallEnable.

    LogWrite "active current firewall status: $FirewallStatus.» "This will be changed to: $FirewallEnable.

    If (($NATXML) - or ($FirewallStatus - not $FirewallEnable)) {}

    $GoXML = '

    http://www.VMware.com/vCloud/v1.5">

    "' + $FirewallEnable +"

    drop

    fake

    true'

    $OriginalXML.NatService.NatRule | {Foreach}

    $GoXML += $_. OuterXML

    }

    $GoXML += $NATXML

    $GoXML += '

    '

    $script: NATXMLExecute = $GoXML

    [byte []] $byteArray = [System.Text.Encoding]: ASCII. GetBytes ($GoXML)

    $UploadData = $wc. UploadData ("POST", $URI, $bytearray)

    $EdGWStatus = EdgeGatewayStatus - EdgeGateway $EdgeGateway

    Write-Host - NoNewline "Waiting for EdgeGateway configure...". »

    LogWrite "Waiting for EdgeGateway configure...". »

    While ($EdGWStatus - no "ready")

    {

    Start-Sleep - seconds 3

    Write-Host - NoNewline ". »

    $EdGWStatus = EdgeGatewayStatus - EdgeGateway $EdgeGateway

    If ($EdGWStatus - eq "Error") {}

    Write-Host "Error Has occurred...". Check the EdgeGateway"- ForegroundColor Red

    LogWrite "Error Has occurred...". Check the EdgeGateway.

    breaking

    }

    }

    Write-Host - NoNewline ".» EdgeGateway Ready.

    Write-Host "' nNAT complete building.»  ForegroundColor - Green

    LogWrite "NAT complete building."

    }

    else {}

    Write-Host "no change necessary." No changes have been made to the EdgeGateway"- ForegroundColor yellow

    LogWrite "no modification required...". No change was made.

    }

    }

    Function (new-DNATRuleXML

    $EdgeGateway,

    $ExternalNetwork,

    $OriginalIP,

    $OriginalPort,

    $TranslatedIP,

    $TranslatedPort,

    $Protocol) {}

    Write-Host "Building DNAT rule XML" - ForegroundColor yellow

    Write-Host "' tEdgeGateway: 't' t$ EdgeGateway '.

    Write-Host "' tExternalNetwork: ' t$ ExternalNetwork '.

    Write-Host "' tOriginal IP: 't' t$ OriginalIP '.

    Write-Host "' tOriginalPort: 't' t$ OriginalPort '.

    Write-Host "' tTranslatedIP: 't' t$ TranslatedIP '.

    Write-Host "' tTranslatedPort: 't' t$ TranslatedPort '.

    Write-Host "' tProtocol: 't' t$ Protocol.

    $Edgeview = search clouds QueryType - EdgeGateway-name $EdgeGateway | Get-CIView

    If (! $Edgeview) {}

    Write-Warning 'edge Gateway with $Edgeview name not found. "

    Output

    }

    $URI = ($edgeview. Href + ' / action/configureServices ")

    $wc = new-Object System.Net.WebClient

    # Add Authorization headers

    $wc. Headers.Add ("x-vcloud-authorization", $Edgeview.Client.SessionKey)

    $wc. Headers.Add ("Content-Type", "application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml")

    $wc. Headers.Add ("Accept", "application / * + xml;") version = 5.1 ")

    $webclient = New-Object system.net.webclient

    $webclient. Headers.Add("x-vcloud-authorization",$Edgeview.Client.SessionKey)

    $webclient. Headers.Add ("accept", $EdgeView.Type + ";") version = 5.1 ")

    [xml] $EGWConfXML is $webclient. DownloadString($EdgeView.href)

    [xml] $OriginalXML = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.NatService.outerxml

    If {($Script:NewID)}

    $Script: NewID += 1

    $NewID = $Script: NewID

    }

    else {}

    $NewID = [int]($OriginalXML.NatService.natrule |) Sort identifier. (Select the Id - Last 1) user.user + 1

    If {($NewID-éq. 1)}

    #If NoID was found, set the correct ID of departure

    $NewID = 65537

    }

    $Script: NewID = $NewID

    }

    $strXML = '

    DNAT

    true

    ' + $NewID + '

    "' + $OriginalIP +"

    "' + $OriginalPort +"

    "' + $TranslatedIP +"

    "' + $TranslatedPort +"

    ' + $Protocol + '

    '

    $script: DNATXML = $StrXML

    }

    Function (new-SNATRuleXML

    $EdgeGateway,

    $ExternalNetwork,

    $OriginalIP,

    $TranslatedIP

    ) {

    Write-Host "Building SNAT rule XML" - ForegroundColor yellow

    Write-Host "' tEdgeGateway: 't' t$ EdgeGateway '.

    Write-Host "' tExternalNetwork: ' t$ ExternalNetwork '.

    Write-Host "' tOriginal IP: 't' t$ OriginalIP '.

    Write-Host "' tTranslatedIP: 't' t$ TranslatedIP '.

    $Edgeview = search clouds QueryType - EdgeGateway-name $EdgeGateway | Get-CIView

    If (! $Edgeview) {}

    Write-Warning 'edge Gateway with $Edgeview name not found. "

    Output

    }

    $URI = ($edgeview. Href + ' / action/configureServices ")

    $wc = new-Object System.Net.WebClient

    # Add Authorization headers

    $wc. Headers.Add ("x-vcloud-authorization", $Edgeview.Client.SessionKey)

    $wc. Headers.Add ("Content-Type", "application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml")

    $wc. Headers.Add ("Accept", "application / * + xml;") version = 5.1 ")

    $webclient = New-Object system.net.webclient

    $webclient. Headers.Add("x-vcloud-authorization",$Edgeview.Client.SessionKey)

    $webclient. Headers.Add ("accept", $EdgeView.Type + ";") version = 5.1 ")

    [xml] $EGWConfXML is $webclient. DownloadString($EdgeView.href)

    [xml] $OriginalXML = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.NatService.outerxml

    If {($Script:NewID)}

    $Script: NewID += 1

    $NewID = $Script: NewID

    }

    else {}

    $NewID = [int]($OriginalXML.NatService.natrule |) Sort identifier. (Select the Id - Last 1) user.user + 1

    If {($NewID-éq. 1)}

    #If NoID was found, set the correct ID of departure

    $NewID = 65537

    }

    $Script: NewID = $NewID

    }

    $strXML = '

    SNAT

    true

    ' + $NewID + '

    "' + $OriginalIP +"

    "' + $TranslatedIP +"

    '

    $script: SNATXML = $StrXML

    }

    ===============================================

  • Capabilities with the right Protection and control of license

    Hi people,

    Just check that I understand the limits of a capabilities of clients with the power of fire with only the Protection/control.

    They will be

    1 / receive updates of poorly known ip addresses

    2 / receive updates for pre-treatment Snort rules - VDB files

    3 / be able to create manual URLS to perform a kind of Url rules in function

    4 / geolocation?

    They will not

    1 / have any possibility to send / receive file layout information

    2 / have any possibility to use Url categories

    3 / are free to set up rules to file based Malware

    Hi Evan,

    With a minimum of Protection and control, you can start the management of firepower. If the customer requires awareness of users according to a user with the license agent host Firesight will do as well as the Protection and control. You can create reports user based with the latter.

    Here's the URL and ports must be opened for the Firesight get necessary updates.

    SRU/VDB/Patch/all updates
    Ref 1 > http://www.cisco.com/c/en/us/support/docs/security/firesight-management-...

    Ref 2 > http://www.cisco.com/c/en/us/support/docs/security/firesight-management-...

    Here is the detailed information of the download server:

    Domain: support.sourcefire.com
    URL: https://support.sourcefire.com
    Port: 443/tcp (bidirectional)
    IP address: 50.19.123.95, 50.16.210.129

    Additional IP addresses that are also used by the support.sourcefire.com (in the method of Robin) are:

    54.221.210.248
    54.221.211.1
    54.221.212.60
    54.221.212.170
    54.221.212.241
    54.221.213.96
    54.221.213.209
    54.221.214.25
    54.221.214.81

    For amp
    Ref 1 > http://www.cisco.com/c/en/us/support/docs/security/firesight-management-...
    Ref 2 > http://www.cisco.com/c/en/us/support/docs/security/sourcefire-amp-applia...
    Using port 443 (bidirectional)
    Or Legacy port 32137 (out)

    For the URL filtering
    Access to the 'database.brightcloud.com' and 'service2.brightcloud.com '.
    the IP address is dynamic
    Ref 1 > http://www.cisco.com/c/en/us/support/docs/security/firesight-management-...

    Using port 443 (bidirectional)
    Using port 80 (incoming)

    For downloads of feed security intelligence:
    Access to intelligence.sourcefire.com
    The server uses the round robin scheme of IP address for the NLB, availability and fault tolerance. Therefore, IP addresses can change, and it is recommended that the firewall is configured with CNAME instead of an IP address.

    Ref 1 > http://www.cisco.com/c/en/us/support/docs/security/firesight-management-...

    Ref 2 > http://www.cisco.com/c/en/us/support/docs/security/firesight-management-...

    Using port 443 (bidirectional)
    Using port 80 (incoming)

    Kindly correct brand and rate if this helps.

    Concerning

    Jetsy

  • Could not load the flat file (csv) through FDMEE

    Hi Experts,

    I am trying to load data from flat file to HFM via FDMEE, it throws the below error

    2014-06-06 16:35:13, 465 INFO [AIF]: beginning of the process FDMEE, process ID: 1 341
    2014-06-06 16:35:13, 465 [AIF] INFO: recording of the FDMEE level: 4
    2014-06-06 16:35:13, 465 [AIF] INFO: FDMEE log file: d:\orcl\FDMEE\outbox\logs\CONSOL_1341.log
    2014-06-06 16:35:13, 465 [AIF] INFO: User: hyp_admin
    2014-06-06 16:35:13, 465 [AIF] INFO: location: HFM UXC (Partitionkey:59)
    2014-06-06 16:35:13, 465 [AIF] INFO: period name: Apr-14 (period key: 1/04/14 12:00 AM)
    2014-06-06 16:35:13, 465 INFO [AIF]: name of the category: real (main category: 4)
    2014-06-06 16:35:13, 465 [AIF] INFO: name rule: HFM UXC D300 (rule ID:69)
    2014-06-06 16:35:15, 785 [AIF] INFO: Jython Version: 2.5.1 (Release_2_5_1:6813, September 26 2009, 13:47:54)
    [JRockit (R) Oracle (Oracle Corporation)]
    2014-06-06 16:35:15, 785 [AIF] INFO: Java platform: java1.6.0_37
    2014-06-06 16:35:15, 785 [AIF] INFO: log the file encoding: UTF-8
    2014-06-06 16:35:19, 132 [AIF] INFO: - START IMPORT STEP -
    2014-06-06 16:35:25, 188 [AIF] INFO: file name: UXC_D300_Apr - 14.csv
    2014-06-06 16:35:25, 360 FATAL [AIF]: error in Comm.doScriptInit
    Traceback (most recent call changed):
    File '< string >", line 347 in doScriptInit
    Exception: java.lang.Exception: NO details found for Loadid:1341

    2014-06-06 16:35:25, 655 FATAL [AIF]: load balances data launch GL error
    2014-06-06 16:35:25, 671 INFO [AIF]: end process FDMEE, process ID: 1341

    The pointers will be greatly appreciated.

    Thank you very much

    Jeff

    This error is usually related to if you do not properly apply patch ODI.

    Can you take a look at the opatch inventory, rollback FDMEE and ODI patch and then apply again.

    Make sure that these patches are applied successfully without any errors.

    Thank you
    ~ KKT ~.

  • Calc Manager differences Sub procedures

    Hi guys,.

    I was looking for the scripts for the rules in the Manager of Calc and noticed that any set of rules are of use (even if they are included in the routine of SubCalculate).

    From the point of view of a traditional .rle file, what are the differences? Are there changes when you use a sub procedure in the SubCalculate routine? As far as I know, there is no change.

    Thank you!

    Kind regards

    L.

    Manager of Calc's all simply a user interface for creating rules HFM, and therefore the traditional major subroutines continue to apply:

    -Calculate
    -Translate
    -Consolidate
    -Dynamic
    -Entry
    -NoInput
    -Allocate
    -Transaction
    -Capital own Pick Up

    Certainly when writing rules we can create more custom subroutines in subroutines main HFM above, but Calc Manager does not change this feature at all.

    -Chris

  • Data Protection does not work as expected

    Hello

    Product information:
    FDM 9.3.3
    HFM 9.3.3
    FDM FM9x-G4-G adapter

    Description of the problem:
    FDM data Proctection option works as expected.

    It generates the export file properly, I mean that it adds the content correctly at the end of the file, which is needed to be protected. However, when loading this generated file FDM, replace all HFM data, including the data to be protected. When the same file generated in FDM is loaded manually in HFM, charging correctly.

    No matter what you have an idea about this?

    Thank you
    Mustafa

    You have an event script that runs after the load, which could have an impact. If you disable calculate FDM, done? If you calc in HFM after handloading, and correct the data?

    Sounds to me like it might be a problem of rules HFM.

  • Validation of a password field

    I made a PDF where users can fill in what they want their password.

    I need the field to validate that the password is:

    • At least 8 characters
    • a at least 1 upper case letter
    • a at least 1 lower case letter
    • a at least 1 symbol

    I found the following code, but it does not validate the field.  Could someone let me know what I did wrong or if there is an easier way to do this?

    function validatePassword (pw, options) {
         // default options (allows any password)
         var o = {
              lower:    1,
              upper:    1,
              alpha:    0, /* lower + upper */
              numeric:  1,
              special:  1,
              length:   [8, Infinity],
              custom:   [ /* regexes and/or functions */ ],
              badWords: [],
              badSequenceLength: 0,
              noQwertySequences: false,
              noSequential:      false
         };
    
         for (var property in options)
              o[property] = options[property];
    
         var     re = {
                   lower:   /[a-z]/g,
                   upper:   /[A-Z]/g,
                   alpha:   /[A-Z]/gi,
                   numeric: /[0-9]/g,
                   special: /[\W_]/g
              },
              rule, i;
    
         // enforce min/max length
         if (pw.length < o.length[0] || pw.length > o.length[1])
              return false;
    
         // enforce lower/upper/alpha/numeric/special rules
         for (rule in re) {
              if ((pw.match(re[rule]) || []).length < o[rule])
                   return false;
         }
    
         // enforce word ban (case insensitive)
         for (i = 0; i < o.badWords.length; i++) {
              if (pw.toLowerCase().indexOf(o.badWords[i].toLowerCase()) > -1)
                   return false;
         }
    
         // enforce the no sequential, identical characters rule
         if (o.noSequential && /([\S\s])\1/.test(pw))
              return false;
    
         // enforce alphanumeric/qwerty sequence ban rules
         if (o.badSequenceLength) {
              var     lower   = "abcdefghijklmnopqrstuvwxyz",
                   upper   = lower.toUpperCase(),
                   numbers = "0123456789",
                   qwerty  = "qwertyuiopasdfghjklzxcvbnm",
                   start   = o.badSequenceLength - 1,
                   seq     = "_" + pw.slice(0, start);
              for (i = start; i < pw.length; i++) {
                   seq = seq.slice(1) + pw.charAt(i);
                   if (
                        lower.indexOf(seq)   > -1 ||
                        upper.indexOf(seq)   > -1 ||
                        numbers.indexOf(seq) > -1 ||
                        (o.noQwertySequences && qwerty.indexOf(seq) > -1)
                   ) {
                        return false;
                   }
              }
         }
    
         // enforce custom regex/function rules
         for (i = 0; i < o.custom.length; i++) {
              rule = o.custom[i];
              if (rule instanceof RegExp) {
                   if (!rule.test(pw))
                        return false;
              } else if (rule instanceof Function) {
                   if (!rule(pw))
                        return false;
              }
         }
    
         // great success!
         return true;
    }
    

    You must call this function in the event of a field like this Validate:

    (function () {
    
        // See if the password passes the tests    var isValid = validatePassword(event.value, {});
    
        if (!isValid) {        // Show the user an error message        app.alert("Your error message goes here", 1);        // Reject what the user entered        event.rc = false;    }
    
    })();
    

    The function that you have demonstrated should be added to the document in a JavaScript to the document level.

  • HFM rules (more precisely the functions for objects)

    I'm new to the HFM administrator post and try to understand the rules. The student guide for the class, I took lists the objects and functions possible, but does not explain each function. I was wondering if anyone can point me to a place where there is a description of what each function.

    Thank you!

    http://www.Oracle.com/technology/documentation/EPM.html

    Guides related to all the products from hyperion are available here. You will get the explanations on the functions in the guide of the HFM administrator, also available on the link above.

    Varun

Maybe you are looking for