• gemziebethap
  • NEWBIE
  • 5 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hi,

 

    our organization needs to display a list of related content for a product on a product page,

    we know there's a related content relationship in product objects where we can attach content

    manually, but there's no relationship exposed for this related list for us to pull the list whenever we

    want.

 

    does anyone have any idea how we might achieve the goal? so far we know custom coding is

    required, but we would like to confirm and see if there are other possible solutions. 

 

 thanks 

I'm having some difficulty finding the API capability that allows me to associate uploaded Content (inserted into ContentVersion) with any Custom Object without using the front end.  What object(s) store the relationship from any object to associated 'RelatedContent'?
  • November 24, 2009
  • Like
  • 0
Hi there,

I would like "Ready to Convert" checkbox to be checked when a user clicks on CONVERT on Leads. Here is my code:-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="/js/functions.js"></script>
<script src="/soap/ajax/12.0/connection.js"></script>


</script>
</head>

<script type="text/javascript">

function btnConvert_Click() {
// First we will make a reference to the CheckBox which is on the LEAD object.
// this is the second choice var chkReady = parent.document.getElementById("chkReady");

var chkReady = parent.document.getElementsByName("Ready_To_Convert__c");

// check if chkReady exists when this function is called.
if (chkReady != null) {
chkReady.checked = true; // check the checkbox.
}
}


<body onLoad="btnConvert_Click();"></body>
</html>

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

It gives me this error:-

btnConvert_Click is not defined