Offline data synchronization

We are trying to use the offline data synchronization feature of DMS using data modeling.
Below is the only example we found on adobe site and its working.
http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4ba8596dc6a25eff-56f1 c8f4126dcd963c6-8000.html
Also we have read “occasionally connected client”  and Model driver applications documentation in lcds31 user guide.
Is there any other example to demonstrate how to use the offline data sync?. We don’t want to generate the  Java code and use assembler class for this .
In our example we are implementing the SearchCustomerList Funcationality. Based of search criteria a list of customers is displayed to the user.
Beloew are the configuration settings
                        var cs:ChannelSet = new ChannelSet();
                        var customChannel:Channel = new RTMPChannel("my-rtmp",
                                    "rtmp://wpuag85393:2038");
                        cs.addChannel(customChannel);
                        this.serviceControl.channelSet=cs;
                        this.serviceControl.autoCommit = false;
                        this.serviceControl.autoConnect = false;
                        this.serviceControl.autoSaveCache = true;
                        this.serviceControl.offlineAdapter = new
                                    com.deere.itarch.adapter.MaintainCustomerBeanOfflineAdapter();
                        this.serviceControl.fallBackToLocalFill=true;
                        this.serviceControl.encryptLocalCache = true;
                        this.serviceControl.cacheID = "localCache";
CASE I:
Below is our understanding of offline data sync. for our implementation.
·          LCDS server is started and application is connected to the server.
·          User enters search criteria and clicks the Search Button.
·          Data is fetched and displayed on the screen.
As autoSaveCache is set to true it should automatically save result in local cache
·          Shut down the LCDS server.
·          Close the earlier Search Window.
·          Run the application and open the customer search page.
·          Enter the same search criteria and click search.
·          Result : Nothing is displayed on screen. ( No data fetched from local cache)
Many times we are getting error cannot connect to server ( when server is running 50% of times)
We also tried setting reconnect strategy to instance. ( but this is also not working)
Also can you please provide end-to-end sample for data synchronization.

Good to see you got a little further along with your application. I'm not sure why setting autoconnect to true helped.
Regarding your search, I'm not sure how you implemented that but the easiest way to do it with model-driven development is by using a criteria filter. It will result in a new query in your offline adapter. You just add a filter element to an entity in your model and in that filter you specify your like expression. I added one to the doc sample app as an example. When you generate code for the offline adapter, you'll be able to see the proper structure for the like clause too. I'm including my fml and offline adapter source below.I've also included the MXML so you can see how I called the new filter method from the client. After I saved to the local cache, and I went offline, I successfully performed the search in the client app. There were no issues with it.
Here's my fml. The new filter is in bold text. I should have chose a better filter name, since it will generate a method called byProductName, which is very close to the existing getByProductName. But you'll get the idea. Once you add the filter, just remember to redeploy your model and regenerate your code.
Regarding your question about associations, I'll look into that, but I think you would generate offline adapters for each entity involved in the association and your relationships should behave correctly offline.
<model xmlns="http://ns.adobe.com/Fiber/1.0">
    <annotation name="DMS">
        <item name="datasource">java:/comp/env/jdbc/ordersDB</item>
        <item name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</item>
    </annotation>
    <entity name="Product" persistent="true">
        <annotation name="ServerProperties" ServerType="LCDS"/>
        <annotation name="DMS" Table="PRODUCT"/>
        <annotation name="VisualModeler" width="114" height="88" x="66" y="79"/>
        <annotation name="ActionScriptGeneration" GenerateOfflineAdapter="true" OfflineAdapterPackage="com.adobe.offline"/>
        <id name="productid" type="integer">
            <annotation name="DMS" ColumnName="PRODUCTID"/>
        </id>
        <property name="description" type="string" length="255">
            <annotation name="DMS" ColumnName="DESCRIPTION"/>
        </property>
        <property name="price" type="float">
            <annotation name="DMS" ColumnName="PRICE"/>
        </property>
        <property name="productname" type="string" length="255">
            <annotation name="DMS" ColumnName="PRODUCTNAME"/>
        </property>
        <filter name="byProductName" criteria="productname like"/>
    </entity>
