Reading and modifying data in a recursive node

Hi All,
I am using a TreeByNesting column in a table UI element of my component.
For this purpose I have created a node in the context - ('TREE') which contains a recursive node - ('RECURSIVE_TREE').
What would be the simplest way to read the data from this node ? And how do I go about changing a single line of information
within the node ?
Thanks,
Fathima

What would be the simplest way to read the data from this node?
Reading data from a recursive node is no different to reading any normal node. It's just that you have a very simple way of holding the same structure.
Once you have a reference to the element of a node (a single line of data), then updating it is no different to updating a line of a table.
More issues are associated with making and setting lead selections for an element (all parent elements also need to be lead selected and no child elements). Searching through the hierarchy, etc.
Where I have used this functionality I have often set up search tables with the key data that I want to search in a flat table and a reference to the corresponding element - much easier to search then - without having to resort to recursive coding!
Could you elaborate a little on what exactly you are having an issue with?
Cheers,
Chris

Similar Messages

  • What is the best software programs that I can use to read, write and modify data / files on external HD (NTFS format i.e.  Windows) ?

    Hi guys,
    I’m new to Mac and have a MacBook Pro Lion OS (10.6.8 I think !!!) with Parallels 7 (Windows 7) installed. Can someone please tell me what is the best software program that I can use to read, write and modify data / files on external HD (NTFS format) from the Mac OS ? I heard of Paragon and Tuxera NTFS. Are they free ? Are they good ? Are there any other software programs out there ? I heard that some people have issues with Paragon.
    Thanks.

    Your best bet would be to take the drive to the oldest/compatible with that drive Windows PC and grab the files off, right click and format it exFAT (XP users can download exFAT from Microsoft) and then put the files back on.
    Mac's can read and write all Windows files formats except write to NTFS (and in some cases not read) so if you can change the format of the drive to exFAT (all data has to be remove first) then you will have a drive that doesn't require paid third party NTFS software (a license fee goes to Microsoft) for updates.
    Also it's one less hassle to deal with too.
    .Drives, partitions, formatting w/Mac's + PC's

  • Read and Modify NTUser.DAT file

    Hello All,
    I've to perform the uninstall operations of activesetup in a console application based in C#.
    The tasks is to mount the NTUser.Dat file of all the users of system and search the HKLM and HKCU hives of each user and remove corresponding registry entries related to activesetup.
    I've found the RegLoadKey method but couldn't found the read and modify methods to treat NTUser.dat for my requirement.
    I've found one link:-
    https://www.daniweb.com/software-development/vbnet/threads/108278/load-registry-hive
    But even this doesn't perform the required operations.
    Please share some suggestions or Code examples to perform this operation?
    Thanks in Advance.
    TECHIT_ASHISH

    Hi
    TechIT_Ashish,
    The Ntuser.dat file is a registry file. Each user's Ntuser.dat file contains the registry settings for their individual account. The Windows registry, as described by Microsoft, is a "central hierarchical database" that contains information about
    the software, hardware and user profiles contained on a computer.
    So about read that file, the.NET Framework supports a lot and in C# the RegistryKey class.
    You can use the
    RegLoadKey P/Invoke.
    [DllImport("advapi32.dll", CharSet=CharSet.Auto, SetLastError=true)]
    public static extern int RegLoadKey(uint hKey,string lpSubKey, string lpFile);
    //API'used
    // Loading a Hive "C:\NTUSER.DAT"
    RegLoadKey(HKEY_USERS,"NTUSER.DAT",@"C:\NTUSER.DAT");)
    You can get some hints from Load registry hive from C# fails 
    Modify NTUser.DAT file, I am afraid there is no some build-in method in .Net Framework, after some research, I've found use Script to modify ntuser.dat.
    http://www.experts-exchange.com/Networking/Windows_Networking/Q_21220278.html
    http://blogs.technet.com/b/deploymentguys/archive/2008/06/06/useful-script-number-5-adjusting-the-default-user-registry-hive.aspx
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience
    to you. 
    Microsoft does not control these sites and has not tested any software or information found on these sites;Therefore, Microsoft
    cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Created and modified dates all the same

    Clock is displaying the correct time but for all types of files the created and modified dates are all displaying the one date. Any suggestions?

    Thanks for your input.  I want to keep the files with a 1 or ~1 as it happens and delete the rest.  I have written some scripts.  I think I could write a script to delete all files with a 1, but of course that is not what I want.  I guess
    I need a script to delete all files except if they contain a 1.  I haven't used a forum since way back in the PC mag days.
    Whoops..........I just realized exactly what you were telling me and used your suggestion.  I guess I was trying to do more work than I needed.  I searched for all files with a 1 in the folder and then moved them to a different folder.  Then
    I deleted the rest.  Job done.  Thanks for the help.

  • Display "modified by" and "modified date" on sharepoint wiki pages.

    Hi there,
    I want to display "modified by" and "modified date" on sharepoint wiki pages as a footer note.
    I googled about it and I got the following code which I have inserted in my master page(Since I want to display on 2400 pages).
    <%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/>by
    <SharePointWebControls:UserField FieldName="Modified By" runat="server" ControlMode="Display" />
    It is working but last modifed user and date and time is visible only till page loads.
    After page is loaded completely it dissappears.. Am I missing something??
    Many thanks in advance..

    Sabiha,
    Try these links,
    http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
    http://blogs.msdn.com/b/kaevans/archive/2011/07/07/modifying-the-page-layout-for-enterprise-wiki-pages-in-sharepoint-2010.aspx
    https://social.technet.microsoft.com/Forums/en-US/64f6006a-73c5-4c8e-a552-896df8e22af1/show-wiki-page-library-columns-on-wiki-pages-sharepoint-2010
    Hope it will be helpful
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How can i Read and Delete data in Infocube

    Can some help me how to read and delete data in infocube before loading data from direct DSO.
    I should be able to read and delete condition with combination (0FISCPER, 0COMP_CODE).
    Let us say we load JAN, comp _ code : 0001 (10 records )and JAN comp _ code :003 (30 records ) and JAN, comp _ code : 004 (20 records ) to infocube
    second time if DSO gets data of JAN, comp _ code : 0001 (40 records ) it doent need to be 10 old + 30 new, it can be 9 old 21 new lay i need to delete 1 old rec which i dont need. so that is the reason i want delet all JAN, comp _ code : 0001  recods before loading.
    Can some one help me

    Hello,
    You could use the selective deletion available with the cube to get the selective data for 0FISCPER, 0COMP_CODE combination deleted.
    If you go in the manage of cube & Content tab, you would find the selective deletion option at the bottom of screen.
    If you enter the option, you could give your selections for deleting the records and run the job.
    Please let me know if you need any more help.
    Regards,
    Pankaj

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • How to read and write data in to a specified range of cells(it include multiple row & columns) in excel

    How to read and write data in to a specified range of cells(it include multiple row & columns) in excel

    CVI Comes with a sample project that explains how to read/write to a Excel file: choose "Explore examples..." in CVI welcome page and navigate to <cviSampleDir>\activex\excel folder where you can load excel2000dem.prj.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • JSP read and write data in MS-SQL database

    I am new to JSP. I need to write JSP page to read and write data in MS-SQL Database. I wonder if it is different from other database. I couldn't find useful pointers in the web. Please advise. Thanks!!

    Sure, SQL Server is different from Oracle is different from MySQL is different from...
    But all of them can be accessed using JDBC:
    http://java.sun.com/docs/books/tutorial/jdbc/
    Maybe you should learn about that for starters.
    You can use SQL tags from JSTL in your JSPs. I'd recommend JSTL highly. No scriptlet code that way. - MOD

  • Read and write data from content repository .

    Hi All,
    We are using content repository to store some document and images on web center server .
    So we have created/setup a content repository on web center .
    Please proivde me some documnet /wiki page to get some idea how can i read and write date in
    content repository .
    You are most welocme to provide some idea /suggestion .
    Thanks,
    Arun.

    Have you already configured webcenter spaces so it can use content server?
    Have you installed the content server seperatly from webcenter or as a part of the webcenter installation?
    Check if you have the webcenter spaces component installed in content server because without i don't think it will work...
    If you already have configured UCM to work with spaces it's quiet easy.
    From your groupspace, open the settings page of your groupspace. Go to the services tab. In the left hand side you can enable the documents services. WHen you have done that, you are able to add the document services taskflows to your pages. Just go to a page in your pagegroup and edit it. Open the resource catalog and you will find some extra taskflows you can add.
    If you haven't configured UCM and webcenter to work together, here some steps that will help you:
    * Integrating UCM with Spaces
         * They both need to use the same LDAP store.
         * Since there is no LDAP server available, we choose for embedded WLS LDAP.
         * Integrating the ucm into apache
              * Stop UCM
              * In /oracle/product/wls10320/WebCenter/ucm/config/config.cfg, check the SocketHostAddressSecurityFilter to contain 127.0.0.1
              * Add the SocketHostAddressSecurityFilter to /oracle/product/wls10320/WebCenter/ucm/admin/bin/intradoc.cfg
              * Add to /oracle/product/wls10320/WebTier/instances/instance1/config/OHS/ohs1/httpd.conf
                   include /oracle/product/wls10320/WebCenter/ucm/data/users/apache22/apache.conf
              * Change the mod_wl_ohs.conf file to
                   <IfModule weblogic_module>
                         WebLogicHost localhost
                         WebLogicPort 7001
                         Debug ON
                         WLLogFile /tmp/weblogic.log
                   </IfModule>
                   <Location /webcenter>
                      SetHandler weblogic-handler
                      WebLogicCluster localhost:8888
                   </Location>
                   <Location /webcenterhelp>
                      SetHandler weblogic-handler
                      WebLogicCluster localhost:8888
                   </Location>
                   <Location /owc_discussions>
                      SetHandler weblogic-handler
                      WebLogicCluster localhost:8890
                   </Location>
                   <Location /em>
                      SetHandler weblogic-handler
                   </Location>
                   <Location /console>
                      SetHandler weblogic-handler
                   </Location>
                   <Location /consolehelp>
                      SetHandler weblogic-handler
                   </Location>
              * Restart UCM & WebTier
              * Test URL: http://yourServer:7777/idc
         * Configure the Identity Store for UCM & WebCenter
              * Set the password for the embedded ldap in WLS
                   Console => Domain Name => Security tab => Embedded LDAP tab => reset credentials
              * Restart AdminServer
              * Stop UCM
              * Add the following to /oracle/product/wls10320/WebCenter/ucm/config/jps-config.xml
                      <serviceInstance name="idstore.oid" provider="idstore.ldap.provider">
                          <property name="subscriber.name" value="ou=myrealm,dc=webcenter_domain"/>
                          <property name="idstore.type" value="WLS_OVD"/>
                          <property name="security.principal.key" value="ldap.credential"/>
                          <property name="security.principal.alias" value="JPS"/>
                              <property name="ldap.url" value="ldap://yourServer:7001"/>
                          <extendedProperty>
                              <name>user.search.bases</name>
                              <values><value>ou=people,ou=myrealm,dc=webcenter_domain</value></values>
                          </extendedProperty>
                          <extendedProperty>
                              <name>group.search.bases</name>
                              <values><value>ou=groups,ou=myrealm,dc=webcenter_domain</value></values>
                          </extendedProperty>
                          <property name="username.attr" value="uid"/>
                          <property name="user.login.attr" value="uid"/>
                          <property name="groupname.attr" value="cn"/>
                      </serviceInstance>
              * In the same file, change the serviceInstanceRef ref="idstore.ldap" to "idstore.oid"
              * Go to /oracle/product/wls10320/WebCenter/ucm/custom/FustionLibraries/tools
              * ./run_credtool.sh
                   Alias: default
                   Key: default
                   User Name: cn=Admin
                   Password: weblogic123
                   JPS Config: default
              * Start UCM
              * Check Provider:
                   * Go to http://yourServer:7777/idc
                   * Login : sysadmin/idc
                   * Administration -> Providers
                   * jpsuser should be good
                   * When a ldapuser exist, disable it!!
         * Configuring UCM for content search
              * Change the file /products/WebCenter11gR1/WebCenter/ucm/config/config.cfg
                  SearchIndexerEngineName=DATABASE.METADATA to SearchIndexerEngineName=DATABASE.FULLTEXT
              * Restart UCM server
              * Run the /products/WebCenter11gR1/WebCenter/ucm/database/oracle/admin/batchsnippet.sql in the wcbepsc_ocserver schema
              * Restart UCM server
              * Open the /products/WebCenter11gR1/WebCenter/ucm/bin/RepositoryManager (sysadmin/idc)
              * Recreate the indexes
         * Registering UCM with WebCenter
              * Go to http://yourServer:7777/em
              * Login with weblogic/weblogicPassword
              * Go to WebCenter - WebCenter Spaces - webcenter (WLS_Spaces)
              * From the top menu, select Settings - Service Configuration     
              * Select Content Repository
              * Add
                   Connection Name: ucm_connection
                   Repository Type: Oracle Content Server
                   Active Connection: checked
                   Administrator User Name: sysadmin
                   Root Folder: /WebCenterSpaces
                   Application Name: Spaces
                   CIS Socket Type: Socket
                   Server Host: localhost
                   Server Port: 4444
                   Authentication Method: Identity Propagation
              * Restart WLS_Spaces
         * Test the connection by creating a new group space and upload a document to the document page of this group spaceHope this helps.

  • Read and write data from virtual port (bluetooth adaptor)

    Hi,
    I want to read and wirte data to the bluetooth adaptor by java. I connected my bluetooth adapter to COM3.(virtual port). Anybody help me with this.I need very urgent.
    Thanks,
    with regards,
    thelay

    Deepa_05 wrote:
    Hi,
    I didn't get jar fileAnd?

  • Export Contact with creation and modify date

    Hi All,
    I need to export the contact created in AD ( windows 2008 )with creation and modified date.

    Hi Vin,
    In addition,
    the following thread can be referred to as reference.
    Exporting AD Objects by creation date
    http://social.technet.microsoft.com/Forums/en-US/d8fd00ba-e97a-4e28-a67a-1d56bfddd554/exporting-ad-objects-by-creation-date?forum=winserverDS
    Best regards,
    Frank Shen

  • Get original file creation and modified date during upload - ONLY in explorerview ??

    Hi,
    SharePoint and me are having a difficult time again ;-)
    I have the customer requirement to retain the original file's creation date and modified date.
    Please do not start replying by just pasting links that you might find while searching for the keywords "retain creation date".
    In a nutshell I found out that the original dates are only available in SharePoint if the
    explorerview has been used. I always thought that the explorerview is a bad thing, but only here - the original creation date is stored in a property called "vti_ct". In the itemupdated eventreceiver you can get the
    value and work with it.
    Complete list of available properties
    http://sbrickey.com/Tech/Blog/Post/Secrets_Revealed_SP_Event_Receivers_firing_multiple_times
    Here I found the hint with the explorerview
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010programming.aspx?ID=57bfd5f5-941f-4a89-919d-cdf7b0b801be
    It is only available in the 2nd loop of the itemupdated event. 
    How the f*** can this happen??? The 2nd post states that when using the explorerview the file is being copied, while it is being re-created by using the SharePoint UI.
    Has anyone a different approach for using the SharePoint UI?
    I thought about different approaches for this issue. From my perspective it seems to be not solvable from the server-side. It seems only to be able to be set using a client application.
    Example 1: spbulkdocumentimport 
    http://spbulkdocumentimport.codeplex.com/wikipage?title=Features&referringTitle=Documentation
    Example 2: implement a custom webservice
    http://blog.orbitone.com/post/Preserve-created-and-modified-information-when-importing-a-document-in-SharePoint
    How do you deal with this customer requirement?
    Open for discussions
    Sven 

    Hi,
    Newbie to SharePoint, learn quite a lot from the links you provided.
    “I found out that the original dates are only available in SharePoint if the explorerview has been used”, this would make sense because the original creation time is generated
    by the file system in the local machine.
    However, when a file is uploaded to SharePoint library, it will be stored as binary data in the database, as well as the newly created time. It means that it will be a “new” file
    in the SharePoint site regardless of where it comes from.
    Per my knowledge, the only way I can suggest is that you will need to create a client desktop application for the file uploading, which will be a more general way not only for
    uploading a file, but also when we need to migrate files between different systems.
    Thanks

  • How to accessed,created and modified date of particular file in java

    Hi,
    I am facing one problem.
    I know how to get the modified date/time of file in java.
    but i don't know how to find created and accessed date/time of file in java.
    Thanks,
    Tejas

    I guess thats not possible in in Windows.
    But if u r trying it on a unix machine.
    You can use Runtime class to call exec on the command
    ls -l filename
    and then store the result in a file . And then take out the last modified time. But you cant get created time.
    Thats a clumpsy way i believe.

  • How to read and write data from json file from windows phone7 app

    Hi
    I am developing wp7 app for the use of students my questions are
    How can i write a code to read and write the json/text file for the wp7.
    I am using windows 7 OS, VS 2010 Edition.
    This is my code below:
    xaml:
    <Grid>
                        <TextBlock Height="45" HorizontalAlignment="Left" Margin="7,18,0,550" Name="textBlock1" Text="Full
    Name: " />
                        <TextBox Width="350" Height="70" HorizontalAlignment="Left" Margin="108,1,0,0" Name="txtName"
    Text="Enter your full name" VerticalAlignment="Top" />
                        <TextBlock Height="45" HorizontalAlignment="Left" Margin="6,75,0,0" Name="textBlock2" Text="Contact
    No: " VerticalAlignment="Top" />
                        <TextBox Width="350" Height="70" HorizontalAlignment="Left" Margin="108,61,0,480" Name="txtContact"
    Text="Enter your contact number" MaxLength="10" />
                        <Button Content="Register" Height="72" HorizontalAlignment="Left" Margin="10,330,0,0" Name="btnRegister"
    VerticalAlignment="Top" Width="190" Click="btnRegister_Click" />
                    </Grid>
    xaml.cs:
    private void btnRegister_Click(object sender, RoutedEventArgs e)
                string name, contact;
                name = txtName.Text;
                contact = txtContact.Text;
                try
                    if (name != "" && contact != "")
                        string msg = name + " " + contact;
                        MessageBox.Show(msg);
                        Student stud = new Student
                            Name= name,
                            Contact = contact,
                        string jsonString = JsonConvert.SerializeObject(stud);
                        MessageBox.Show(jsonString);
                    else
                        MessageBox.Show("Input Proper Information", MessageBoxButton.OK);
                catch (Exception ex)
                    MessageBox.Show(ex.Message);
    I have download NewtonSoft.json version 5.0.8.
    So, I am able to convert input data into json format, but how can I able to write and read this data from a json/text file.
    How can I do?
    Thank you in adv and please, reply soon.

    We don't have many samples left for Windows Phone 7 + Azure, the closest one to what you want to do is probably:
    Using Local Storage with OData on Windows Phone To Reduce Network Bandwidth
    this sample uses the local database feature: 'LINQ to SQL', available to Windows Phone 7.1 and 8.0 Silverlight applications, instead of simple file storage but even if you choose to stick with simple file storage I believe you should be able to adapt the
    networking related portions of the sample to your particular application.
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

Maybe you are looking for

  • Problems trying to re-install

    I installed Itunes (Windows XP), downloaded a couple tracks. Went to download a 3rd and some file couldn't be found. Tried to repair still didn't work. Uninstalled and tried to download again. Got message that download would start automatically. Just

  • Screen went black while using voiceover

    I rebooted, but the screen fades out right away when it starts up so I can't enter my passcode or get into the settings to turn off voiceover! Help!

  • Movie icons don't get a preview on the desktop like jpegs do.

    Hi, I have .jpeg, .wmv and .mov files on my dektop and have set up the desktop so that all icons get a preview pic. But only the jpegs seem to show the preview pic. The movie files simply show a white and blue 'Q movie' icon. Sometimes they show the

  • Password problems 10G 10.1.0.2

    Why am I constantly having problems with the page to enter DB credentials for starting/stopping the DB from Enterprise Manager? I'm sure I understand the input fields presented: Host credentials are the name and password I use for logging into my Ser

  • Displaying last page in SAP Script.

    HI All I have created 3 pages. Data will be displayed in the first page and 3 page ie the last page will display a small Note. I have a requirement in which Both First and last page should be displayed. IF data is too long then after first the next p