Trying to fetch the user information using In-process API. The APIs not returning the user "join date" and "last visited date".
Is any configuration to access those fields in API?
Thanks
Vignesh D
Trying to fetch the user information using In-process API. The APIs not returning the user "join date" and "last visited date".
Is any configuration to access those fields in API?
Thanks
Vignesh D
Which version of Community are you using?
How was this user created? Have they actually logged in to the site?
Hi Steven, We are using Community 11.1.
User created from administration -> Membership area.
Yes, few user logged in. But even join date also null.
Steven, This is the values are receiving from the in-process Api.
Are there any exceptions in the log at Administration > Monitoring > Exceptions?
What context are you calling that code in? Is that an external application, a custom plugin?
For the record... if a user has "Never visited" listed, their LastVisitedDate is expected to be null. But of course there are still the other issues you are experiencing.
There is no exception logged.
Creating custom API for external application. Here i am just trying to overriding the page size.
It's not returning values for profile fields too.
But while I am accessing through REST API. It's working fine.
Just to confirm, the values don't appear when accessing them directly via code either? (ie, not just inspecting them in debugger, but for instance iterating users and writing the fields to a page response or event log)
Steven, It's not displaying in the page response also in the event log too.
While hitting In-process API there is no request to go to the SQL server. I used SQL profiler and checked the transaction. But there is no request pass to the SQL server. How is the in-process API working? Is it bringing data from catch or any NoSQL?
API calls do implement caching, so if the same request is made and no data has changed, the database will not be hit. This should be true for any combination of in-process, Rest, or both APIs being called, assuming exact same options/parameters.
Does an in-process userApi.Get call with the ids returned in the list provide the missing fields?
Even get also returning null value for those fields.
Even it's not returning values for lots of other fields. I think may be it's mapper issue.
It's strange while I hitting REST API it's returning values.
Can you export your diagnostics from Administration > About > Download Diagnostics and post here?
Can you export your diagnostics from Administration > About > Download Diagnostics and post here?