How to access _global variables in different domain

hi
i am loading a swf in local and this has to be communicate the swf which was in the server(different domain). using the system.security.allowdomail i can access the variables, but i can't able to access _global variable.
Pls tell how to access _global variable in different domain
Thanks in advance
@flash

Ganesh,
It should work the way you mentioned it. I don't see why it
didn't unless there is a spelling mistake or something. If there
is you should have a got an error message. :-)
I actually don't recommend using globals at all, I would rather
use a PL\SQL Package Specification to define Global Variable.
These variables are valid for the duration of the Session and
they are restricted to Char(255) limit. It reduces the number of
mistakes when converting dates and Such. It also forces the
developers to place all the globals in one place instead of
multiple places. Read Feurstein's book on PL\SQL Programming for
more details.
Sunil
MS Ganesh (guest) wrote:
: Hi Steve,
: I know how to assign values to global variables.
: I did the following
: Form Name : FIRST_FORM
: :global.group_id := 'SUPERVISOR'
: call_form('SECOND_FORM');
: In Second Form
: When New Form Instance
: Message(:global.group_id);
: No message is displayed.
: Please explain to me the steps in detail.
: Thanks in advance.
: Bye
: MS GANESH
: Steve (guest) wrote:
: : Just assign value to global variable i.e.
: : :global.foo := 'anything'; or
: : COPY('anything', 'global.foo');
: : to remove global variable
: : ERASE('global.foo');
: : Note: global variables are always VARCHAR2(255);
: : MS Ganesh (guest) wrote:
: : : Dear OTN Members,
: : : I would like to pass values between forms,
: : : I know it is possible to do it by using Parameters.
: : : But I would like to know how to use global variables to
: : : accomplish the same task.
: : : Thanks in Advance.
: : : Bye
: : : MS Ganesh
null

