• MikeMike
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 4
    Replies
We presently have a Custom Button on our ASSET record that goes to a URL located on our intranet and runs an EXE to derive a field that is then put back into the ASSET record.
 
I'm trying to make that button conditional, in that criteria need to be met in order for the link to the URL to happen.  The linked-to EXE displays it's results in a separate window.  I created a '.TXT' file that has a "Sorry, you cannot......." message and wanted to display that in a pop-up window.
 
I changed the content_Source of the Custom Button from 'URL' to 'On-Click JAVA Script' and coded the script that appears below.
 
What am I doing wrong?  Running (or trying to run) this, it gives me a vague message, something about mixing scripts.
 
Please help me.  Thanks in advance,
 
Mike
 
LabelConditional NA Licensing  
S-Control NameConditional_NA_Licensing  
DescriptionTest to determine if a license exists. If not, create, else block
TypeURL  
EncodingUnicode (UTF-8)  
HTML Body

<script type="text/javascript">
//determine if a license key already exists

if ('{!Asset.Station_License_Key__c}'=='')

// go to one URL
{
location.replace('http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}');
}
else
// go to the other URL
{
location.replace('http://zugiis01/_index.php3?path=/MR_test');
}
</script>

We presently have a Custom Button on our ASSET record that goes to a URL located on our intranet and runs an EXE to derive a field that is then put back into the ASSET record.
 
I'm trying to make that button conditional, in that criteria need to be met in order for the link to the URL to happen.  The linked-to EXE displays it's results in a separate window.  I created a '.TXT' file that has a "Sorry, you cannot......." message and wanted to display that in a pop-up window.
 
I changed the content_Source of the Custom Button from 'URL' to 'On-Click JAVA Script' and coded the script that appears below.
 
What am I doing wrong?  Running (or trying to run) this, it gives me a vague message, something about mixing scripts.
 
Please help me.  Thanks in advance,
 
Mike
 
LabelConditional NA Licensing  
S-Control NameConditional_NA_Licensing  
DescriptionTest to determine if a license exists. If not, create, else block
TypeURL  
EncodingUnicode (UTF-8)  
HTML Body

<script type="text/javascript">
//determine if a license key already exists

if ('{!Asset.Station_License_Key__c}'=='')

// go to one URL
{
location.replace('http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}');
}
else
// go to the other URL
{
location.replace('http://zugiis01/_index.php3?path=/MR_test');
}
</script>

 

 

Here's my situation, I have a Custom button that points to and runs an executable and returns a value in a separate window.  It currently is listed as Content Source: URL a lists a single URL.
 
I need to make the process conditional.  I would like to test whether a field is populated.  If it is not, the existing URL process is valid.  I created a URL pointing to '.txt' file with an Error Message and would like to display message if the field to be tested has a value. 
 
 
I changed the Content Source of the button from URL to OnClick JavaScript.   After several attempts, here's what I have:
 
<script type="text/javascript">
//determine if a license key already exists
IF ISNULL( Asset.Station_License_Key__c )
// NO - go ahead and create one
{
"http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}"
}
ELSE
// ALREADY EXISTS - display "no-go" message
{
"http://zugiis01/_index.php3?path=/MR_test"
}
</script>
 
This gives me a vague message, something about mixing scripts.
 
Please help.  Thanks in advance,
 
I'm at my wit's end.  Here's my situation, I have a Custom button that runs an executable and returns a value in a separate window.  I need to make this conditional.  I created a '.txt' file with an Error Message and would like to display this file if the condition is not met.  After several attempts, here's what I have:
<script type="text/javascript">
//determine if a license key already exists
IF ISNULL( Asset.Station_License_Key__c )
// NO - go ahead and create one
{
"http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}"
}
ELSE
// ALREADY EXISTS - display "no-go" message
{
"http://zugiis01/_index.php3?path=/MR_test"
}
</script>
 
This gives me a vague message, something about mixing scripts.
 
Please help me.  Thanks in advance,
 
Mike
I have 2 record types (ASSET and OPPORTUNITY) that are related. 

Each has a data element called Related "X" (where "X" is the other record type name). 

Is the connector able to see this field? 

It does not display when the list of fields of the record is presented for extraction purposes (Step 2 of 3 in the Table Query Wizard).
I created new Related List elements on two record types.  I can see these elements when attempting to create a SF report.  I CANNOT, however, see them when I attempt to use the Connector.  Am I doing something wrong?
I have a spreadsheet, extracted from SalesForce (by way of Crystal reports) that includes SalesForce keys.  Can the connector apply updates to one or more data elements from this spreadsheet?  If so, how?

