Modifying ALDSP data source end points programmatically

I can see how to manually modify ALDSP data source end points through the ldconsole:
http://edocs.bea.com/aldsp/docs21/admin/server.html#1042064
but is there any programmatic way to do this?
For my purpose, it would be adequate if there were some Ant tasks to do the job (e.g. like using the "wlconfig" task to tweak JMX attributes).
Thanks,
Mark

You can modify the settings in <adminserverhome>/liquiddata/<yourApp>LDConfig.xml
The settings are read from the file when the application is deployed

Similar Messages

  • Modify the data source of a data view web part

    I have a dataView web part deployed in a template in multiple site collection. This dataView hasn't any query set up, so it loads a lot of items and this is slowing down my system.
    Now I want to programmatically put a query overriding the existent (empty) one and I'm doing like this:
    System.Web.UI.WebControls.WebParts.WebPart y = (System.Web.UI.WebControls.WebParts.WebPart)item;
    Microsoft.SharePoint.WebPartPages.DataFormWebPart z = (Microsoft.SharePoint.WebPartPages.DataFormWebPart)item;
    StringBuilder dataSourceString = new StringBuilder("<%@ Register TagPrefix=\"sharepoint\" Namespace=\"Microsoft.SharePoint.WebControls\" Assembly=\"Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<%@ Register TagPrefix=\"WebPartPages\" Namespace=\"Microsoft.SharePoint.WebPartPages\" Assembly=\"Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<sharepoint:SoapDataSource runat=\"server\" SelectUrl=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx\" InsertUrl=\"\" UpdateUrl=\"\" DeleteUrl=\"\" SelectAction=\"http://schemas.microsoft.com/sharepoint/soap/GetListItems\" InsertAction=\"\" UpdateAction=\"\" DeleteAction=\"\" SelectPort=\"ListsSoap\" InsertPort=\"\" UpdatePort=\"\" DeletePort=\"\" SelectServiceName=\"Lists\" InsertServiceName=\"\" UpdateServiceName=\"\" DeleteServiceName=\"\" AuthType=\"Basic\" AuthUserName=\"contoso\\administrator\" AuthPassword=\"pass@word1\" WsdlPath=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx?WSDL\" XPath=\"\" ID=\"SoapDataSource3\">");
    dataSourceString.Append("<SelectCommand><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><listName>Jobs</listName>");
    dataSourceString.Append("<Query><Where><Eq><FieldRef Name=\"Title\" /><Value Type=\"Text\">2012_080_A_0</Value></Eq></Where></Query>");
    dataSourceString.Append("<rowLimit>9999</rowLimit></GetListItems></soap:Body></soap:Envelope></SelectCommand><InsertCommand></InsertCommand><UpdateCommand></UpdateCommand><DeleteCommand></DeleteCommand></sharepoint:SoapDataSource>");
    z.DataSourcesString = dataSourceString.ToString();
    manager.SaveChanges(z);
    In my code, I can see the DataSourceString changing, but if I refresh the page it is still loading all the data: why?!

    Hi,
    According to your description, my understanding is that you want to change the data view web part datasource programmatically.
    We need to override the databind method like below:
    public class ExtendedDataFormWebPart : DataFormWebPart
    public override void DataBind()
    this.DataSource = your own data source;
    base.DataBind();
    Here is a detailed code demo for your reference:
    http://jamestsai.net/Blog/post/How-to-query-cross-site-lists-in-DataFormWebPart-Part-1-Build-your-own-data-source-for-DataFormWebPart.aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Modifying Standard Data Source

    Hi All,
               I am using standard data sources in CRM (0crm_oppt_i and 0crm_oppt_h).I need to modify these standard DS by adding some field in Extract structure.Can any one please provide me detailed step by step approach for doing this.If there is any code to be written can anyone send a skeleton of that code .Please provide detailed approach as I am new to this BW aspect.Thanks in advance.
    Regards
    Souresh

    Hi sarkar
    yes you have to write an ABAP code to fill the data in the newly added field in the extract structure.
    1)Go to RSA6 and find the data source you need to enhance.--> Display
    2)Double click on the Extract structure.
    3)Now click on the append structure button to add the required field on to the existing structure.
    4) add your required fields with ZZ appended to your field.
    5) Save & Activate the append structure. Then go back and make sure you activate the extract structure also.
    6) Now again go back to RSA6 and select your Data Source. But this time go to change Data Source to remove the hide option to the enhanced fields. By default they’ll be in hide mode. If you don’t remove the hide field then this field will not be seen in BW side.
    7) Now go to SE38 to write the logic to populate the data into the enhanced field. Program name to write the logic is ZXRSAU01.
    8) Check + Save + Activate.
    9) Check in RSA3 if data is populated as per your requirement.
    10) Replicate your Data Source.
    11) Now go to Data Source/ Trans. Structure screen. Now you can see the enhanced field on the right hand side.
    Go to CMOD.
    1. To  Save&#61664; give Description &#61664; create&#61664;create new project—give the project name
    2. Select the radio button Enhancement Assignment and give the Enhancement name you want and press Enter.
    3. If the Enhancement is already assigned to some other project it will display the same message saying it is already assigned it some other project.
    Click on&#61664;4. If the Enhancement is not assigned to any project save.
    5. Give RSR00001 (For Variable Exits)
    6. Activate the Project.
    7.  and click on the components button.&#61664;Now go to Display
    8. Now Double click on EXIT_SAPLRRS0_001. In that you can see an include ZXRSRU01.
    9. Double click on that include, it will say program name ZX…… are reserved for includes of exit Functions groups.
    10. Just Press Enter.
    11. It’ll Pop-Up a window  Create Object.&#61664;saying Include ZX…. Does not exits
    modify according to your requirements.
    Hope it will help u.
    Thanks & Regards
    KK

  • Modify export data source

    Hello friends,
    I am in need for some advice for modifying an export data source.
    My scenario is as following: I have a cube for which i would like to generate a datasource in order to export some of its contents to a second cube.
    That means i would like to "erase" or hide some of the infoobjects present in the first cube from the generated export datasource.
    In rsa6 i cannot set the hide flag for those fields.
    In rsa2 i see that the field attribute for the infoobjects i would like to hide is set to 'X' whereas i would like to have a '3' instead.
    Can someone guide on the procedure of setting the field attribute for the export datasource?
    Thanks,
    Gili

    Hi Gili,
    I am not very sure if it is recommended in general to modify the "exported data source", because any change made manually, will be overwritten if the cube is changed and/reactivated again in the future.
    However for your case, I believe even without changing the generated DS it should work - simply mapping the info objects available in cube2 and leave the rest unmapped.
    Hope it helps.
    Lilly

  • Data Source security settings are revert back after correct it !! (SCCM Reporting Services Point)

    I have a strange situation here: SCCM 2012 SP1 and all components are OK and running smoothly BUT all reports report the error:
    An error has occurred during report processing. (rsProcessingAborted)
    Cannot impersonate user for data source 'DataSource2'. (rsErrorImpersonatingUser)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    Object reference not set to an instance of an object.
    I correct the password and click test connection and it is successful ...few seconds the setting revert back and if I change the settings totally it reverts back to as if something prevent it from change !!
    the strange thing that I tried to remove the reporting services point from the site server and the reports worked well and the setting not change
    what make the settings of the data source created by sccm 2012 reporting services point revert back preventing the report from running
    by the way all authentication and permissions are given to the account that running reports and connects to the database
    help me finding solutions and thanks for all great experts here
    Hossam Wael Elmosallamy (IT Support Engineer-ECC Solutions) MCSE - CCNA [email protected] Mobile:(011)-49464671 www.eccsolutions.net "Experience Reliability"

    I am also experiencing this issue.  I have tried modifying the Data Source credentials directly from the data source configuration on our SSRS web site.  I have also tried changing it from the CM12 Console under the Reporting services
    point, specifically the Reporting Services Point Account.  No matter how many times I change it, it will revert back to an account we don't want it conifigured for any longer.
    Mucking around in the registry, I found the following keys that seem to reference the configuration:
    HKLM\Software\Microsoft\SMS\SRSRP
    HKLM\Software\Microsoft\SMS\SRSRP\Datasource
    It appears as though the Datasource key contains the configuration under two String Values:
    Reserved 1 = User name
    Reserved 2 = guessing encrypted hash of password
    Doesn't seem like it is even an option to change the configuration here, but at least this is some more info.
    Any help on this would be great... until then, I will keep digging.

  • Performance Point Services data source pointing towards wrong datasource after production instance copied in development

    Hi
    We have copied our Project Server 2010 production databases to development server. We have few reports created by using Performance Point Services, but here when we try to open the reports the data source is  pointing towards production data source
    instead of dev.
    We are getting some issue while executing the reports
    Request you to let me know what exactly the cause and steps to rectify the issue.
    Thanks 
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    As you have copied data from Prod to Dev reports are pointing to production data sources and reports are unable to display data. Whenever we copy the data from one environment to other then this kind if issue occurs.
    We need to modify the data source of all the reports manually so that report point to dev data source.
    You have to open data source for your reports and change it from prod to dev then reports will display correct data.
    http://blogs.msdn.com/b/performancepoint/archive/2011/09/19/performancepoint-data-connection-libraries-and-content-lists-in-sharepoint.aspx
    http://www.networkworld.com/community/node/57687
    kirtesh

  • End point data from usb 2.0

    plz does anybody tell me how to read the data from end point 2,4,6 or 8 from usb raw 2.0  (min 4 byte to max 1024) or how to confirue the usb visa  properties? plz it's very urgent.
    thanking you.
    robin

    Hello Robin,
    I guess you are using LabVIEW. Have you tested the example USB Raw –Bulk.vi from LV NI Example Library? This example should work properly for you.LAbVIEW>>Help>>Find  Examples>>search for USB >>choose USB Raq-Bulk.vi
    Before you run this VI, install a USB RAW device and configure NI Measurement & Automation Explorer (MAX) to recognize the USB device. You can read to and write from the USB RAW device only after you install and configure the USB RAW device and open a session to the device.
    Plus.
    In my opinion, the attached KnowledgeBase could be helpful. This document includes a lot of details about your issue.
    How Can I Communicate With a Device Using NI-VISA USB RAW Mode?
    http://digital.ni.com/public.nsf/allkb/E3A2C4FE42D7ED0D86256DB7005C65C9?OpenDocument
    Best regards,
    AmirG

  • Dynamically modify data sources

    We have a need to dynamically modify our data sources and I need to know if this is possible and what the syntax is?  Can we do this as a transaction and/or in the javascript / jquery logic of the UI?  I know that basically everything is configurable as a transaction or as a script.  I need a little assistance in configuring the below items for a data source.
    DaysRetention   
    Description   
    IP   
    MaxRetryCount   
    Port   
    QueryTimeout   
    RetryInterval   
    ServerPackage   
    Writable

    Data server configuration properties are easily modifed from the editor page in the Menu, and is typically an initial or configuration setting made before building application content (query templates). 
    At runtime overloading the Server property within or in addition to a query template is quite easy, but no standard provisions are in place for modifying the data server configuration itself.
    Why would you have a need to modify them dynamically through code?

  • Changing the data source of a Crystal Report

    Post Author: starmizzle
    CA Forum: Crystal Reports
    We're running a trial of BusinessObjects XI Release 2 to see if it fits our needs.
    We were told that we could import and publish our existing Crystal Reports and then later on go back and change their data sources to point to new universes as they're built.
    So I've published a simple Crystal Report that I can run and modify through Infoview. And I've created a universe with the appropriate fields and calculations that it needs. So how do I force my published report to use the new universe as its data source instead of the system DSN it had when it was made?

    Post Author: starmizzle
    CA Forum: Crystal Reports
    We're running a trial of BusinessObjects XI Release 2 to see if it fits our needs.
    We were told that we could import and publish our existing Crystal Reports and then later on go back and change their data sources to point to new universes as they're built.
    So I've published a simple Crystal Report that I can run and modify through Infoview. And I've created a universe with the appropriate fields and calculations that it needs. So how do I force my published report to use the new universe as its data source instead of the system DSN it had when it was made?

  • Problem creating new data sources

    hi -- I've just created a file DSN data source (Microsoft ODBC for Oracle Driver), and in Crystal, have used the ODBC (RDO) data source type, pointing to the file DSN. (I'm accessing an Oracle 10g database on a Unix server.)
    The connection to the database is successful, but when I use the Database Expert to pick the actual object (eg table) that I want the report to access, I get the following strange results:
    Not all schemas are visible
    For the schemas that are visible, only stored procedures are shown. No tables, views, or anything else.
    When I create an Oracle Server data source, all schemas and their objects are visible. The report works fine.
    Can someone explain to me why the File DSN is not showing me all schemas and objects?
    Thanks,
    Carol

    All -- Thanks for your suggestions. I probably should have given you more information up front:
    - I've already updated the database using Set Datasource Location.
    - I've already verified that the database explorer is including views and tables
    and is not restricting based on LIKE.
    - I did as Sourashree suggested and created a system DSN -- it also only shows
    me the stored procedures.
    I have successfully created a non-ODBC data source just using the Crystal Reports
    data source type of Oracle Server.  It works just fine -- tables, views, everything I need
    shows up in the explorer. So, my question about the File DSN is really just academic,
    out of curiousity (I struggled with it so long I'd like to know why it doesn't work!).
    If you can help me out, that would be great. But I see no reason the Oracle Server
    data source won't meet our needs.
    Thanks,
    Carol

  • Change data source - mail merge

    I have a mail merge document which was migrated to a new server. Now every time when I run the mail merge document it tells me "Error has occurred: The Microsoft Access database could not find the object '   '. Make sure the object exists and
    that you spell its name and the p". In the error it points to the old path on the server. When I click OK the data link properties window pops up. I change the data source to point to the path of the new server and the document opens up. The only problem is
    that this does not save. I have to specify the new path to the server everytime. How do I set this permanently?

    1. Do you have the same problem if you try to connect a completely new Word document to the data source? If so, probably something wrong with the Excel file - if you can reconstruct it, or even create a test file with the same sheet name and column names,
    that may show that the file is/was at fault.
    2. For the default OLE DB connection type, the SQL message is the correct one - the SQL does not reference the workbook path or name - that comes from the file name or connection string which is not displayed in that dialog box.
    3. When you see the SQL warning and click Yes, do you then see a dialog box which provides the workbook path/name. Does that file exist? Is it the one you expect? If yes, again, I would suspect the Excel file. If no, the wrong data source is "sticking".
    That will happen if the previous data source has not been properly disconnected - e.g. If you proceed from the dialog I mention, then choose the option to find the data source in the next or subsequent dialog, it does then appear that you have corrected
    the problem, but in fact Word "reverts" to the previous source the next time you open. Typically clicking Yes in the SQL dialog box should disconnect the old data source, but I would at least "make sure" by e.g. setting the mail merge main
    document type to Normal Word Document in the mailings tab.
    Peter Jamieson

  • Adhoc Reporting using Data Sources instead of Report Model

    Hi Gurus,
    I'm working on SSRS 2008. I'm trying to create Adhoc Report using Report Builder 3.0. To select Data Source, both *.rsds and *.smdl are listed. I selected a Data Source which points to a SQL database. When I add New datasets, I'm able to add the fields and
    it automatically detect relationships (Joins) using Primary Key and Foreign Key defined in the tables. I'm also able to edit the query. I ran the report and it ran successfully.
    My question is I couldn't find any documentation regarding using Data Source for Adhoc Reporting. MS SQL documentation and forums insists that Report Model is required for Adhoc Reporting.
    Please let me know if someone tried to create Adhoc Report using Data Source instead of Report Model. While I understand there are more benefits using Report Model (define entities/attributes, show/hide entity/attributes, organize entities/attributes etc.),
    I just want to know if this is possible.
    Are there any known limitation using this method?
    Thanks In Advance!

    Hi Ereswaran,
    Yes, we can create ad hoc report using report using data source instead of Report Model. Ad hoc reports typically are used to answer a specific question at appoint in time, so consequently people don’t spend a lot of time arranging and formatting the data
    in a precise way. Other report development tools are available in Reporting Services to support more sophisticated reporting requirements.
    Using Report Builder, we can build a simple report that display data form a single data source as defined by a report model. This tool is most useful for business users who need access to information but lack the skills to write a SQL query. If we have full
    experience of SQL query, of course we can use data source instead of Report Model.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Multiple data sources and cubes for mining

    We have two data sources:
     1 - OLTP database for transactional operations
     2 - Data Warehouse for analysis
    We use change data capture to track changes in the OLTP and upload to DW each night.
    Currently, we have one cube built on top of our DW for analysis and KPI's etc
    However, if we wish to use the OLTP DB for data mining, can this done in the same solution using a new data source or do we need to create a new cube etc?

    Hi Darren,
    According to your description, you are going to use the OLTP DB for data mining, what you want to know is can this done in the same solution using a new data source or do we need to create a new cube?
    In your scenario, if the cube structure for data mining is same as original cube, then you needn't create anything, just edit the connection of the data source to point to the OLTP database. If the cube structure for data mining is not same as original
    cube, then I am afraid you need to create a new cube.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Processing data base failed: Cannot connect to data source

    Hi,
    I have deployed my SSAS project to an Analysis services database on a SQL 2014 server instance using the "Development" build configration in Visual Studio. In order to avoid users accessing the development instance of the cube, I've created
    an additional "Release" build configuration and deployed my project to a different database on the same server. I've also created a production copy of the data source and changed the data source configuration of the production cube to point to this
    one.
    I've provided the same domain service account on the "Impersonation information" tab of the data source for both the development as well as the production instance of the cube. This account has also been granted identical permissions for both data
    sources. While everything works fine with the development database, processing the production database fails with an error message saying that it cannot connect to its respective data source.
    I'm using VS Ultimate 2013.4, SSDT 12.0.50318.0. Any hints pointing me in the right direction are appreciated.
    Many thanks
    Andreas

    Hi Andreas,
    According to your description, your production cube can't connect to data source when processing. Right?
    In this scenario, if both cube data sources are pointing to same source databases, both connection should work proerly. Since you created a copy of data source for your production cube, please make sure your type the right server name and test connection
    in your project. If you can connect successfully, I suggest you only keep this data source for your production project. If the issue still persists, I suggest you import the development database into a new project and save this one as your production database.
    If you still have any question, plesse provide some more information and share some screenshots.
    Best Regards, 
    Simon Hou
    TechNet Community Support

  • User Data Source - Access Enforcer

    Hi,
    I currently have my User Details Data Source and Search Data Source in AE pointed to the UME. In the UME I have my requestors and approvers set up. However when I go to raise a request to change a user account and want to search for an SAP user, the search only returns the requestors and approvers set up in the UME and does not show user data from SAP. How can set up AE so that it shows me user data from SAP and requestor/approver data from the UME?
    Thanks,
    Gary

    What you can do is... to point your UME to your SAP system,  where you can find all users.....
    And keep your configuration of AE the way you have it....
    Another way is, to change your configuration of User Details Data Source pointing to SAP.
    Youy User Details Data Source have to point to the system that have all the new users....
    For example, in my company before giving the SAP access we give LDAP access, so my User Details Data Source  are pointing to my LDAP system.... this way i can find easily the  user that need to request access..
    Hope this help.
    Regards,

Maybe you are looking for

  • Installation problem on windows 2000

    Hi, Please help! I've been tring to install oracle on windows 2000 machine unsuccessfully. the setup program aborted without error message. I've tried many versions of oracle database, 8.1.7 all editions, 8.1.6ee, 9iAS. the only message error I got w

  • Delivery date in scheduling agreement

    If delivery date in scheduling aggrement is 20th  and vendor has supplied the material on 15 th iteslf then are we able to do grn on 15th or Not. Or we should wait for the date 20th. Thanks, Kiran

  • How do I use migration assistance with hard drive reader for dead macbook

    Hi, My old mac laptop died without warning. I took it to the apple store and they suggested getting a hard drive reader and using that to transfer across my files. I've connected it up and have requested the migration assistant to transfer the files.

  • Problem with a particular stock under default stock app

    When i add a particular stock in the default stock app it does not show the stock details! Stock name is L&T Finance Holdings!! All other stock details are displayed other than the above mentioned one. Please let me know how to sort this out!!

  • Prob in merge FI & MM data using infoset

    hi I need to integrate data from FI and MM. that for a particular PO , i want all the MM data as well as the FI doc created for it in a single record. For this I am creating an Infoset in R/3 against the RBKP , BSIK and BSAK tables. & joining conditi