</model>
Here's the new query for byProductName in my offline adapter, which contains a valid like clause. That section of the adapter is in bold text.
* This is an auto-generated offline adapter for the Product entity.
package com.adobe.offline
import mx.core.mx_internal;
import mx.data.SQLiteOfflineAdapter;
import mx.utils.StringUtil;
use namespace mx_internal;
public class ProductOfflineAdapter extends SQLiteOfflineAdapter
     * Return an appropriate SQL WHERE clause for a given set of fill parameters.
     * @param originalArgs fill parameters
     * @return String representing the WHERE clause for a SQLite SQL
    override protected function getQueryCriteria(originalArgs:Array):String
        var args:Array = originalArgs.concat();
        var filterName:String = args.shift();
        var names:Array = new Array();
        switch (filterName)
            case "byProductName":
                // JPQL: select Product_alias from Product Product_alias where Product_alias.productname like :productname
                // Preview: productname like :productname                
                names.push(getTargetColumnName(["productname"]));
                return StringUtil.substitute("{0} like :productname", names);
                break;
        return super.getQueryCriteria(originalArgs);
Here's my modified MXML. I'm still calling getAll(), but after that I use the new filter to filter the results/datagrid display to just the subset that matches the string I input in the search field. This results in a new call to productService.byProductName(), which is the client-side method generated from the filter element in my model.
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:s="library://ns.adobe.com/flex/spark"
                       xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:OfflineAIRAPP="TestOfflineApp.*"
                       preinitialize="app_preinitializeHandler(event)"
                       creationComplete="windowedapplication1_creationCompleteHandler(event)">
    <fx:Script>
        <![CDATA[
            import com.adobe.offline.ProductOfflineAdapter;
            import mx.controls.Alert;
            import mx.events.FlexEvent;
            import mx.messaging.Channel;
            import mx.messaging.ChannelSet;
            import mx.messaging.channels.RTMPChannel;
            import mx.messaging.events.ChannelEvent;
            import mx.rpc.AsyncToken;
            import mx.rpc.events.FaultEvent;
            import mx.rpc.events.ResultEvent;
            public var myOfflineAdapter:ProductOfflineAdapter;
            public function channelConnectHandler(event:ChannelEvent):void
                productService.serviceControl.autoConnect=false;
            protected function 
                app_preinitializeHandler(event:FlexEvent):void
                var cs:ChannelSet = new ChannelSet();
                var customChannel:Channel = new RTMPChannel("my-rtmp",
                    "rtmp://localhost:2037");
                cs.addChannel(customChannel);
                productService.serviceControl.channelSet=cs;
                customChannel.addEventListener(ChannelEvent.CONNECT,
                    channelConnectHandler);
            protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                getAllResult.token = productService.getAll();
            protected function
                windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                productService.serviceControl.autoCommit = false;
                productService.serviceControl.autoConnect = true;
                productService.serviceControl.autoSaveCache = true;                
                productService.serviceControl.fallBackToLocalFill=true;
                productService.serviceControl.encryptLocalCache = true;
                productService.serviceControl.cacheID = "myOfflineCache4";
            protected function connectBtn_clickHandler(event:MouseEvent):void
                productService.serviceControl.connect();
            protected function disconnectBtn_clickHandler(event:MouseEvent):void
                productService.serviceControl.disconnect();
            protected function commitBtn_clickHandler(event:MouseEvent):void
                productService.serviceControl.commit();
            protected function saveCacheBtn_clickHandler(event:MouseEvent):void
                productService.serviceControl.saveCache();
            protected function clearCacheBtn_clickHandler(event:MouseEvent):void
                productService.serviceControl.clearCache();
            protected function button_clickHandler(event:MouseEvent):void
                getAllResult.token = productService.byProductName("%"+key.text+"%");
        ]]>
    </fx:Script>
    <fx:Declarations>
        <mx:TraceTarget />       
        <s:CallResponder id="getAllResult" />
        <OfflineAIRAPP:ProductService id="productService"
                                      fault="Alert.show(event.fault.faultString + '\n' +
                                      event.fault.faultDetail)"/>
        <s:CallResponder id="byProductNameResult"/>
        </fx:Declarations>
    <mx:DataGrid editable="true" x="141" y="10" id="dataGrid"
                 creationComplete="dataGrid_creationCompleteHandler(event)"
                 dataProvider="{getAllResult.lastResult}">
        <mx:columns>
            <mx:DataGridColumn headerText="productid" dataField="productid"/>
            <mx:DataGridColumn headerText="description" dataField="description"/>
            <mx:DataGridColumn headerText="price" dataField="price"/>
            <mx:DataGridColumn headerText="productname" dataField="productname"/>
        </mx:columns>
    </mx:DataGrid>
    <s:Button x="10" y="246" label="Connect" click="connectBtn_clickHandler(event)"
              id="connectBtn" width="84" height="30"/>
    <s:Button x="112" y="204" label="Save to Local Cache" id="saveCacheBtn"
              click="saveCacheBtn_clickHandler(event)" height="30"/>
    <s:Button x="110" y="246" label="Commit to Server" id="commitBtn"
              click="commitBtn_clickHandler(event)" width="135" height="30"/>
    <s:Button x="10" y="204" label="Disconnect" id="DisconnectBtn"
              click="disconnectBtn_clickHandler(event)" height="30"/>
    <s:Label x="270" y="204" text="{'Commit Required: ' +
             productService.serviceControl.commitRequired}"/>
    <s:Label x="270" y="246" text="{'Connected: ' +
             productService.serviceControl.connected}"/>
    <s:TextInput x="10" y="19" id="key"/>
    <s:Button x="10" y="49" label="Search" id="button" click="button_clickHandler(event)"/>   