Thanks in advance,
Mike
 
Help (please)!
 
My Excel connector stopped working yesterday, and, after re-doing the download and unzip functions, I am left with this message.  What can I do next?
 
Thanks in advance
My Excel connector stopped working yesterday.  I tried clearing out the references in Excel, and re-did the download and UnZip.  The message I receive is shown above.  I am running Enterprise edition and the correct version of SalesForce for Outlook (3.0).
 
Please help!
We presently have a Custom Button on our ASSET record that goes to a URL located on our intranet and runs an EXE to derive a field that is then put back into the ASSET record.
 
I'm trying to make that button conditional, in that criteria need to be met in order for the link to the URL to happen.  The linked-to EXE displays it's results in a separate window.  I created a '.TXT' file that has a "Sorry, you cannot......." message and wanted to display that in a pop-up window.
 
I changed the content_Source of the Custom Button from 'URL' to 'On-Click JAVA Script' and coded the script that appears below.
 
What am I doing wrong?  Running (or trying to run) this, it gives me a vague message, something about mixing scripts.
 
Please help me.  Thanks in advance,
 
Mike
 
LabelConditional NA Licensing  
S-Control NameConditional_NA_Licensing  
DescriptionTest to determine if a license exists. If not, create, else block
TypeURL  
EncodingUnicode (UTF-8)  
HTML Body

<script type="text/javascript">
//determine if a license key already exists

if ('{!Asset.Station_License_Key__c}'=='')

// go to one URL
{
location.replace('http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}');
}
else
// go to the other URL
{
location.replace('http://zugiis01/_index.php3?path=/MR_test');
}
</script>

Here's my situation, I have a Custom button that points to and runs an executable and returns a value in a separate window.  It currently is listed as Content Source: URL a lists a single URL.
 
I need to make the process conditional.  I would like to test whether a field is populated.  If it is not, the existing URL process is valid.  I created a URL pointing to '.txt' file with an Error Message and would like to display message if the field to be tested has a value. 
 
 
I changed the Content Source of the button from URL to OnClick JavaScript.   After several attempts, here's what I have:
 
<script type="text/javascript">
//determine if a license key already exists
IF ISNULL( Asset.Station_License_Key__c )
// NO - go ahead and create one
{
"http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}"
}
ELSE
// ALREADY EXISTS - display "no-go" message
{
"http://zugiis01/_index.php3?path=/MR_test"
}
</script>
 
This gives me a vague message, something about mixing scripts.
 
Please help.  Thanks in advance,
 
I'm at my wit's end.  Here's my situation, I have a Custom button that runs an executable and returns a value in a separate window.  I need to make this conditional.  I created a '.txt' file with an Error Message and would like to display this file if the condition is not met.  After several attempts, here's what I have:
<script type="text/javascript">
//determine if a license key already exists
IF ISNULL( Asset.Station_License_Key__c )
// NO - go ahead and create one
{
"http://zugiis01/LicenseEXE/lgen.dll?ID={!Asset.Id}&USER={!User.Email}"
}
ELSE
// ALREADY EXISTS - display "no-go" message
{
"http://zugiis01/_index.php3?path=/MR_test"
}
</script>
 
This gives me a vague message, something about mixing scripts.
 
Please help me.  Thanks in advance,
 
Mike
I had reinstalled sforce and found the problem that it was looking at the old spot where sforce connector was located. It irked me that the fix for the problem was inadequate. Here's the steps that worked for me.

1. Open up excel
2. RIGHT click the area where the sforce connector button would usually lie.
    A dropdown menu should appear with the last option being "Customize"
3. Click on "Customize"
4. The Customize window should appear. Scroll down to the bottom until you see sforce Connector.
5. LEFT click to highlight the sforce Connector, and click delete.
6. When it asks if you are sure you want to delete it, click Yes.
7. Click Close
8. You are back to where you started. Click Tools
9. Click Add-Ins
10.  Click browse and select the sforce_connect_for_.xla
11. It will say the file already appears, do you want to replace? Click yes.

Finally!
If you don't see the sforce connector button, Right click the area where the sforce connect button would usually lie, and make sure there's a checkmark next to the sforce Connector in the drop down menu (where you saw Customize before)

That should work.