Register  |  Login

Wednesday, Sep. 08 10:01  

 
 

 
 
 
 
 
MinimizeForum
 
   
 
  FSAPI.Net Forum  Discussions  Issues  GetPerson(PersonParams personParams);
Previous Previous
 
Next Next
New Post 2/21/2009 9:55 AM
  liddellag
6 posts
No Ranking


GetPerson(PersonParams personParams); 
Modified By liddellag  on 2/21/2009 11:24:13 AM)

 

Using GetPerson(PersonParams personParams); I am unable to obtain any ancesters in Assertions.Relationships, although children and spouses are included correctly.  The code I use is:

                FDO.PersonParams personParams = new FSAPINet.FamilyTree.DataObjects.PersonParams(_fsCurPerson.Id);
                personParams.Ancestors = 1;
                personParams.Descendants = 1;
                personParams.IncludeCitations = true;
                personParams.IncludeNotes = true;
                List<FDO.Person> curPersonList = familyTreeService.GetPerson(personParams);

All of the expected persons are returned in curPersonList but the parents only include  spouse in their Assertions.Relationships.  Without parents in the base individual or child in the parent, How can the correct relationships be identified?

Any suggestions as to what I am doing wrong?

Regards;

 

 
New Post 2/23/2009 3:10 PM
  liddellag
6 posts
No Ranking


Re: GetPerson(PersonParams personParams); 

The problem is that dev.usys.org does not return parents as a relationship.

Regards;

 
New Post 2/24/2009 2:00 AM
  nGenesis
11 posts
No Ranking


Re: GetPerson(PersonParams personParams); 

It depends on the view.  By default, the view returned is the "assertions" view.  But I believe it is the Summary view that gives you the lineage relationships.

try adding:   personParams.View = PersonView.Summary;

and then access:   myPerson.Summary.ParentsInfo.Parents

 
New Post 2/24/2009 9:40 AM
  liddellag
6 posts
No Ranking


Re: GetPerson(PersonParams personParams); 

But, then, how do you capture all the asserted parent relationships?

 
Previous Previous
 
Next Next
  FSAPI.Net Forum  Discussions  Issues  GetPerson(PersonParams personParams);
 
 
 
MinimizeRelated Sites
 
   
The Official FamilySearch Site

The Official FamilySearch Site

FamilySearch DevNet
(For Developers)
 
 

Terms Of Use  |  Privacy Statement  

 Copyright 2008 nGenesis, LLC. All Rights Reservered.