Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8892561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:01:52+00:00 2026-06-14T23:01:52+00:00

I have the id for a contact record but I need to know if

  • 0

I have the id for a contact record but I need to know if there are any active incidents for that contact.

Retrieving a contact I can do with no probs, but I don’t know how to retrieve related records.

Does anyone have a code snippet to do this? I think I really just need the line that makes the call!

Thanks for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:01:54+00:00Added an answer on June 14, 2026 at 11:01 pm

    If you already get contact, use the same way to find incidents. Instead of ContactSet you will need IncidentSet. In filter expression put condition that CustomerId/Id eq guid'” + yourContactId + “‘ and StateCode eq ‘0’ (for active cases).

    Hope it helps!

    PS I suppose that you are using oData, question has javascript tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a contact page (contact.php) that sends a form (formsend.php) when people fill
I have a contact form on my website so users can send me an
I have a contact picker list with chckboxes of the contacts that have a
I have a contact us form that uses Ajax (i.e. relies on asynchronous requests).
I have a Contact entity that exposes a navigation proeprty for child Phone entities.
I have been reading about Active Record Associations on RailGuides and I have found
I have the need to identify records in my database that contain a phone
I am trying to get all contacts that have a phone number, and record
Here is an example to explain what I need: I have 3 tables: contact:
I have a JSON packet that is not just 'data' - there is some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.