Project level variables in OSB

Is there any way we can declare project level variables or global variables that are visible to all the projects in OSB?? If yes,the how can they b used??

OSB is stateless and can not remember variables outside a running process instance.
However you can have a solution similar to global/project level variables if they are static.
What you can do is create an XSL or XQuery with your variables defined as elements in the XML and inside Proxy service if you need to refer to these variables just call that XQuery/XSLT for that element.
A use case where this scenario can be used is for defining log levels. You can have a config XQ for each project and define the value of log level element for each project in that XQuery. Inside a Proxy service just call this XQ and fetch the LogLevel and log accordingly. This is also useful in migrating between dev/test/production environments. You can have different values of LogLevel in the XQ in different environments so that you dont need to change the code in proxy service when you move from one environment to other and also you dont need to change in each and every proxy if you need to change the level of logging.

Similar Messages

  • Xquery with bind variable in OSB

    Hi,
    I have requirement to read XML file in Xquery as bind variable but it's giving error. I have included this file in OSB proejct but i dont know how to point this out using bind variable. I tried to read file using fn:doc and given file name but it's giving error.
    Any pointer here..
    Thanks

    a few other threads :
    How to use fn:doc() in ALSB
    Re: OSB: How read file xml that is into project OSB
    Caching XML Variable in OSB
    things you need to look at :
    xquery files aren't customizable
    xquery files itself are cached, the fn:foc function will be executed every time again
    so if you don't use the xml for other things, i would just registrate it as xquery file with the xml in it
    or you could use the synchronous file adapter to retrieve the data from the file

  • C# Application.LoadPackage with Project Level DataSource Connections

    I'm trying to use the .NET C# framework to make changes to a number of SSIS 2012 packages.
    I am trying to use the LoadPackage method of the Application class to open the package, update a variable, and save the package.
    The issue that I'm encountering is that the package contains a reference to an project-level connection.  When I save the change, it saves the change fine, but marks all the external connections as invalid.
    connectionManagerID="{B0E1693D-0BCA-4D24-AEFC-97F81E37432C}:external"
    becomes
    connectionManagerID="{B0E1693D-0BCA-4D24-AEFC-97F81E37432C}:invalid"
    I assume this is happening because I only have the one project open and therefore the LoadPackage has no context of the project and it's project-level connections.
    Is there a way to give the LoadPackage the context of the available project-level connections so that it doesn't mark all the connections as invalid?  When I save the one valid change that I made?
    Here is the code for reference:
    // Initialize an Application and Package object
    Application app = new Application();
    Package package = null;
    // Load the package in package object
    package = app.LoadPackage(pkgPath, null);
    // Update the Variable
    String value = package.Variables["TableName"].Value.ToString();
    if (value.IndexOf(".") == -1){
    package.Variables["TableName"].Value = "tstg." + package.Variables["TableName"].Value;
    // Save the package
    app.SaveToXml(pkgPath, package, null);
    Thanks in advance,
    Jason

    As far as I know (did not try though) it is a limitation. Means you cannot do that on a single package having the connection shared. I would consider using a configuration instead, also in SSIS 2012 the value can be changed in the Catalog, no need to program
    anything.
    Arthur My Blog

  • S_ALR_87013532 report -plan cost not rolling upto the WBS/Project level

    Dear All,
    Plan cost from production orders is not rolling up to the WBS/Project level in S_ALR_87013532 ( Plan/Actual Variance report).
    Where as plan cost from network is properly rolling up to the WBS/Project level in the above report. 
    Please suggest what could be the reason for this issue. Is any configuration needs to be done for this.
    Thanks & Regards,
    Vishal

    Dear sir,
    Thanks for the reply & sorry for late response from my side.
    OPSV settings are already maintained in our system.
    Some how i realized  later that cost are actaully getting rolled to the WBS level, but we have observed one more discrepancy.
    Example -
    Production order "X" value - 100 (  as seen through co03)
    Production order "X"value- 40 ( as seen through report s_alr_87013532).
    We found that  in report  s_alr_87013532 , although my total  producton order value of 100 is represented at the WBS /Project level, but at the production order level , it is showing value of 40. 
    On further analysis we found that for production order X
    Materail cost- 60
    Labour cost-40
    The material cost of 60  is not getting fetched against production order "X" in report " S_ALR_87013532".
    There are very few cases , where such discrepancy is seen.
    Kindly suggest.
    Regards,
    Vishal

  • How can I use Server level variables in a business model based report

    hi gems..
    I have declared one server level variable in the BI Analytics repository.
    Now I have made one business model based report.
    In one column I want to use that server level varible.
    I go to the formula tab of that column and then clicked on variable--> session --> put the name of the variable and click ok.
    But when i viewed the report, it is not showing the dates, rather it is showing the date format I chosed i.e DD-MMM-YYYY.
    please help..

    actually the previous problem got resolved...
    Now when I am trying to apply a filter on a particular column using that server variable, then it is showing that the varible has no value definition.
    I have clicked on the filter tab of that column-->add-->variables-->session variables-->then I put the name of the variable-->click OK.
    the following error is comming-
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23005] The repository variable, Variable_name, has no value definition. (HY000)
    I have made that server variable from manage-->variables-->(right click) create new initialisation block-->gave the name and wrote the query and aslo gave the connection pool name and test that and it worked fine..

  • Resource Management of Shared Resource Pool at the Project Level

    I am having difficulty figuring out how to implement our resource management process. Currently we have one "Resource Pool" project that has all the shared resources. It is connected to both a "master portfolio" plan that has some task
    detail in it and other individual project plans that have their own WBS (for larger projects).
    The difficulty arises because we want to do resource allocation at a project level, but the resource usage view shows the WBS/task level detail.  I've tried grouping the resources assignments by resource and then project, but since everything is
    in the "Resource Pool" project, they all group under that project.  I've tried adding the "Project" field and it does show as the source project, but it doesn't group on that field, but rather the "Resource Pool" project
    only.
    How can I see resource allocation/usage at just the project level so our managers can do planning, negotiation, and re-allocation on a periodic basis with one simple view?
    My best current idea is to disconnect all the sub-tasks from the sharer, eliminate the WBS below the project level in the master plan and attach resources at that single line project in that master plan.  Then, we would have to manually alter the "Max"
    available time in the individual sub-plans as we altered allocations.  That essentially disconnects individual plans from both the master plan and the shared resource pool.
    Is there a better way?

    Mark,
    Yeah, I think there is a better way. Having a linked structure the contains both a pool file and a dynamic master is tenuous enough (i.e. prone to corruption), but if you start disconnecting from the pool and and messing with the master, you will most certainly
    invite trouble.
    But here is an approach that might work. I tested it on a sample pool file with two sharer files and I think it might give you what you want.
    1. First, either manually copy or use VBA to copy the contents of the Project field to a custom text field in each sharer file
    2. In the pool file display the Resource Usage view
    3. Create a group that first groups on the Resource Name and then on the Text1 field, and select "group assignments, not resource"
    4. Change the Text1 group field to be "assignment"
    Does that give you what you want?
    To help visualize, here is a screenshot of my test file. After grouping I applied a filter to Text1 with the option to also show summary tasks:
    John

  • Non-admin user cannot access Essbase server level variables

    Version 11.1.1.3
    Essbase Substitution variables are created at server level. Users are getting error in FR report that uses the Subsitution Variable -- Essbase Error(1051085): You do not have sufficient access to get this substitution variable. Also, users cannot access Substitution variable in SmartView. However, users can access variables created at database level. Users are provisioned as "Server Access" to Essbase and filter access to ASO application "MGTRPTG", where MGTRPTG is an ASO essbase application for reporting. We tried the same provisioning in two other environments and it seems to be working fine.
    User is type "Essbase and Planning" provisioned with essbase "server access", application mgtrptg "filter", Reporting and Analysis "analyst", "dynamic viewer" and "Explorer". In addition, it is given a filter "REP_DME_GALB" which restricts 2 dimensions (Division and Geography).
    Steps taken to resolve:
    1. Existing users were deprovisioned and reprovisioned with no effect.
    2. Created brand new identically provisioned users in Prod and QA. QA user can access the server level var and Prod user cannot
    3. Created a brand new server level variable in Prod and this cannot be accessed.
    4. All services have already been restarted several times.
    5. SR has been opened.
    Temporary workaround:
    By creating a duplicate of the same set of variables at the database level, the reports work. This can only be a temporary workaround as the client cannot be expected to maintain two sets of substitution variables since there are 3 applications using these server level variables.
    Thank you for any ideas!
    Jennifer

    You have stumbled on a defect which is resolved in the Hyperion Planning 9.3.1 patch 6 and above. If you have your planning preferences set to indent members it will cause forms which have page selections to show as invalid in SmartView.
    You can either patch Planning or turn off the preference. The patches are available from http://metalink3.oracle.com and require account which has been associated with your client ID.
    P.S. Usually it's not a good practice to use the admin id.
    Regards,
    -John
    Edited by: Jbooth on Nov 3, 2008 2:12 PM

  • How to define a unique project level custom field in project server 2010?

    Hi every one;
    is it possible to define a unique project level custom field?
    our client wants to have a unique custom field( project code) which doesn't allow users to save and publish projects with the same value.
    for example if user A define a project and set "project code = 1" if user B define another project and wants to save "project code =1" for it, the server doesn't allow him to save this value and he has to change value for example to 2
    thanks for any help

    First of all you need to have Project server development environment also for coding visual studio hands on is required.
    To start with PSI (Project Server interface)you need to have Development Environment of Project Server 2010.
    you can get the overview from http://msdn.microsoft.com/en-us/library/office/ms457477(v=office.14).asp
    You
    can get the information about SDK: Download SDK.
    http://msdn.microsoft.com/en-us/library/office/ms512767(v=office.14).aspx
    Below mentioned link is having code and reuqired information about :
    Generate Unique ID for Project using a webpart
     http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/

  • How to find Project Level Text Custom Fields in Project Server 2010 databases?

    Hello,
    We are using Project Server 2010 SP2 in SEM Mode. We are planning to use Project Level Local Custom fields and we want to pull them in reports using SSRS, so I am wondering which table these "Local" (non enterprise) custom fields are stored in
    database.
    Any suggestions?
    Regards,
    Kishore Dodda
    Kishore Dodda

    Hi,
    Please see this
    similar thread about reading local custom fields though the PSI.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Task level data at the Project level?

    Hi all,
        I have a custom date field in Project 2010 that if certain text is displayed in the task name, this field is populated by the task finish date.
    Essentially this task is connected within Project Server to an external 'deliverable'.
    I need to grab this date and have it at the Project  Information level - is this possible?
    Even using Enterprise flags, I still could not obtain the task date at a Project level.
    Any thoughts much appreciated.
    -CL

    Rob,
    Maybe my latest post on this need may be of interest. How to show Implementation Milestone Dates in Project Center. #msproject
    http://aboutmsproject.com/how-to-show-implementation-milestone-dates-in-project-center/  I'm able to use formulas to bring task data up to the Project level.
    Treb Gatte, Project MVP |
    http://AboutMSProject.com |
    @tumbleroad

  • URGENT: Project level authorization

    Dear All,
    In Solman, Can we assign our users at project level only, so that they can see and change only the project assigned to them. They should not be allowed to view and see any other project.
    If yes then how?
    and is there any way to implement further filters like uses according to project phase or at task level?
    Looking forward for a quick repsponse. of anyone of you has relavent document then please mail it to me [email protected]
    Thanks in advance
    Hemant K

    Hi Hemant,
       Yah..U can do.
    In T.code PFCG, under authorization object S_PROJECT, assign your project in "Project name" field.
    Then go to t.code SU01, enter the user ID to whom u want to restrict the project. Then select "Personalisation" tab, in this u can find entry "SOLAR_SETTINGS" under personalisation object key, doule click there...new window appears, in this window , in the field.."Initial project" assign your project.
    This may help u.
    Regadrs
    Senthil

  • Problem with "View project-level information" permission when accessing build definition in Visual Studio Online

    Hi, 
    from some time all our team members are experiancing problems when acsessing list of builds on Visual Studio Online or when trying to edit build definition in Visual Studio. Error message suggests problem with missing View project-level information permission:
    "TF50309: The following account does not have sufficient permissions to complete the operation: XXXXXXXX. The following permissions are needed to perform this operation: View project-level information."
    I've checked permissions of my User account and Group. "View project-level information" is set to Allow on both levels. We didn't make any changes in security configuration recently. Does anyone faced similar problem?
    Short term solution was to add all users, to Project Collection Administrators Group, but it is not what we would like to live with.

    It seems that the problem was fixed and Project Collection Administrators permissions are no longer required. Great :-)

  • Global Constants / Variable in OSB

    I want to define global Constants / Variable in OSB and I want to access them in XSLT when I am tranforming the requests...
    Any idea how can I do that?
    I want to use these variables and constants for server name and ports (in different environment) and some other stuff.

    We have done a similar implementation for the same scenario. We have created a Xquery where we put in the configuration information as an XML and then in the pipeline stages we use the Assign the Xquery to a a temporary variable and then use the values of the xml using relative xpath expressions.
    This way any time we need to make any changes to the confguration we know once place we can change and it gets reflected in the complete code base.
    Below is how we have done it:
    - create a Xquery with xml configurations (say commonconfig.xq)
    - then using the Assign action get the output of this xquery into a temp var (say commonConfig)
    - then use the configurable values using the relative xpath in the Assign action (say Assign $commonConfig/param1/text() to param1Value
    Let me know if you need further information.
    Thanks,
    Patrick

  • How we can skip project level schema validation in BPEL

    How we can skip project level schema validation in BPEL................... Because i have a requirement to send email with attachment. to send attachment i have to skip schema validation from EM console. so it will skip schema validation for all deployed application.it creates problem for other project so i want to do that thing at project level ....

    Hi
    It can be done by going opening the composite.xml in jdeveloper and than opening the properties window of the composite.There you will see a property Validate schema.Set that to no to overwrite the property set at the sever level.
    The following property gets added in the composite.xml
    <property name="validateSchema" type="xs:boolean" many="false">false</property>
    Redeploy the composite and check.
    Hope this helps!!!

  • Remote replication - scheduled or continuous? Project-level or share-level?

    Hi, I had a lot of problems with RR with the older 2009 firmware, but there's supposedly some improvements to in Q1 2010.
    Previously, I've been doing scheduled and share-level rep, because any time the connection between the devices was broken, the replication failed and could not be restarted, resulting in me having to destroy the target rep and starting over. I have to move a couple terabytes over a 20mbit line between the devices, so it took a couple of months because of multiple restarts before all the data had copied over.
    I have two questions regarding best practice:
    1. Should I be using scheduled or continuous replication?
    If the connection is lost during a continuous rep, will I need destroy the target, and re-create it from scratch?
    2. Is it better to replicate at project-level, or set up individual replication for each share and LUN?
    I need to be able to mount a single share if necessary, but managing share-level replication is very time consuming, because I have to set up a schedule that allows each share to fully replicate before it starts the next share. But if a whole project fails, I have to restart terabytes of data.
    Thank you,
    Max

    Hello,
    In a continuous replication, one the initial copy is sent, any interruption in communication would require the last update package to be sent again, not the entire data.
    Regarding, which is "better" is your preference. Each has its own best use and one is not inherently better than the other method.
    -Jay

Maybe you are looking for

  • Adobe air

    I clicked on Help in 6 and got told I should install Adobe Air.  I googled it, and I wasn't any wiser about what Adobe Air is about.  Should I instal Adobe Air?

  • Extigy computer will not recognise when usb is connected

    When the soundblaster is connected to?my computer with a usb the computer does not seem to acknowledge the extigy is there(nothing comes up on my computer section-XP) The sound blaster disc has installed ok,and the remote picture pops up on screen ea

  • ASSERTION_FAILED , RSAR_TRANSTRUCTURE_ACTIVATE

    Experts,     I have an issue, when i try to activate a transfer structure ( DB connect Datasource ) I get  a dump with the following message ASSERTION_FAILED RSAR_TRANSTRUCTURE_ACTIVATE "The following checkpoint group was used: "No checkpoint group s

  • Can I add-up a column of figures in Pages?

    Hi Everyone, I have used MSWord for many years to produce reports that include:  item number, photo image, narrative description, and a monetary figure, using tables and borders.  I manage to add rows that automatically add the next item number, and

  • Coldfusion Developer sought

    We have an immediate need for a Coldfusion developer for an 8 month project in CT. If interested, please contact me at: [email protected]