User Scripts execute_lsql - action framework

Hello All,
I have been trying to implement the Write back Functionality Introduced in OBI 11.1.1.7.1. I have seen this working in OBI Sample App.
They Invoked a browser script USERSCRIPTS.execute_lsql which is available in the custom scripts.
I copied that custom script, restarted Full BI and applied the Same logic.
I am able to see in logs that the query being Passed to the BI Server but I am getting "Could Not find Privilege" error.
Are there any privileges to be assigned to execute the user scripts?
You can see working Example from Oracle in the following Location: Oracle Business Intelligence
Dashboards --> Over View --> 0.1 General Index --> 1 Main Index --> 8.21 Essbase Integration(expand) --> Write Back from Tbl
Any Help on this is greatly appreciated.
Thanks,
KN

Hi KN,
I saw the link and observed that when i try to invoke the script for Total Expenses column, It is asking for New value. When i entered , getting Invoked successfully . but not updated in the Pivot table.
So, you want that to be updated in the table is that you are trying to? Can you be clear on my view....
And also you have some limitations on writeback.
Can u please go through this.
Configuring and Managing Analyses and Dashboards - 11g Release 1 (11.1.1)
Thanks,
Pavani

Similar Messages

  • Action Framework in OBIEE 11g

    Hi All,
    I wanted to know whether the action framework in OBIEE allows us to perform some post processing on a report. I need to first obtain a report in OBIEE then swap values in a column based on a mapping table and then email the report to a list of users.
    Thanks,
    Nikita

    Hi Ram,
    Here are a couple URLs with examples on those types of actions.
    Java Method example
    http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/
    Invoke Browser Script
    http://www.rittmanmead.com/2012/07/navigating-to-bi-content-in-obiee11g-and-passing-multiple-parameters/
    Invoke an HTTP Request
    This is a way to create a simple http GET or POST method, you can google around and find any number of examples on this.
    JB

  • Scripting Illustrator actions, incorporating calls to Excel

    Hello all, I need some help...
    I am building a series of logos — based on word strings —  using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file.
    Normally for one or two iterations of the process, I would not hassle with a script, but this is a mind-numbing repetitive task, and I have to make 6,000 logos!! Seems the ideal use for a script.
    We have tried to work with ExtendScript Toolkit (ESTK) but we can't get our heads around how to make it do certain things, and I can't find anyone who really knows how to use ESTK correctly.
    I have a MAC, so the script has to be written in Java Script or Apple Script.
    Here's what I need to do:
    Execute Action: Open a Master Illustrator doc. This doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set. <pause Action>
    Run Script: Retrieve the word string from a cell in Excel worksheet (or CSV??). Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm". There are two additional charaters "tm" at the end of the word string that will be acted upon (remember these two characters for item 7 below)
    Run Script: Place this WordString into the predefined type box in the Illustrator Master doc. That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator? <pause Script>
    Execute Action: Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm  <pause Action>
    Run Script: Select all caps in word string. Example: DinnerPartiestm <pause Script>
    Execute Action: Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm <pause Action>
    Run Script: Select last two letters of word string. Example: DinnerPartiestm <pause Script>
    Execute Action: Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm <pause Action>
    Run Script: Select text box. <pause Script>
    Execute Action: Apply Stylize > Drop Shadow — On contents of text box, preset DS parameters in either Appearence panel or Effect menu.
    Execute Action: File > Save As .ai document. <at Save As dialog, pause action>
    Run Script: Retrieve file name from Excel and place in Save As dialog (copy & paste?). In next column in Excel doc, same row, is a SEO-friendly file name. Example: word string is "DinnerParties"; file name (next column) is "logo-dinner-parties"
    Run Script: Select folder to save the .ai doc into. Example: Folder is "Logos AI". <pause Script>
    Execute Action: Complete Save As. Example: in Folder "Logos AI" now we have the file "logo-dinner-parties.ai"
    Execute Action [assumes that the Saved As document — logo-dinner-parties.ai — is now the active one in Illustrator]: Save for Web & Devices. Preset to PNG24/Transparent. Correct file name will NOT be in Save field. <at Save dialog, pause action>
    Run Script: Repeat retrieval process to get same file name from Excel.
    Run Script: Select new folder to save the .png doc into. Example: Folder  is "Logos PNG". <pause Script>
    Execute Action: Complete Save for Web. Example: in Folder "Logos PNG" now  we have the file "logo-dinner-parties.png"
    Execute Action: Close
    Repeat steps 1 though 19 until all word strings processed: Script has to know to go to next word string (next row) in Excel doc.
    This is a tricky one, but there's got to be a way to automate the process... otherwise I'll go crazy doing this manually!!
    IS THERE ANYBODY OUT THERE WHO CAN HELP?
    Thanking you in advance for any assistance.
    All the best.

    IS THERE ANYBODY OUT THERE WHO CAN HELP?
    Depends on what you mean by "help." Are you asking someone to do the whole thing for you (would require more detail), or do you intend to do it yourself, but are stuck on something? (You say you "tried to work with ESTK" and "can't find anyone who really knows how to use ESTK correctly"; but you don't say specifically what you're struggling with in ESTK.)
    ...doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set.
    Much of what can be done with any approach depends largely upon what Appearances and/or Effects are involved, and where. You imply that you want all of the "logo" to be contained in a single textFrame object. But Drop Shadow Effect cannot be applied at the character level, so it can't be included in a Character Style.
    So if you don't want all the text to have the same drop shadow, you will be involving multiple textFrame objects. That will lead to the complication of having to position the two textFrames relative to each other, depending on their dimensions after the varying text is inserted.
    Retrieve the word string from a cell in Excel worksheet (or CSV??)
    With scripting, it would be inefficient and unnecssary to go back-and-forth to the spreadsheet to extract values one at a time. Typically, you would create an array containing the full set of values, and then iterate through the elements of the array.
    Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm".
    So you're going to need a sub-routine of some kind (in Javascript, a function) to find capital letters.
    There are two additional charaters "tm" at the end of the word string that will be acted upon...
    If this is the same in each instance, and if you are going to script this, there is no need to include it in the data.  Insert the "tm" programmatically.
    That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator?
    Using script, you don't have to select the textFrame, copy, or paste in order to insert content. You would declare a variable, assign its value (from the above-mentioned array), add the variable's value as text to textFrame's content.
    Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm
    Here you will run into a difficulty inherent in Illustrator's poor implementation of stroked text. You can apply a Stroke at the Character level and include that Appearance in a Character Style. But Illustrator always positions such strokes in front of the fill--something you almost never want, because it "chokes" the fills, wrecking the shape of the characters. The workaround is to Add New Stroke and position that below the Characters listing in the Appearance Palette. But script provides no access to added strokes or fills and Added Strokes cannot be applied at the character level.
    Select all caps in word string. Example: DinnerPartiestm
    Illustrator cannot select discontiguous text strings. Again, script does not have to select objects in order to change their properties.
    Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm
    Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm
    The applyTo method of the CharacterStyle object. Or, just set the size and baselineShift properties of the characterAttributes property of the textRange directly.
    Apply Stylize > Drop Shadow — On contents of text box
    Drop Shadow Effect cannot be applied to the contents (character level) of a textFrame--only to the textFrame object itself.
    My very limited understanding of ESTK is that it is a scripting tool for  use in Illustrator.
    It's a script text editor included with the Creative Suite. You can use it to build scripts for any of the CS products (or entirely other purposes, for that matter). Or, you can choose to not use it at all. A Javascript is just a text file. Tools like ESTK add conveniences, references, etc., geared toward scripting.
    So, I'm only acting on the word string....
    But I am also not a coder...
    Which is why I would look into simpler already-built methods before jumping into a tedious solution scripted for Illustrator. For example: Many, if not most, AI users are familiar with InDesign. InDesign provides a proper dataMerge feature that can handle ordinary tab-delimited text. It's handling of strokes on text is correct, unlike Illustrator. If you set it up accordingly, it can create all the separate pages for you.
    You would:
    1. Draw the fixed graphic in Illustrator.
    2. Place the Illustrator graphic on InD's master page.
    3. Set and style the text objects. Insert DataMerge tags.
    4. Import the data and run the Merge function.
    InD builds individual pages for each row of the data. You're done. Export to PDF. InD and Acrobat also have their own scripting models. Either one can handle the specific naming convention, if really needed.
    Again, it depends on what exactly is "special" about the text object(s) you are manipulating with variable content. For example, if you're using an AI-specific Warp effect, you'd be back to Illustrator.
    Anyway, you want a paying gig?
    I do some freelance work as time permits and interest strikes, but I'm not cheap, and that's not why I frequent these forums.
    Scripting your solution entirely in AI may very well be possible, but whoever does it will need to see the specific objects, styles, etc., involved to avoid unnecessary guessing and time-consuming round-tripping. Why don't you post an image and/or an AI file?
    JET

  • I have installed grease monkey (firefox add on and it shows up at the right top)and user script, but there is no download button to download from esnips.

    Sir,
    grease monkey is an firefox add on and user scripts are there for esnips music and videos. But when i go to esnips music there is no download button as given in the tutorial. I am having the latest firefox 15.0.1.The tutorials did not work for me. There is no extra action on the user script for creating the download button. What should i do

    To get rid of Bing Search Window..............
    Click on View tab / Tools and un-check 'Search' (alias for 'Bing')

  • User analysis at Action level and Permission level

    Hi Gurus,
    I am totally confused by the way our CC is working while using it for User Analysis. I understand that during Risk Analysis for a user with Report Type "Action Level" will give the conflicts at the transaction level for the user and with Report Type "Permission Level" will give the conflicts at the Object level for the user. Also the permission level report includes the results of the action level report as well and hence Permission level report is more detailed & reliable.
    But now when I run the analysis report for a particular user both at Action & Permission level...the user is not getting any conflicts at Action level but it is showing conflicts at the Permission level. For another user the vice versa is happening. Could anyone help me in understanding the above 2 scenarios?
    Regards,
    Lakshmi.

    Hi
    A user to be need to have a action level conflict should have that transansaction code access only ie object s-tcode =  xyz transaction code.
    Similarly for a user to be reported in permission level conflict the user should have access to
    S_tcode = xyz transaction code Plus all other authorisation objects...Or in other words if the user is missing any authorisation object it wont be reported there...
    So just check what authorisation object level check is enabled for that transaction code in the rule architect tab.. Thereafter see whether user have access to all those authorisation object with the values specified...
    Parveen

  • How can I change the order of user scripts in Firefox 4?

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/793457''
    Some of my user scripts only work when arranged in a certain order. I need to figure out how to re-order them in the add-ons manager page.

    Right click the script and choose Execute First/Sooner/Later/Last to move it up or down.
    Hopefully you arn't like me and have a lot of scripts. The page reloads every time you do this and puts you back at the top of the list. It takes forever to adjust any number of scripts. I hope they give us back the ability to drag them into place like in FF3.x.

  • How to uninstall a Greasemonkey userscript in Firefox 3.6.16? Manage User Scripts box doesn't appear as before.

    I need to uninstall an old userscript installed through Greasemonkey. Usually I go via Tools-->Greasemonkey-->Manage User Scripts or right-click on the monkey icon on the bottom left and choose Manage User Scripts and get this large window where I can manage whatever userscripts I have on here, but now I only get the small Add-ons window with the monkey icon last in the row (after Plugins and Installation icons) and the white area below is completely empty (whereas for example under Extensions I can see and handle those). How do I do this/Why can't I get the 'usual' managing window to show??

    I also have this problem and it just started in the last week or so. It seems to be dependent on my home network and the problem only exists with firefox. I have used chrome and IE8 with no issues. I can verify tomorrow that it only exists in my network but one thing I was able to test is that the problem exists even on my linux boot. I am totally dumbfounded with this problem and I can't find anything that will allow the gmail page to load. All other pages I have tried load fine, all be it a little slower than normal but they load. If anyone knows of a difference between firefox and all other browsers on how it goes through the router I would appreciate the info cause I don't know of any differences.

  • Cant get add on to work needs a user script and cant get it

    there is ;oads of addvice but findind the user script is the problem

    More information would help, preferably with links. This forum is not really for discussing details of add-ons, you would probably be better trying somewhere like https://forums.mozilla.org/addons/
    What is the add-on you are talking about, and what is the script ?
    * eg are you using [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey]

  • ACL rights assignment in new user script

    I've been tasked with converting an old new-user script that runs at least once a day written in VB to PowerShell. This script takes as input a CSV file we get from HR that has all necessary info and creates a user, adds them to specific groups based on
    the info in the CSV, enables their Exchange mailbox, and creates their home directory. I'm having a bit of trouble planning out the rights assignment part on the user home directory; I need to be able to add the specific user (set by variable at the beginning
    of the script) and three static groups. What is the best way to do that? I can easily grab outside modules if needed (a section of my script checks for and if necessary installs modules and adds snap-ins), but I'd rather keep this 100% PowerShell - no icacls
    or outside commands.
    Any suggestions?
    Thank you in advance.
    [email protected]

    Here's what I came up with for the File System Stuff:
    foreach ($user in $userlist)
    $samaccountname = $user.empid
    $FQN = "domain\" + $samaccountname
    $homedirpath = "\\fileserver\users\$samaccountname"
    new-item -ItemType directory -path $homedirpath -force
    #Set ACLs for user and required groups
    $homedir_acl = get-acl $homedirpath
    $acl_access1 = 'domain\HomeDirectory Admins'
    $acl_access2 = "domain\$samaccountname"
    $fullrights = "Fullcontrol"
    $modifyrights = "Modify"
    $inheritrights = "ContainerInherit,ObjectInherit"
    $rule1 = new-object system.security.accesscontrol.filesystemaccessrule ($acl_access1, $fullrights, $inheritrights, "none", "Allow")
    $rule2 = new-object system.security.accesscontrol.filesystemaccessrule ($acl_access2, $modifyrights, $inheritrights, "none", "Allow")
    $homedir_acl.addAccessRule($rule1)
    set-acl $homedirpath $homedir_acl
    $homedir_acl.addAccessRule($rule2)
    set-acl $homedirpath $homedir_acl
    #Set owner on home directory
    $owner = New-Object System.Security.Principal.NTAccount($FQN)
    $homedir_acl.setowner($owner)
    set-acl $homedirpath $homedir_acl
    [email protected]

  • Disable User script

    all, I have the following disable user script:
    Add-PSSnapIn Quest.ActiveRoles.ADManagement
    # Get the Current Date 
    $COMPAREDATE=GET-DATE 
    # Number of Days to check back.    
    $NumberDays=60
    $OU=contoso.local/'
    GET-QADUSER -SizeLimit 0 -SearchRoot $OU | 
    #where { $_.LastLogonTimeStamp.AddDays($NumberDays) -gt $CURRENTDATE } |
    where { $_.lastlogontimestamp -le (get-date).adddays(-$NumberDays) } | 
    Where {$_.ParentContainer -notmatch "$OU/contoso\Service Accounts"} |
    DISABLE-QADUSER
    I run the following command as a domain admin on a workstation:
    c:\Windows\System32\WindowsPowerShell\v1.0>powershell.exe -command "&'c:\scripts\disable.ps1'"
    I get a listing of accounts and then:
    Disable-QADUser : Access is denied.
    At C:\scripts\disable.ps1:21 char:16
    + DISABLE-QADUSER <<<<
        + CategoryInfo          : NotSpecified: (:) [Disable-QADUser], Unauthorize
       dAccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Quest.ActiveR
       oles.ArsPowerShellSnapIn.Powershell.Cmdlets.DisableUserCmdlet
    any ideas why I get this and how to fix it?
    thanks

    Step by step:
    This gets all user accounts:
    $users=get-qaduser
    This filters an out an single OU.
    $users=get-qaduser | where{$_.ParentContainerDN -ne 'ou=Service Accounts,dc=contoso,dc-com'}
    Now add the exclusion for the logindate
    $users=get-qaduser
    |
            Where-Object{$_.ParentContainerDN
    -ne 'ou=Service Accounts,dc=contoso,dc-com'}
    |
            Where-Object{$_.LastLogon
    -lt $oldestdate}
    Now check $users to be sure it contains what you want.
    Now test to see if you can disable them:
    $users | Disable-QADUser -WhaztIf
    Try it.
    ¯\_(ツ)_/¯

  • Auto Single-User script

    I am new to Solaris. I have a script that does a full backup using usfdump, however, we must first bring the system down to single-user mode. I would like to automate this process fully. How do I create a script that will bring the system to single user mode, run my backup, then bring it back to multiuser mode?
    Thanks for your help

    (IMO) The days of going to single user to backup are long over. The only time I had to do single user backups were about 6-8 years ago, and then it was to backup raw devices (via dd / Sybase) to tape. You need to explain why single user is needed. OS backups can be done in multiuser mode and/or splitting off mirrors like the previous poster stated.
    (IMO) I would never write a script to shutdown to single user. Certainly check via "who -r" if you're in single user mode before allowing the script to continue, but performing a "init" in a user script? No way.
    I think you need to step back and double check whether single user is really, really needed.
    Patrick/.

  • User Exit/Dynamic Actions when saving Business Event

    Hi,
    In Training & Event Management, is there such a thing as a user exit/dynamic actions that will be invoked when saving a Business Event?
    Thank you.
    Regards,

    Hi
    Please check out the following Business Add in
    RHPV0001
    HRTEM00MASTERDATA 
    HRTEM00NET_ACTIVITY
    HRTEM_HANDLE_BOOKING
    Reward points, if helpful.
    regards
    waz

  • Oracle BI EE 11g – Action Framework - Invoke a Java Method from Action links

    Hello All,
       I have a requirement to save OBIEE 11g report into shared drive. I have created a EJB by using the below link and successfully deployed the application in server(bi_server1) .
    http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/
    When Im trying to call Invoke a Java method, it is showing "No Content" . Can anybody please share with me the sample "ActionFrameworkConfig.xml" file used for Invoke a Java method.
    My OBIEE version is : 11.1.1.7.131017
    Thanks.

    1. check your t3 port no, in my case it's 7001.
    so i changed "<jndi-url>t3://localhost:9704</jndi-url>" to "<jndi-url>t3://localhost:7001</jndi-url>"
    2. if you run obiee 11.1.1.6.0 above, you don't need below.
    <credentialmap>oracle.bi.actions</credentialmap>
    so please drop this line.
    3. restart your server and check there's no error log when loading ActionFrameworkConfig.xml.
    Good Luck !!!

  • The longstanding scripts-in-actions bug

    In case it is true that with the announcement of the new version the beta testers are relieved of the non-disclosure-agreement (as I think I read somewhere):
    Can anybody tell yet if Scripts in Actions will finally be maintained after restarting the appplication in Illustrator CS6?

    I can’t remember for sure if I filed a report, but I have added my support and started a thread in the Feature Request section.
    http://forums.adobe.com/thread/729118?tstart=30
    http://forums.adobe.com/message/3872075#3872075
    The Adobe team should have been aware of this for a looong time now in any case, because the issue has persisted at least since CS, if I remember correctly.

  • How to know which user did what action

    Hello community
    Is there any way to know if a user does some action (like modify or delete an activity or project) which user did it?

    You may refer to below MOS note
    How to Track or Audit Any Changes Made Within Project Management or Methodology Management (Doc ID 907655.1)

Maybe you are looking for