</s:WindowedApplication>

Similar Messages

  • Offline data synchronization in azure mobile services on windows server 2008

    Hi,
    I have a class library which insert data into tables in azure mobile services on windows server 2008 OS for windows universal C# platform. I am trying to insert data using offline data synchronization.
    I had installed SQLite runtime for windows 8.1 and windows phone 8.1, but unable to add reference 'SQLite for Windows Runtime(Windows8.1)'.
    Please guide me whether windows server 2008 OS supports offline data synchronization in azure mobile services.
    Thank you.

    I also have a Windows Server 2012 R2 system using Azure Backup, and I don't have the problem. However, you probably noticed that you use a different Azure Backup installation download for Windows Server 2008 R2 vs. Windows Server 2012 R2. Although both
    show the same Microsoft Azure Recovery Services Agent version 2.0.8692.0 installed, my Windows Server 2012 R2 also lists Microsoft Azure Backup for Windows Server Essentials version 6.2.9805.9 installed as well. It could be the case the my problem with the
    CATALOG FAILURE 0x80131500 errors is something specific to the version of Azure Backup installed on my Windows 2008 R2 servers.
    Trilon, Inc.

  • Data Synchronization

    I am writing a .Net Winforms application that will use a local Oracle Lite Database. Data from this local repository needs to be synchronized with a central Oracle database (bi-directional). Could someone tell me if the Java Consolidator API can be used from my .NET code to manage data synchronization.
    Or can Web-to-go be used in this scenario?
    Additionally, can anyone suggest good references on the web where I can get additional info on tweaking or customizing the synchronization process. By this I mean selectively synchronizing subsets of data in either direction.
    Thanks in advance,
    Anuba

    If you make any schema changes on the server end, you will need to re-publish your application in most cases. If you look at the snapshot definition in the mobile manager, or the mobileadmin database, you will see that it has translated the 'select * from table' you entered to 'select <list of columns> from table', ie: fixed the column list at the time of publication. Not apparent, but data type and length MAY also be fixed at this point.
    If you then add a column without re-publishing it will not go down, if you drop a column the compose and selection processes will probably fail. As long as you re-publish after changing the schema, you will be ok.
    As to automating the sync, you still need to be sure that the client database is in a suitable state, uncommitted changed may be lost. To automate the sync process, just call the sync API's from the client. depending on your requirements, you may also need to initiate activesync, a GPRS comms session etc. first to link up to the server0
    NOTE you cannot initiate the sync from the server end unless the client is always attached (eg: plugged into the network). It is a limitation (may be addressed by the broadbeam support coming in in 10g R2, but i have not tested that yet) in that the mobile server cannot 'dial out' to a client.
    Where you have offline clients, the client itself needs to initiate the sync session by initiating contact with the server. The commands in the device manager can be useful for getting the client to do things for you the next time it sync's, but it can be a bit flaky for some device types.

  • Offline data entry

    Is it possible to do offline data entry?
    i.e. a traditional software that runs locally and can sync up with the main system to some degree?

    Hello User… (Please tell us your first name)
    APEX is an application, which runs inside the Oracle database. The client side is only your browser. As such, it don't have an local parts (static HTML pages and stuff) that you can work with, offline.
    However, APEX has some built-in utilities that allow you to import local files into APEX application tables. These local files can be XML or CSV files. You can use your traditional local software (like Excel) to create these files, offline, and then upload them into your database. Then you can use APEX to build your own synchronization mechanism, according to your specific needs.
    Hope this helps,
    Arie.

  • What do you recommend to use as an offline data store, since SQL CE support is not in VS 2013?

    A few years back I was architecting an occasionally connected .Net desktop application. 
    VS 2010 was offering full support for Microsoft Sync Framework and SQL CE with Entity Framework. 
    This seemed like the perfect marriage, so I ran with it, and the resulting software solution is still successfully running in production, years later. 
    Jump forward to today, and I am architecting a new occasionally connected .Net desktop application. 
    I was really looking forward to taking advantage of the advances made by Microsoft in using the tools built into VS 2013. 
    However, what I discovered has dumbfounded me.  VS 2013 has no designer support for Sync Framework, and worse, built in support for SQL CE has been completely removed, including the ability to generate Entity Framework models from a
    CE database using the designer. 
    My question to the community is, what tools should I be using to solve the problem of offline storage in my brand new .Net application? 
    I am aware of ErikEJ’s SQL Server Compact Toolbox, which brings back some support for these features in VS 2013, but it is not as fully featured as the VS 2010 native support was, plus it does not have the institutional “Microsoft” stamp on it. 
    I am building a multimillion dollar corporate solution that I will have to support for many years.
     I would like to have some comfort that the technologies I select, today, will still be supported 5 years from now, unlike the way Microsoft has discontinued supporting Sync Framework and CE in the most recent VS. 
    I can accept open source technologies, because there is a community behind them, or off the shelf corporate solutions, since they will be driven by financial gain, but I have trouble committing to a solution that is solely supported by an individual,
    even if that person is a very talented Microsoft MVP.
    Some of the features of SQL CE that I would like to keep are
    Built in encryption of the file on disk
    Easy querying with an ORM, like Entity Framework
    Tools to easily sync up the offline data store with values from SQL Server (even better if this can be done remotely, such as over WCF)
    Does not require installation of additional software on the client machine, as SQL Express would
    Please, provide your feedback to let me know how you have achieved this, without resorting to simply using an older version of VS or Management Studio. 
    Thank you.

    Hello,
    Based on your description, you can try to use SQL Server 2012 Express LocalDB.
    LocalDB is created specifically for developers. It is very easy to install and requires no management, but it offers the same T-SQL language, programming surface and client-side providers as the regular SQL Server Express.
    SQL Server LocalDB can work with Entity Framework and ADO.NET Syc Framework. However, there is no built-in encryption feature in LocalDB which
    can let you encrypt database. You should decrypt/encrypt data on your own, for example, using
    Cryptographic Functions
    Reference:SQL Express v LocalDB v SQL Compact Edition
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • What is the event by which i can get that user deny the offline data store when the message comes in the browser

    I have an application which stores manifest for offline use. Now firefox asking for a confirm message that if i want to allow or not. If i say 'allow' the application works fine. but if i say 'not now' or 'never for this site' the application stops. What is the event to check that user deny to allowing store data. i used different option like - cached,noupdate,error,uncached,idle,obsolete. as an example- applicationCache.addEventListener('idle', function () {});
    but none of this says that user deny to allow. Please tell me the option that i can check that user does not want to allow and do my rest work.

    It should be possible to allow offline data storage for only certain websites, and that setting is in Options > Advanced > Network. If the answer is "don't do it", then it should not be done. Is that not what is happening?

  • Urgen: SRM and BW user data Synchronization problem

    Dear Buddies:
    I'm a BWer in a SRM project. These days I meet a very strange problem in the user data Synchronization configuration between SUS and BW system.
    The symptom is:
    I config the user data Synchronization parameters in SUS system:
    SAP Reference IMG u2192 Supplier Relationship Management u2192 Supplier Self-Services u2192 Master Data u2192 Maintain Systems for Synchronization of User Data
    Here I've maintained the BW logical system and filled the 'FM BPID' field with 'RS_BW_BCT_SRM_SUS_USER_BPID', and filled the 'Function Module for creating user' field with 'BAPI_USER_CREATE'.
    The function of the config above is that:
    When a new user is created in the SAP SUS system, it will automatically be created in SAP BW, too.
    At the same time, an internal table (SRM_USER_SUPBPID) is filled automatically. The table contains the assignment between the automatically created SAP BW user and the corresponding Business Partner ID of the supplier company.
    Then I test the user creation in SUS on web. I found that when the SUS user created , the same user is created automatically in BW system. That means the 'BAPI_USER_CREATE' is work.
    But the content of the user-BPID mapping table 'SRM_USER_SUPBPID' is still empty. That means the  FM 'RS_BW_BCT_SRM_SUS_USER_BPID' is not work at all.
    Anybody met with similar problem? Or any suggestion do you have pls kindly show your solutions, Thanks!!

    No solutions?  I need your support my friends.

  • Data load fron flat file through data synchronization

    Hi,
    Can anyone please help me out with a problem. I am doing a data load in my planning application through a flat file and using data synhronization for it. How can i specify during my data synchronization mapping to add values from the load file that are at the same intersection instead of overriding it.
    For e:g the load files have the following data
    Entity Period Year Version Scenario Account Value
    HO_ATR Jan FY09 Current CurrentScenario PAT 1000
    HO_ATR Jan FY09 Current CurrentScenario PAT 2000
    the value at the intersection HO_ATR->Jan->FY09->Current->CurrentScenario->PAT should be 3000.
    Is there any possibility? I dont want to give users rights to Admin Console for loading data.

    Hi Manmit,
    First let us know if you are in BW 3.5 or 7.0
    In either of the cases, just try including the fields X,Y,Date, Qty etc in the datasource with their respective length specifications.
    While loading the data using Infopackage, just make the setting for file format as Fixed length in your infopackage
    This will populate the values to the respective fields.
    Prathish

  • Using offline data sync in Mobile Services

    Hi All,
    I am working on offline data sync in Mobile Services . Followed the below URL
    http://azure.microsoft.com/en-gb/documentation/articles/mobile-services-windows-store-dotnet-get-started-offline-data/#enable-offline-app
    Have an issue at store.DefineTable<TodoItem>();
    when i run the method i am getting any exception as 
    System.ArgumentException was unhandled by user code
      HResult=-2147024809
      Message=An item with the same key has already been added.
      Source=mscorlib
      StackTrace:
           at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
           at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
           at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
           at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
           at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStore.DefineTable(String tableName, JObject item)
           at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStoreExtensions.DefineTable[T](MobileServiceSQLiteStore store, MobileServiceJsonSerializerSettings settings)
           at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStoreExtensions.DefineTable[T](MobileServiceSQLiteStore store)
      private async Task InitLocalStoreAsync()
        if (!App.MobileService.SyncContext.IsInitialized)
            var store = new MobileServiceSQLiteStore("localstore.db");
            store.DefineTable<TodoItem>();
            await App.MobileService.SyncContext.InitializeAsync(store);
        await SyncAsync();
    Need help.
    Thanks,
    Sai.

    Hi,
    The Azure Mobile Services forum is here:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=azuremobile&filter=alltypes&sort=lastpostdesc
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Problem with migrating data (SQL Server 2k offline data capture)

    Hi there,
    I try to migrate a SQL Server 2000 database to Oracle 10g (R2) using offline data capture. I following the online Tutorial “Migrate from Microsoft SQL Server to Oracle Database 10g Using Oracle Migration Workbench” and everything seems OK until “Migrating the tablespaces, users and user tables to the destination database” http://www.oracle.com/technology/obe/10gr2_db_vmware/develop/omwb/omwb.htm#t5. I have two errors on 2 (out of 85 ) tables saying “ Failed to create default for Table :
    ORA-00907: missing right parenthesis”. I checked the column/table names and they seems OK. I don’t understand why I got these errors. However, when I checked the ‘SA’ Schema in Oracle Enterprise Manager Console, I can see all the tables (including the two problem ones).
    I then carry on to the next step and tried to migrate data to the destination database (http://www.oracle.com/technology/obe/10gr2_db_vmware/develop/omwb/omwb.htm#t6) I am now stuck on step 5. “…copy the files from c:\omwb\data_files to the c:\omwb\Omwb\sqlloader_scripts\SQLServer2K\<timestamp>\Oracle directory…” I cannot find the ‘c:\omwb\data_files’ directory, in fact, I don’t have a directory called ‘data_files’ on my machine. I noticed the ‘c:\omwb\Omwb\sqlloader_scripts\SQLServer2K\<timestamp>\Oracle’ directory contains the all the 85 [tableName].ctl files (plus two other files: ‘sql_load_script’ and ‘sql_load_script.sh’). From the screenshots online, ‘c:\omwb\data_files’ seems contains files with the same name as the [tableName]. Therefore, I did a search with [tableName] but cannot find any apart from the [tableName].ctl file in the ‘c:\omwb\Omwb\sqlloader_scripts\SQLServer2K\<timestamp>\Oracle’ directory. What should I do next?
    OS: windows 2003 with SP1
    Oracle: 10g Release 2
    SQL Server 2000
    Any help would be extremely appreciated.
    Helen

    Helen,
    Sorry, I am new here. Could you please tell me (or point me to the related documents about) how to output the Oracle model as a script?Action-> Generate Migration Scripts
    And what do you mean by ‘The default conversion may have failed’? Do you mean data type mapping? I went through all the columns and tables and checked the data types in the Oracle model already. The processing for the default for a table column could have something the basic workbench default parser cannot handle.
    I hope you are finding the workbench to be a productive aid to migration.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Sql loader error in offline data load

    Hi,
    I have done an offline schema creation using existing tablespace.
    I am trying to do an offline data load using sql loader.The CTL and DAT file are generated by the work bench.
    This is my CTL file code generated by workbench.
    load data
    infile 'Import.dat' "str '<EORD>'"
    into table IMPORT
    fields terminated by '<EOFD>'
    trailing nullcols
    When I am running the ctl file with DAT file in sql loader I am getting the following error
    SQL*Loader-350: Syntax error at line 4.
    Expecting single char, found "<EOFD>".
    fields terminated by '<EOFD>'
    ^
    My Sql Loader version is Release 8.0.6.3.0
    Please help if anyone has came across this issue.
    Thanks in advance.
    Regards
    Saravanan.B

    Saravanan,
    Its a long time since I have seen 8 sql loader. Check the doc. Is it resrticted to a single character delimter??
    Barry

  • Migration of mapping created in data synchronization

    Hi,
    I've created a mapping in EPM data synchronization utility. I am to migrate from dev to production. Is there any way to migrate / export the data synchronization along with the mappings created in Dev or I have to recreate everything from the scratch? IT seems that there is no way in which I can export the mapping created. Appreciate your help.
    Thanks,
    ADB

    Hi Alexey,
    Could you elaborate on the requirement? It is still not clear to me what you want to achieve.
    What I do understand is that the users should be able to make adjustments to the mapping/lookup entries.
    If that is the case, what exactly is going to be maintained in the 'additional table' and how are you suggesting end users are going to maintain this?
    Ideally, your query transformation should not change when parameter values change, so you have to think about what logic you put where.
    My suggestion would be to use a file or a table which can be maintained by users. In your query transformation you can then use the lookup or lookup_ext function.
    Especially with lookup_ext you can make it as complicated as you want. The function is well documented but if you need help then just reply and explain in a bit more detail what you're trying to do.
    If you do think the 'hard-coded' option would suit you better, you can look into the 'decoce' function. Again, it is well documented in the technical manual.
    Jan.

  • Any way to stop Data Synchronizer from syncing every folder?

    SLES 11 64 bit for VMware.
    Groupwise connector 1.0.3.512
    Mobility connector 1.0.3.1689
    I have "folders" unchecked every place you can uncheck them.
    Still the Groupwise connector insists on syncing every single folder in a user's cabinet and contacts (even the ones that are unselected in the Groupwise connector->user edit section).
    I do *not* mean that it force syncs these folders to the device, just that it syncs them into the "folder list" section that you can monitor from Mobility Connector->Monitor->Click on user name.
    Most of our users have dozens of folders, and all the scrolling makes it kind of a pain to monitor the folder (ONE) and address books (usually 1-2) that they are syncing. Also, it seems like adding a ton of unneeded work to the system, and it eats up a pretty good chunk of CPU.

    rhconstruction wrote:
    > So, do the "Folders" checkboxes currently do anything?
    If you are talking about the Folder checkboxes in the GroupWise connector, these
    do not current pertain to Mobility. Remember that Mobility is part of a larger
    "Data Synchronizer" product, with connectors to other components like SugarCRM,
    Teaming, etc. So, some of the GroupWise connector settings show for all types
    of connectors, but do not always apply to each connector.
    Danita Zanr
    Novell Knowledge Partner
    Get up and running with Novell Mobility!
    http://www.caledonia.net/gw-mobility.html

  • Offline data capture for SQLServer2k shows 0 tables

    Hi,
    I'm evaluating OMWB Offline Data Capture for SQL Server 2000 migration.
    I ran OMWB_OFFLINE_CAPTURE.BAT script for SQL Server 2000. It seams like the DAT files are generated and no error messages appear. The problems occure when I start the OMW and try to "Capture Source Database".
    I specify the directory, where the generated DAT files reside, the DAT files appear in the file list and the status is AVAILABLE. But when I run the Capture with the Oracle Model Creation, I see among the LOG messages that "...Tables Mapped: 0...".
    I created TEST database with the table [tab] in it. In generated SS2K_SYSOBJECTS.dat file there is a row for this table:
    tab     \t     2041058307     \t     U      \t     1     \t     1     \t     1610612736     \t     0     \t     0     \t     0     \t     2006/09/26      \t     0     \t     0     \t     0     \t     U      \t     1     \t     67     \t     0     \t     2006/09/26      \t     0     \t     0     \t     0     \t     0     \t     0     \t     0     \t     0     \t     \r\n
    The rest objects are not in the Oracle Model too (I believe the user sa must have been created too).
    Please, anybody help with this problem.
    Pavel Leonov, Consultant
    Ispirer Systems Ltd.
    SQLWays - Data, schema, procedures, triggers conversion to Oracle, DB2, SQL Server, PostgreSQL, MySQL
    http://www.ispirer.com

    I changed the separators back to the default. But the Oracle Model still is not created. Still the same problem, there are no tables at all in the source database.
    Here is how the row for the table is specified in the SS2K_SYSOBJECTS.dat file:
    tab     ?     2041058307     ?     U      ?     1     ?     1     ?     1610612736     ?     0     ?     0     ?     0     ?     2006/09/26      ?     0     ?     0     ?     0     ?     U      ?     1     ?     67     ?     0     ?     2006/09/26      ?     0     ?     0     ?     0     ?     0     ?     0     ?     0     ?     0     ?     ?
    Here is some information from the log:
    Type: Information
    Time: 26-09-2006 15:13:56
    Phase: Capturing
    Message: Row delimiter being used for offline capture is ¤
    Type: Information
    Time: 26-09-2006 15:13:56
    Phase: Capturing
    Message: Column delimiter being used for offline capture is §
    Type: Information
    Time: 26-09-2006 15:13:57
    Phase: Capturing
    Message: Generating Offline Source Model Load Formatted File For SS2K_SYSOBJECTS.dat ,File Size: 5235
    Type: Information
    Time: 26-09-2006 15:13:57
    Phase: Capturing
    Message: Generated Offline Source Model Load File d:\DBClients\oracle\ora92\Omwb\offline_capture\SQLServer2K\itest\SS2K_SYSOBJECTS.XML
    Type: Information
    Time: 26-09-2006 15:14:27
    Phase: Creating
    Message: Mapping Tables
    Type: Information
    Time: 26-09-2006 15:14:27
    Phase: Creating
    Message: Mapped Tables
    Type: Summary
    Time: 26-09-2006 15:14:27
    Phase: Creating
    Message: Tables Mapped: 0, Tables NOT Mapped: 0
    By the way. After I try to create the Oracle Model, for each of the DAT files the XML file is created with the following content:
    <?xml version="1.0" encoding="Cp1251" ?><START><er></er></START>
    May be this will help to shed a light on the problem.
    Pavel

  • Data warehouse monitor initial state data synchronization process failed to write state.

    Data Warehouse monitor initial state data synchronization process failed to write state to the Data Warehouse database. Failed to store synchronization process state information in the Data Warehouse database. The operation will be retried.
    Exception 'SqlException': Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialState
    Instance name: Data Warehouse Synchronization Service
    Instance ID: {0FFB4A13-67B7-244A-4396-B1E6F3EB96E5}
    Management group: SCOM2012R2BIZ
    Could you please help me out of the issue?

    Hi,
    It seems like that you are encountering event 31552, you may check operation manager event logs for more information regarding to this issue.
    There can be many causes of getting this 31552 event, such as:
    A sudden flood (or excessive sustained amounts) of data to the warehouse that is causing aggregations to fail moving forward. 
    The Exchange 2010 MP is imported into an environment with lots of statechanges happening. 
    Excessively large ManagedEntityProperty tables causing maintenance to fail because it cannot be parsed quickly enough in the time allotted.
    Too much data in the warehouse staging tables which was not processed due to an issue and is now too much to be processed at one time.
    Please go through the links below to get more information about troubleshooting this issue:
    The 31552 event, or “why is my data warehouse server consuming so much CPU?”
    http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx
    FIX: Failed to store data in the Data Warehouse due to a Exception ‘SqlException': Timeout expired.
    Regards,
    Yan Li
    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]

