How to bind a Set in TupleBinding

If I have a record:
class Record{
long o
long a
Set<Integer> v
}o,a are part of the primary key and
Set<Integer> v is the data portion.
When I create a primaryIndex, I need to provide an entity class (in this case Record) and entity binding ( that will bind the Set<Integer> v into the data portion)
What is the best way( in terms of performance) to to use custom TupleBinding to convert objects to entry and entry to objects for the 'Set'.
More specifically how do we handle the lines with ?? in the below code.
public Record entryToObject(TupleInput input) {
          long o = input.readLong();
          long a = input.readLong();
          int v = input.??
public void objectToEntry(Record object, TupleOutput output) {
          output.writeLong(object.getO());
          output.writeLong(object.getA());
          // Need to figure this one out
          output.??;
     }If you can provide an example that would be great.

Hi PD,
You should be implementing an EntityBinding instead of an EntryBinding. Because both key and data are tuples, you can extend the TupleTupleBinding abstract class.
import java.util.HashSet;
import java.util.Set;
import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;
import com.sleepycat.bind.tuple.TupleTupleBinding;
class Record {
    long o;
    long a;
    Set<Integer> v;
class RecordBinding extends TupleTupleBinding<Record> {
    public Record entryToObject(TupleInput keyInput, TupleInput dataInput) {
        Record object = new Record();
        object.o = keyInput.readLong();
        object.a = keyInput.readLong();
        int size = dataInput.readInt();
        object.v = new HashSet<Integer>(size);
        for (int i = 0; i < size; i += 1) {
            object.v.add(dataInput.readInt());
        return object;
    public void objectToKey(Record object, TupleOutput output) {
        output.writeLong(object.o);
        output.writeLong(object.a);
    public void objectToData(Record object, TupleOutput output) {
        output.writeInt(object.v.size());
        for (Integer i : object.v) {
            output.writeInt(i);
}In general, you can build any complex data structure on top of the primitives in TupleInput and TupleOutput. It's up to you to do that in a way that works best for your application.
--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to Bind a Combo Box so that it retrieves and display content corresponding to the Id in a link table and populates itself with the data in the main table?

    I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
    1. Party (PartyId, Name)
    2. Case (CaseId, CaseNo)
    3. Petitioner (CaseId, PartyId) ............. Link Table
    I am completely new to .Net and to begin with I download Microsoft's sample application and
    following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
    with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
    And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
    users can choose one from the dropdown list to add or edit the petitioner.

    Hello Barry,
    Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
    the sample available at the link you supplied.
    To get the idea of the thing here is my code behind of a view vBoxPetitioner:
    <UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:v="clr-namespace:CCIS.View.Case"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    d:DesignWidth="300"
    d:DesignHeight="200">
    <UserControl.Resources>
    <DataTemplate DataType="{x:Type vm:vmPetitioner}">
    <v:vPetitioner Margin="0,2,0,0" />
    </DataTemplate>
    </UserControl.Resources>
    <Grid>
    <HeaderedContentControl>
    <HeaderedContentControl.Header>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    <TextBlock Margin="2">
    <Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
    | <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
    </TextBlock>
    </StackPanel>
    </HeaderedContentControl.Header>
    <ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
    </HeaderedContentControl>
    </Grid>
    </UserControl>
    This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
    Here is the code of vmPetitioner, a ViewModel:
    Imports Microsoft.VisualBasic
    Imports System.Collections.ObjectModel
    Imports System
    Imports CCIS.Model.Party
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' ViewModel of an individual Email
    ''' </summary>
    Public Class vmPetitioner
    Inherits vmParty
    ''' <summary>
    ''' The Email object backing this ViewModel
    ''' </summary>
    Private petitioner As tblParty
    ''' <summary>
    ''' Initializes a new instance of the EmailViewModel class.
    ''' </summary>
    ''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
    Public Sub New(ByVal detail As tblParty)
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Me.petitioner = detail
    End Sub
    ''' <summary>
    ''' Gets the underlying Email this ViewModel is based on
    ''' </summary>
    Public Overrides ReadOnly Property Model() As tblParty
    Get
    Return Me.petitioner
    End Get
    End Property
    ''' <summary>
    ''' Gets or sets the actual email address
    ''' </summary>
    Public Property fldPartyId() As String
    Get
    Return Me.petitioner.fldPartyId
    End Get
    Set(ByVal value As String)
    Me.petitioner.fldPartyId = value
    Me.OnPropertyChanged("fldPartyId")
    End Set
    End Property
    End Class
    End Namespace
    And below is the ViewMode vmParty which vmPetitioner Inherits:
    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Collections.Generic
    Imports CCIS.Model.Case
    Imports CCIS.Model.Party
    Imports CCIS.ViewModel.Helpers
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' Common functionality for ViewModels of an individual ContactDetail
    ''' </summary>
    Public MustInherit Class vmParty
    Inherits ViewModelBase
    ''' <summary>
    ''' Gets the underlying ContactDetail this ViewModel is based on
    ''' </summary>
    Public MustOverride ReadOnly Property Model() As tblParty
    '''' <summary>
    '''' Gets the underlying ContactDetail this ViewModel is based on
    '''' </summary>
    'Public MustOverride ReadOnly Property Model() As tblAdvocate
    ''' <summary>
    ''' Gets or sets the name of this department
    ''' </summary>
    Public Property fldName() As String
    Get
    Return Me.Model.fldName
    End Get
    Set(ByVal value As String)
    Me.Model.fldName = value
    Me.OnPropertyChanged("fldName")
    End Set
    End Property
    ''' <summary>
    ''' Constructs a view model to represent the supplied ContactDetail
    ''' </summary>
    ''' <param name="detail">The detail to build a ViewModel for</param>
    ''' <returns>The constructed ViewModel, null if one can't be built</returns>
    Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Dim e As tblParty = TryCast(detail, tblParty)
    If e IsNot Nothing Then
    Return New vmPetitioner(e)
    End If
    Return Nothing
    End Function
    End Class
    End Namespace
    And final the code behind of the view vPetitioner:
    <UserControl x:Class="CCIS.View.Case.vPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    Width="300">
    <UserControl.Resources>
    <ResourceDictionary Source=".\CompactFormStyles.xaml" />
    </UserControl.Resources>
    <Grid>
    <Border Style="{StaticResource DetailBorder}">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Text="Petitioner:" />
    <ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
    </Grid>
    </Border>
    </Grid>
    </UserControl>
    The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
    what I need to Know is how to route the binding path if it exists in a different ViewModel?
    Sir, I look forward to your early reply bringing a workable solution to the problem I face. 
    Warm Regards,
    Arun

  • How to bindi a UI element to 2 model nodes different in the same view

    I want to know how I can bind a set of inputfields, in a form view, to 2 different model nodes ?
    <u>example:</u>
    Im working with 2 adaptional RFC, both working, in my Custom Context.
    Ztest_Search
    Ztest_Update
    In my ResultView I have 2 Model nodes (one for each RFC) I show a set of inputfields in a form view, binded to the Ztest_Search_output of Ztest_Search. This works.
    now I want to update the changes, but I can't find the ways of binding the same inputfields to my other Model node (Ztest_Update) in the context of ResultView.
    Note: If I create a duplicate set of inputfields , one for Ztest_Search binded to the Ztest_Update_output and the other to the Ztest_Update_Input Works. But I wanna avoid this duplicated set of inputfields.
    Thx

    Rodrigo,
    If I understood correctly, your problem is to get the data from the input fields which are bound to a
    model node, Ztest_Search_output and set it to the model node of another RFC, Ztest_Update.
    This can be done by getting the suitable values from the model attributes of Ztest_Search_output
    and setting it to Ztest_Update.
    <b>/**
    * valueOne, valueTwo are the name of the model   
    * attributes that are bound to the Input fields.
    */</b>
    String firstValue = wdContext.currentZtest_Search_outputElement
         ().get<valueOne>;
    String secondValue = wdContext.currentZtest_Search_outputElement
         ().get<valueTwo>;
    Ztest_Update_Input update = new Ztest_Update_Input();
    wdContext.nodeZtest_Update_Input().bind(update);
    <b>/*
    *<b>Zstructure is the structure of the model node under
    *Ztest_Update_Input to which the values have to be 
    *updated.</b>
    */</b>
    ZStructure structure = new ZStruture();
    structure.setValueOne(valueOne);
    structure.setValueTwo(valueTwo);
    update.addZStructure(structure);
    try
       update.execute();     
    catch (Exception ex)
       wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);                     
    wdContext.nodeZtest_Update_Output().invalidate();
    Bala

  • How to bind Temporary Queue to Context in FioranoMQ

    I have two JMS clients sending messages to each other via FioranoMQ.
    And one client creates a temporary queue, for example
    Temporary Queue auction1Queue = qSession.createTemporaryQueue();
    My question is how to bind this auction1Queue to Context? so that the client on the side can lookup
    I don't use the usual way of set/getJMSReplyTo() to message because it will change the logic of my program.
    With SonicMQ, I just simply bind it like this
    jndi.bind("auction1", auction1Queue);
    then the other side just need to jndi.lookup("auction1")
    and with ActiveMQ it is even simpler
    Both side just need to lookup for the same name like that
    jndi.lookup("dynamicQueues/auction1");
    http://activemq.apache.org/jndi-support.html
    But FioranoMQ does not support both of the above operations.
    I don't really know how to do the same thing with FioranoMQ.
    Hope that somebody can help me.
    Thank you very much
    Edited by: dannytrinh1 on Apr 16, 2009 5:53 AM

    How to look up for temporary queue by using temporary queue name using JNDI context. I am getting lookup faild error" for temporary queue. While trying to bind this temporary queue name to jndi , it is throwing an exception as: notsupported exception. I am using ActiveMQ 5.2.
    See below sample code...
    tq = session.createTemporaryQueue();
    jndiContext.bind("queue.MyTempQueue",tq);

  • How to Bind a process to a processor?

    i am working on sun studio 12 & my project is on concept of multithreading.
    i need to know how to bind a process to a particular core?
    whats the command?
    please give me some examples.

    The processor_bind() function can be used to bind a specific [thread, LWP, process, process group, project, virtual machine] to a particular set of cores.

  • HT204053 The entire family has used one itunes account for years. How do we all set up separate iCloud accounts now?

    The entire family has used one itunes account for years. How do we all set up separate iCloud accounts now? Or should we? 5 macbooks, 2 ipads, 4 iphones, 2 itouch, 2 imacs.   How does one decide what to sync, share and what not to? Green Jeans.

    You need to start by understanding the distinction between iTunes and iCloud - Apple confuse the issue by referring to 'iTunes Match' as part of iCloud. It isn't.
    You don't have to have the same login (Apple ID) for iTunes and iCloud; many people don't and there's no problem about it.
    Your iCloud ID gets you email, calendars, contacts, iWork documents and PhotoStream syncing between devices.
    Your iTunes ID gets you the iTunes Store, the App Store for iOS, the Mac App Store for OSX,, 'iTunes in the Cloud' (downloading of purchased items to any logged-in device) and 'iTunes Match' (uploading of songs not purchased in the iTunes Store).
    Your family members can easily each get their own iCloud account to keep email etc. separate - in each case they will need a different non-Apple email address (a free one from Yahoo etc. would do) to set up the ID. If they are sharing a Mac they need to be using a separate user account.
    They can have their own iCloud accounts and still all sign into the same iTunes account: or they can open their own iTunes accounts using their new iCloud Apple IDs.
    BUT they cannot transfer items purchased under the present iTunes ID to different iTunes IDs.

  • How to bind two Items?

    Hello,
    on my page I have 2 items:checkbox and text area. How to bind its work processes together? For example, when checkbox is checked then Text area is disable and when not then enable.
    Thanks' for help.
    Karina.

    hi karina--
    this, too, is javascript question. please see my answer to your previous post...
    Multiselect list (LOV)
    ...regards,
    raj

  • How can I re-set the App Store so the Updates will again appear under the Updates tab?

    Hi,
    I am running a Macbook Pro (retina). Lately when I launch App Store and click on Updates the software updates for the software on the Macbook do not show up under the Updates tab. However, when I go to the Purchased tab I see there Update buttons next to programs that have updates ready to download.
    How can I re-set the App Store so the Updates will again appear under the Updates tab?
    Many Thanks,
    David

    Wanna know this too

  • How to change a setting in the Java Control Panel with command line

    Hi,
    I am trying to figure out how to change a setting in the Java Control Panel with command line or with a script. I want to enable "Use SSL 2.0 compatible ClientHello format"
    I can't seem to find any documentation on how to change settings in the Java Control Panel via the command line
    Edited by: 897133 on Nov 14, 2011 7:15 AM

    OK figured it out. This is for the next person seeking the same solution.
    When you click on the Java Control Panel (found in the Control panel) in any version of Windows, it first looks for a System Wide Java Configuration (found here: C:\Windows\Sun\Java\Deployment). At this point you must be wondering why you don't have this folder (C:\Windows\Sun\Java\Deployment) or why its empty. Well, for an enterprise environment, you have to create it and place something in it - it doesn't exist by default. So you'll need a script (I used Autoit) to create the directory structure and place the the two files into it. The two files are "deployment.properties" and "deployment.config".
    Example: When you click on the Java Control Panel it first checks to see if this directory exists (C:\Windows\Sun\Java\Deployment) and then checks if there is a "deployment.config". If there is one it opens it and reads it. If it doesn't exist, Java creates user settings found here C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7.
    __deployment.config__
    It should look like this inside:
    *#deployment.config*
    *#Mon Nov 14 13:06:38 AST 2011*
    *# The First line below specifies if this config is mandatory which is simple enough*
    *# The second line just tells Java where to the properties of your Java Configuration*
    *# NOTE: These java settings will be applied to each user file and will overwrite existing ones*
    deployment.system.config.mandatory=True
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    If you look in C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7 for example you will find "deployment.properties". You can use this as your default example and add your settings to it.
    How?
    Easy. If you want to add *"Use SSL 2.0 compatible ClientHello format"*
    Add this line:
    deployment.security.SSLv2Hello=true
    Maybe you want to disable Java update (which is a big problem for enterprises)
    Add these lines:
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked=
    Below is a basic AutoIt script you could use (It compiles the files into the executable. When you compile the script the two Java files must be in the directory you specify in the FileInstall line, which can be anything you choose. It will also create your directory structure):
    #NoTrayIcon
    #RequireAdmin
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_UseX64=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    Func _JavaConfig()
         $ConfigFile_1 = @TempDir & "\deployment.properties"
         $ConfigFile_2 = @TempDir & "\deployment.config"
         FileInstall ("D:\My Documents\Autoit\Java config\deployment.properties", $ConfigFile_1)
    FileInstall ("D:\My Documents\Autoit\Java config\deployment.config", $ConfigFile_2)
         FileCopy($ConfigFile_1, @WindowsDir & "\Sun\Java\Deployment\", 9)
         FileCopy($ConfigFile_2, @WindowsDir & "\Sun\Java\Deployment\", 9)
         Sleep(10000)
         FileDelete(@TempDir & "\deployment.properties")
         FileDelete(@TempDir & "\deployment.config")
    EndFunc
    _JavaConfig()
    Now if you have SCUP and have setup Self Cert for your organization, you just need to create a SCUP update for JRE.
    Edited by: 897133 on Nov 16, 2011 4:53 AM

  • When i try to set up my icloud account the system says it is sending me an email to verify.  I never get the email and it is not in my spam filter.  How can i get set up??

    when i try to set up my icloud account the system says it is sending me an email to verify.  I never get the email and it is not in my spam filter.  How can i get set up??

    Make sure that your Apple ID is your email address and you do not have any other or old IDs associated with you. Go to www.appleid.apple.com and confirm this info. Make sure that the email address you are trying to sign up with is your primary one.

  • HOW THE ************** Do I set up nokia messagin...

    HOW THE  ************** Do I set up nokia messaging on the 5800? Please if somone can help me I shall burn an effigy in your honour.
    First A person in the UK CANNOT set up a Nokia mail account.  You go to email.nokia.com, you select your device and enter your phone number.  Supposedly you receive a text message with a link to somthing or other, IT NEVER ARRIVES.  The site then instructs you to navigate your phone to email.nokia.com.  You go there and download nokia messaging (again) and re-install it (again).
    You then proceed to to run the set up email program (the pink @ sign that now appears in applications) and go through the process of typing in an email account details.  At the end it should ask if you want to add it to a nokia messaging account or not.  IT NEVER DOES THIS.  It only ever adds the email to the **bleep** inbuilt polling email thing in messaging.
    So, the user cannot make a nokia messaging account online OR on the handset which raises question 1.
    1. HOW THE HELL DO YOU CREATE A MESSAGING ACCOUNT IN THE FIRST PLACE?
    Being no stranger to nokia messaging and after attempting the above several times I decided to use my E72.  I removed all my email addresses (so my nokia email account was no longer associated with that device) and set it up for my wife (who owns the 5800).  This allowed me to create a nokia messaging account for her (finally).
    Now she could log into email.nokia.com and add her email addresses.  Now when I entered her email address into the 5800 it asked if it wanted to add the email to her nokia messaging account (FINALLY) and I was able to put her email onto her 5800 through nokia messaging.  Phew, it only took 3 hours.
    Next step, remove her nokia messaging account from my E72 in order that I may have my account back on my e72.  When this was done the wife receives an email telling her that her subscription had been cancelled from her 5800, I assume becasue it detected me using it from my E72 when removing the accounts.
    So, I try to re-setup nokia messaging on her device again on, it should be a lot easier as she now has a nokia messaging account right?  When I enter her nokia messaging email address it will automatically associate the nokia messaging account with the 5800 again, right?
    WRONG
    now when I try to set up the email the option of adding the account to the nokia messaging service is never shown instead it adds it as the crumby polling email thing built into the device.  This leads me to my 2nd question.
    2. HOW THE HELL DO I MAKE THIS USELESS PIECE OF **bleep** WORK?
    I am no noob, I have had nokia devices for the past decade and used symbian all the way since s60v1.  However this has bowled me over with retarded idiocy.
    Do I have to make a pentagram of dku-2 cables with a symbain device at each point facing norway smeared with the blood of a virgin blackberry user?
    Please someone, tell me what the **bleep** must do to simply get this **bleep** email to work.  I am fuming with rage right now and at the end of my tether.
    P.s. No i will not do another hardware reset.
    MODERATOR'S NOTE:
    Hi,
    Language edited by a moderator. Please show some respect towards other users of this public forum.

    vi__ wrote:
    Next step, remove her nokia messaging account from my E72 in order that I may have my account back on my e72.  When this was done the wife receives an email telling her that her subscription had been cancelled from her 5800, I assume becasue it detected me using it from my E72 when removing the accounts.
    So, I try to re-setup nokia messaging on her device again on, it should be a lot easier as she now has a nokia messaging account right?  When I enter her nokia messaging email address it will automatically associate the nokia messaging account with the 5800 again, right?
    WRONG
    At the very least you would need to contact Nokia to re-instate your wife's account and I hope you are on Orange as otherwise you won't get very far in the UK as here:
    /t5/Messaging-Email-and-Browsing/Nokia-Messaging-Has-Aligned-with-Orange-UK/m-p/764736/highlight/tru...
    Happy to have helped forum with a Support Ratio = 42.5

  • I've had a hard drive crash and put in a new one.  However iTunes has or list all of them from my old drive.  How do we re-set the directory

    I've had a hard drive crash and put in a new one.  However iTunes has or list all of them from my old drive.  How do we re-set the directory?

    You can re-download the software from Download CS5.5 products
    Install and enter your serial number when prompted.
    Find your serial number quickly

  • How can I get/set the vaule of a varibale in the planning function

    Hi All,
    in the fox I can get the value of a variable using VAR(), but How can I get/set it in a normal planning function?
    any proposal would be very appreciated.

    Hi,
    Call following functions 
    1. To get the current value of a planning variable call funtion
    API_SEMBPS_VARIABLE_GETDETAIL by passing Area and variable name
    2. To set the value of a variable call function
    API_SEMBPS_VARIABLE_SET  and pass planning area name and variable name.
    Award the points if thsi solves your purpose.
    Regards,
    Deepti

  • I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    Is the menu bar missing (the one containing File, View, Edit etc)? If it is, the following link shows how to restore it - https://support.mozilla.com/kb/Menu+bar+is+missing

  • How to get Document Set property values in a SharePoint library in to a CSV file using Powershell

    Hi,
    How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
    I suggest you can get the document sets properties like the PowerShell Command below:
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $siteurl="http://sp2013sps/sites/test"
    $listname="Documents"
    $mysite=new-object microsoft.sharepoint.spsite($siteurl)
    $myweb=$mysite.openweb()
    $list=$myweb.lists[$listname]
    foreach($item in $list.items)
    if($item.contenttype.name -eq "Document Set")
    if($item.folder.itemcount -eq 0)
    write-host $item.title
    Then you can use Export-Csv PowerShell Command to export to a CSV file.
    More information:
    Powershell for document sets
    How to export data to CSV in PowerShell?
    Using the Export-Csv Cmdlet
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Unable to import the package for java concurrent program

    Hi all i m trying to work on java concurrent program ,but when i tried to import these classes import oracle.apps.fnd.cp.request.CpContext; import oracle.apps.fnd.cp.request.JavaConcurrentProgram; the compiler is throwing cannot access class oracle.a

  • "Edit Distribution" doesn't open a window for edits

    I know that to choose which address to use for someone in your address book who has multiple email addresses, you need to open "Edit Distribution."  (FYI, I'm not in icloud and am not using smart groups.)  When I click on "Edit Distribution" absolute

  • Connect Printer

    How do I connect my laptop to my Lexmark X4550 Printer?

  • How do i download ios7 from itunes

    how do i download ios7 from itunes?

  • Strange One

    Dear Fords I Facing a very strange Problem , I Created a Z function Module in which I used function modules like  BAPI_PR_CHANGE   &  BAPI_REQUISITION_RESET_RELEASE & BAPI_REQUISITION_GETRELINFO The Problem with the function module is that when i run