Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, April 29, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Reporting & Notification Forums - Reporting
Forum to discuss reports for SalesLogix including Crystal, SQL Reports, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Reporting | New ThreadView:  Search:  
 Author  Thread: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1
SLX_Novice
Posts: 246
 
Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Aug 09 7:48 AM
Hi all.



Is there a way to access a SalesLogix account from Crystal Reports?


The end user would click or do something in Crystal Reports that would open the account in SalesLogix.

Thank you in advance!



[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 2:32 PM
You can create a hyperlink in Crystal that will take you to an account or contact. You will need to know the account or contact ID. The structure of the hyperlink is as follows

slx:account/accountid

or

slx:contact/contactid

John G.
[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 3:47 PM
Thanks for the reply John.

But there are different hyperlink options (Crystal Reports PRO XI):

1. A Website on the Internet
2. Current Website Field Value
3. An Email Address
4. A File
5. Current Email Field Value

OR

DHTML Viewer Only: Another Report Object

Which option would I choose?

Also, I open the report from a datagrid with the following code:

Application.GLOBALINFO.ADD "D_Number_Accounts", Datagrid1.GetCurrentField("D_Number")
Application.BasicFunctions.DoInvoke "CrystalReportPreview", "ACCOUNT:Sales_Detail_Report"

Will the fact that I state: "CrystalReportPreview" affect the ability to select a hyperlink?


[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 4:06 PM
I would choose the 1st option you listed. Just make sure it doesn't automatically add http to the beginning. The URL has to be

slx:account\accountid

I wouldn't use the above as what displays on the report. Use the actual account name and make the CR field a hyperlink
[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 4:14 PM
Ok.

I chose the first option: A Website on the Internet and I made sure the address was: slx:account/accountid

But when I right click a row on my datagrid and select the report and open the report and try to click the field a magnifying glass appears (instead of the hand with the index finger pointing) and does not allow me to click the field to take me to the account in SalesLogix.

I then put slx:account/accountid in quotes: "slx:account/accountid" and now I get to click on the field, but when I do that SalesLogix gives me the following error: "You do not have access to this Account." and when I close the report the account detail section is blank.
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 4:47 PM
No. the "accountid" is the actual account ID that is found on the Account Details tab. You have to include this field in the recordset - e.g. SELECT accountid, account FROM account

Once you know this replace the "accountid" with the actual accountid. You'll end with something that looks like this

slx:account/UX2SA01B0001

it might be better to build the URL in the SQL statement

SELECT 'slx:account/' + accountid AS accounturl, accountname FROM account

Then all you have to do is use the accounturl for the report field hyperlink value

John G.
[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 9:14 PM
It finally works!

I did it a little different:

1. I decided to use the account name field in my crystal report as the hyperlink
2. I right clicked the field and chose "Format Field"
3. I went to the last tab "Hyperlink"
4. I selected: A Website on the Internet
5. Instead of typing something in the textbox provided in the Hyperlink information I pressed "Format Formula Editor" button
6. I typed the following in the formula editor: Chr(34) & "slx:account/" + {ACCOUNT.ACCOUNTID}& Chr(34)

And that's it!

Now when I view the crystal report, when I click the account name it goes to the account's detail IN THE BACKGROUND, because the crystal report stays open and the only way I can see the account detail is to actually close the crystal report.

Thanks for all your help and patience John!
But that's ok for now.

[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Aug 09 9:39 PM
You don't have to close the report. You can minimize the report or just move it off screen to look at the account info.
[Reply][Quote]
Renee Bender
Posts: 74
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Aug 09 10:29 AM
Wow! I am trying to do this exact same thing. I followed the exact steps above but when I click on the account I am getting the following error:

Unablve to open hyperlink:

There is no application associated with the given filename extension.

Any idea what I am doing wrong? I am currently on saleslogix 6.2.6.
Thanks,
Renee
[Reply][Quote]
Josh
Posts: 6
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Dec 09 2:06 PM
I have an interesting problem along these same lines:

I have a crystal report that I have created using Crystal Reports 10, and in this report I have links to SLX Accounts. The links work just fine when the report is previewed in Crystal Reports, but when I try to launch the report from SLX (7.5) the links stop functioning.

Is there something I have to set in Crystal Reports for the link to function correctly when the report is launched from SLX? Or something I should change in SLX?

Any ideas would be greatly appreciated!

Thanks,

Josh
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Dec 09 12:31 PM
You should be using Crstal XIR2 SP3 with 7.5 - not sure whether that will fix your issue, but it would be better to use the version which SLX expects.
[Reply][Quote]
Jose Urena
Posts: 92
 
Re: Access SalesLogix account from Crystal Reports - SLX LAN v7.2.1Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Mar 10 10:17 AM
If you are doing this from LAN, Ryan made a great article abount creating a SLX Hyperlink Class and handle it. Search the articles.

I have done this multiple times in several clients.

If you are doing this from WEB, it's easier because you only need to copy the hyperlink from the Entity Group Viewer you need.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/29/2024 7:11:26 PM