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 8695945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:09:44+00:00 2026-06-13T01:09:44+00:00

I am quite sure that this is somehow a basic/stupid question but I just

  • 0

I am quite sure that this is somehow a basic/stupid question but I just don’t find the answer.

How do I insert a new record to an entity using Javascript (which is called on an onChange event)?

My aim is to insert 4 values read from an incident-form to a custom entity called statuslog.

It’s easy enough to read the four fields.

// Statuscode: "1st Level Support"
var statuscodeTextValue = getPicklistValueText("statuscode");

// Incidentid: "AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEEE"
var incidentid = getGUIDOfCurrentRecord();

// Ownerid: "AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEEF"
var ownerid = getGUID("ownerid");

//timestamp is "Fri Oct 12 16:50:34 UTC +0200 2012"
var timestamp = new Date();

But what do I have to do next? A specific code example would be very much appreciated. 🙂

  • 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-13T01:09:46+00:00Added an answer on June 13, 2026 at 1:09 am

    By far the best example I have seen of this is on Gareth Tucker’s excellent blog. In this post he creates a new Contact based on fields filled in on a phone call record. All code supplied, so you should be able to adapt to your custom entity and fields instead.

    http://garethtuckercrm.com/2011/08/23/quick-create-contact-from-the-phone-call-form/

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

Sidebar

Related Questions

I'm not quite sure how this happened, but somehow a completely empty hierarchy of
First off, an apology as I am sure this is question's answer is quite
This method that draws my tiles seems to be quite slow, Im not sure
Not quite sure how to word this question. I am wondering if there is
I'm not quite sure stackoverflow is a place for such a general question, but
I'm not entirely sure how I got to this situation but somehow I'm getting
This sounds like a trivial question, but it's proved quite hard to google anything
I'm pretty sure that this has to do with my setup but let me
I'm not all that familiar with jquery so I'm not quite sure how to
Possible Duplicate: Making a generic property I'm not quite sure how to do that,

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.