Maybe you are looking for

  • IPad mini unresponsive since update

    JJust downloaded newest iOS update. No problem with iPad 4, iPod, or iPad mini wifi. But iPad mini with wifi & cellular is completely stuck in visual of connector moving to iTunes. Can't restart. Completely unusable. I am submitting on other mini.

  • Why am I not able to stop my iTunes from freezing?

    hello everyone. I've been having some trouble for the past couple of weeks with my iTunes, hence is why I decided to make an account on here. A couple weeks ago I was on my laptop (I have Windows 7) and I went to my documents and then downloads. I th

  • Accumulated Balance for a Customer

    Hi all I know we can get periodwise accumulated balance for a customer in datasource 0FI_AR_1. But I wanna get daily accumuulated balance for a Customer. Any simpler solution apart from writing a code in start routine of transformation. It becomes ve

  • Printing a formatted Workbook by cliking a button

    Hi Gurus, i have created a worbook and would like to set up paremeters to ajust my sheet before printing it. I would also like to include a button which will in case on clicking on it to print the report. Thank you in davcane for your Input. Cherss

  • User Exit / BADI for CJ30

    Hi gurus, I have to block tranfer values for project`s on CJ30. I`m looking for a User Exit or BADI to CJ30 txc. I tried to use the prefix CNEX* User Exit`s but is not triggering. Thanks in advance. Andrew