Similar Messages

  • How to access system variables in Script Component in data flow task in SSIS

    Hi,
    I am new to SSIS. Can someone tell me how to access system variable in Script Component in SSIS using C# code.
    Thanks

    You can use the System.Environment.GetEnvironmentVariable(...) to read the variables. An example is here:
    http://msdn.microsoft.com/en-us/library/y6k3c7b0.aspx
    Vikash Kumar Singh || www.singhvikash.in

  • How to configure PerformancePoint to access SSAS hosted in different domain.

    I have Sharepoint 2013 installed in a demo environment with a domain say ABC. I have username and password of an account say DEC\sqlread, having only read permission in SSAS (2008 R2) production environment, which is hosted on different domain. How do I
    configure Performance point to use that read account (DEC\sqlread) of SSAS  whenever any user of ABC domain uses performance point reports.
    I don't have much permission in SSAS production environment to configure things, but I have admin access to demo environment.

    Hi  Dev,
    According to your description, you want to configure  PerformancePoint  to connect SSAS using a read account.
    You can configure the Unattended Service Account for  the PerformancePoint Services:
    Here is a good  blog you can refer to:
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    Reference:
    http://technet.microsoft.com/en-us/library/jj819321(v=office.15).aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • How to access Excel files from different locations?

    Hello,
    I have successfully tested the Excel sample on WLS 7, and trying to run it on
    the WLS 8.1.
    Anyways, the common question for both is, how to access an excel files from different
    locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
    \\domain2\accounts\vouchers.xls)?
    From example i can see that it picks from a specific path under repository.
    Thanks
    Ashok Gupta

    The custom function sets the MS-Excel default directory to System.getProperty("user.dir")+"/excel"
    (the domain directory), then opens the filename passed as a parameter. I assume
    that if you pass in the fully specified path for the excel file ( like d:\MyDir\data\test.xls),
    that it would open that file.
    - Mike
    "Ashok Gupta" <[email protected]> wrote:
    >
    Hello,
    I have successfully tested the Excel sample on WLS 7, and trying to run
    it on
    the WLS 8.1.
    Anyways, the common question for both is, how to access an excel files
    from different
    locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
    \\domain2\accounts\vouchers.xls)?
    From example i can see that it picks from a specific path under repository.
    Thanks
    Ashok Gupta

  • How to access form objects from different class?

    Hello, I am new to java and i started with netbeans 6 beta,
    when i create java form application from template i get 2 classes one ends with APP and one with VIEW,
    i put for example jTextField1 with the form designer to the form and i can manipulate it's contents easily from within it's class (let's say it is MyAppView).
    Question>
    How can i access jTextField1 value from different class that i created in the same project?
    please help. and sorry for such newbie question.
    Thanks Mike

    hmm now it says
    non static variable jTree1 can not be referenced from static context
    My code in ClasWithFormObjects is
    public static void setTreeModel (DefaultMutableTreeNode treemodel){
    jTree1.setModel(new DefaultTreeModel(treemodel));
    and in Class2 it is
    ClasWithFormObjects.setTreeModel(model);

  • How to access a variable from within a symbol.

    How do I access a variable set outside a symbol from within that symbol?
    Thanks

    If you set a variable on stage ,say
    sym.setVariable("stageVariable", "I am stage variable");
    You can access it from within  a symbol using :
    var myVariable = sym.getComposition().getStage().getVariable("stageVariable");
    Basically you need to get handle to the symbol in which the variable is defined.

  • How to access a variable in if clause?

    Hi Friends,
    I have declared a varialbe like this
    <?xdoxslt:set_variable($_XDOCTX, ’cnt’, 10)?>
    Now if i want to access the variable in "if" clause ,something like
    <if:cnt=10?>
    How can i access it?

    Hi,
    try the following
    <?if:xdoxslt:get_variable($_XDOCTX, 'cnt')= 10?>
    Your logic goes here
    <?end if?>
    regards
    Rupesh

  • How to access Workflow variables in Form Designer?

    Hello,
    I am wanting to set certain subforms to readonly depending on which part of the workflow the form is currently on. I already have the JavaScript code working to set the subform fields to readonly, but now I cannot figure out how to trigger this and where do I keep a variable to keep track of which part of the workflow I am currently in.
    I assume I will have a variable in the workflow itself and then I can use the Set Value QPAC to change the variable for each workflow step before it goes to the User QPAC, but what about within the form? I don't understand how the form javascript will know to execute, so how does my workflow "talk" to the form to set these fields to readonly?
    Right now the JavaScript code is sitting in the root::initialize part of the form. I was assuming I could have something like "if my workflow variable is equal to XX then set this subform to read only". But, how do I access my workflow variable in the form designer?
    Also, since I have digital signatures, I am having to pass all the form data in document variables, will this affect how I need to do this? I was also thinking of possibly accessing/setting a hidden field in the form, but thought the above way may be better.
    I hope that made sense!
    Thank you,
    Jennifer

    To follow-up, I spoke with Adobe support this morning and they said that I cannot access Workflow variables within Designer (besides those Workflow variables that are already provided).
    He mentioned that if I use the hidden fields, that I would need to Render the form each time before going to the User to trigger this to happen. So, I am not sure what I will do just yet. I probably not worry about making the fields readonly for the time being; it was a little extra thought I had and isn't required for our process.
    Thank you,
    Jennifer

  • How to access Websphere variables using java

    Hi
    I want to access Websphere variables using java.
    Any help is appreciated!!
    Thanks
    P

    WebSphere Application Server has a bunch environmental variables such as log locations. These are held at the "server", "node", and "cell" level.
    To access them, you have to get the right context. Something like this, I believe...
    InitialContext initialContext = new InitialContext();
    initialContext.lookup("foo:bar/baz/blah"); //correct context hereGo to the IBM website for WAS and do a search on namespace bindings. That should give you some more information.
    Good luck.

  • Grant access to users from different Domains

    Hi,
    Recently my company was merged with another. All users from my company are setup in our Domain (DomainA). Sharepoint is able to see the users in this domain and grant access to the users as well. When the merger happened, we created a Group (Test - Sharepoint)
    in our AD to add groups from other companie's domain:DomainB, totally different Forest. There is a two way trust setup between these domains. The group Test-Sharepoint is "domain local" and it is able to see the groups/users from other domain: DomainB.
    The other users are now able to access our sharepoint environment once access is granted to DomainA\Test-Sharepoint.
    Problem came when we applied Audience targetting around few web parts. The users from DomainB who are added as object in DomainA\Test-Sharepoint (group in DomainA) are not able to see the web parts that have audience targeting for this group. Someone
    suggested that AD groups should be Global or Universal but that is not our case. Most of the groups in our AD are domain local and SP is able to see the users within it.
    Please suggest how we can resolve audience targeting issue?
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

    My apologies, yes that is correct you'll have to use Domain Local in this case. http://technet.microsoft.com/en-us/library/cc755692(v=WS.10).aspx
    Actually what you'll need to do is not use Groups in your domain at all, as the users are Foreign Security Principals. Instead, use a group in the trusted domain, or attributes of the users you intend to target directly.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Accessing a variable from different application instance in fmis

    Hello everyone i like to know how to declare a global variable in FMS, so that i can access it from different application instance of a same application.
    Thank.

    Hi,
    In such a use case you can use persistent shared object to keep track of all connected users and the instances they are connected to. then when a user connects in application.xml you can check whether that user name and password is valid for a instance. This doc should help you get this achieved http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d3 7a-7fff.html
    Thanks,
    Abhishek

  • How to access a variable in workflow

    Hi All,
    1)Can a user-defined variable be accessed in workflow? If yes,how??
    2) whether or not every idoc function runs in the workflow or only workflow specific functions can be used there?
    (idoc reference guide says nothing abt whether non-workflow functions working under workflowcustomization area)
    3)I am trying to pull all the metadata options (multiselect) options in a variable and then i want that variable (which will now contain a string) to be used as a token .how can i go for it?
    4)where can we see the output of idoc scripts when we write customization scripts in UCM (apart from the reflection of changes happening if the script is proper)
    Thanks in Advance.

    I think what you are saying is that you want to create a token based on the values in a metedata field that is popuated by a multiselect list. This requires that you have a multiselect list where you add user ids to a metadata field
    To do this from the Workflow Admin applet
    Options > Tokens... > Add
    Give the Token a Name and Description and then paste the following into the script area
    You will have to change the value of xReviewers to the name of your custom metadata field.
    <$rsMakeFromString("wfReviewers",xReviewers)$>
    <$loop wfReviewers$>
    <$wfAddUser(wfReviewers.row, "user")$>
    <$endloop$>
    Is this what you need?
    Tim

  • How to access enviroment variables on 10.1.2.3??

    We would like to add and access the environment variables from jsp/java, does anyone know how to do so? We have added them to the server in the env var section, but are unable to access any of them?! Help!

    Tried that. Throws a genEnv is deprecated error. It does however work on 10.1.3. (which is frustrating) I switched it to use the java.util.Properties p = System.getProperties(); But it doesn't show up in that list either.

  • How to access (call) variables from multiple components

    I have what I think is a basic task, but I cant seem to get it to work.  I have a Flex project with one application.  In addition to the one application, I have many components that are used in the application.  These components vary from simple (a ComboBox) to complex (many sub-components).  What I need to do is define a viable in one component and access it in another component.  I can't seem to do this.  Below is an example of how I think it should be:
    Component1
    <mx:Script>
           <![CDATA[
            [Bindable]
            private var userID:int=0;
           ]]>
    </mx:Script>
    Component2
    <mx:TextInput  text="{Component1.userID}"/>
    Any help you can provide would be beneficial.
    Lee

    Hello,
         You may also want to consider using the mx.core method.
         In your main application script area define all of your public variables and functions. Then from your component, you can reference these absolutely with the following syntax.
    <!-- Main App -->
    [Bindable]
    public var userID:int;
    <!-- Component -->
    private function init():void {
         var com_UserID = mx.core.Application.application.userID;
    Using this method ensures that you will have access to any Function or variable within the scope of the project.
    Kind Regards,
    Dr. Ivan Alexander, Ph.D.
    Sr. Applications Engineer
    FlexAppsStore.com
    Sun Microsystems
    MySQL Enterprise Ready Partner 2009

  • How to access a variable from inside another symbol

    So i did this tutorial, Leveraging Independent Symbol Timelines created by Eliane...it's rockin, btw.  ;-)
    All's well but now i have a symbol on the stage called mc-home.  inside of mc-home is a button called btn-go.
    On the stage in composition ready there's a variable sym.setVariable("current", "mc-home");
    This code works for a symbol that's on the stage but, how do i get this code to work on a button that's inside another symbol that's on the stage?
    var current = sym.getVariable("current");
    if (current != "") {
        sym.getSymbol(current).play("OUT");
    sym.getSymbol("mc-something").play("IN");
    sym.setVariable("current", "mc-something");

    sorry, i was kind of confused myself too, don't worry about it but thanks for your patience for reading it anyway

Maybe you are looking for

  • How to add an image from mapped drives?

    Hi all, Currently I've a BSP service running some picture are stored within the service directory (using import MIME) in the WEBAS like ... http://webhost/sap/bc/bsp/sap/zris/GFX/logo.gif but now how can I display in the same service pictures taken f

  • Saving PDF in Preview results in unsearchable File

    Hi I found an archieved discussion (but without a single answer to the question), so I'm reproducing it here again because I have the exact same problem and am hoping for suggestions for a solution: "If I take any PDF that is searchable (say from the

  • TABLE_ENTRIES_GET_VIA_RFC doesn't return all data for table VBRP

    Hi guys, I'm trying to import data from table VBRP using fm TABLE_ENTRIES_GET_VIA_RFC in Microsoft access. However it only seem to import first few fields of table and then nothing ! Am I missing something. It works fine for other tables, i tries EKP

  • USB not connecting properly 8800

    I can no longer connect using USB to Blackberry Desktop Manager. Although the Device Connected (PIN) is showing correctly I can no longer synchronise or backup/restore etc. The 8800 is charging through the USB OK too. Tried different PCs and differen

  • WM: Confirming TOs in Mobile Data Entry

    Hello, I am having a business requirement where transfer order should be confirmed with alternative unit of measure instead of base unit of measure. This can be done nicely in LT12, but we want to use Mobile Data Entry. In transaction LM06 I can't fi