Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, September 28, 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!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Missing Templates
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jan 07 10:10 AM
fiogf49gjkf0d
I have an install of the web client that is missing several templates. I just tried to schedule an activity and get 'The Template AddActivity cannot be found'. In a similar case, when I try to Create a New Unscheduled Activity to Complete I get 'The template actcomp' cannot be found.

Indeed these are not in my v7 install - nor in a 6.2 install I have on another machine.. did I miss a bundle or something? How could I recover these? Thanks
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jan 07 10:34 AM
fiogf49gjkf0d
Steve,

I'm looking at my 6.2.3 install and don't have an AddActivity or actcomp template either, but I *can* complete an unscheduled activity. What bundles do you have installed? I have:

SalesLogix Advanced 6.2.0
SalesLogix Advanced 6.2.3 (both advanced include some web items, but it's only the bundle "SalesProcess", the templates should be included in the "base" package).
SalesLogix v6.2 Service Pack 3
SalesLogix Web
SalesLogix Web Customer Portal
SalesLogix Web Customer Portal v6.2 Service Pack 3
SalesLogix Web v6.2 Service Pack 3

Is this an upgraded installation or is it a new one? Sort of a strange error - the install is an out of the box 6.2.3.

Jeff
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jan 07 1:09 PM
fiogf49gjkf0d
This is an upgraded system from 6.2.3. I have about 40 bundles installed, don't have time to check em all right now. But I am thinking I may have missed a few web bundles when I ran my test upgrade. Client is now on v7, but not live on web yet.

I will check the bundles I didn't install and post results. I guess the strange this is that I have their system running 6.2 on another server with the same results.. thanks
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jan 07 1:40 PM
fiogf49gjkf0d
Steve,

This sounds really familiar to me - I upgraded a customer almost a year ago from 6.2 to 6.2.3 and I can't help but think that it rings a bell. I'm going to guess that I just figured out where it was looking for the specified template(s) and fixed it myself so it would work as expected/required.

It wouldn't be the first defect I've had to go in and fix myself. Often times its just easier and I've already got the templates customized, anyway, so I didn't wait for the fix.

Jeff
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jan 07 10:03 AM
fiogf49gjkf0d
Ok, I found the html files, java and vbscripts and actions. I created the addactivity template as a mainview pointing to the activity table, pointed it to the existing html file and it works fine.

Tried the same thing with actcomp template but am receiving an error that 'Saleslogix has detected an error condition' when trying to complete an unsched. activity. My favorite error message.. oy!

Is this template (actcomp) supposed to be configured as a mainview with activity as the main table? I tried that, also setting history as the main table and also setting it as a query. All give the same error.

Any advice appreciated. Thanks
Steve

[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jan 07 11:57 AM
fiogf49gjkf0d
Steve,

Is there anything (an error, specifically) in the event viewer that shows up after you received the "SalesLogix has detected an error condition" message? That might give a better idea.

I don't have a template called "actcomp". I have actcompemailmm, actcompmeet, actcompmm, actcompperson, actcompphone, and actcomptodo. For an unscheduled activity, if you select Phone Call, the next template called should be actcompphone, a meeting should call actcompmeet, and a to-do should be called actcomptodo.

When you select "Schedule-->Complete an Activity", on that template if you view source, does the first line show the template name as "cua1a"? There should be a function called uschedGetNext that sets the next page based on the radio button selected.

Jeff
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jan 07 12:53 PM
fiogf49gjkf0d
Event viewer - I do get a warning message and an error message when actcomp(which I created) is active. When I deactivate it, I get the original error "The template 'actcomp' not found" and not errors in event viewer.
Here is the error and warning from event viewer - but I am thinking I caused these with by createding a template that may not need to exist:

Message before warning:
Server : SalesLogix
Thread ID: 3016 User: ADMIN
IP: 10.200.200.143 Template: actcomp
ID:
ID2:

Warning Message:
Invalid type specified for #INCLUDE tag

then three more non error entries, then the error:
Error processing HTML template Server : SalesLogix
Thread ID: 3016 User: ADMIN
IP: 10.200.200.143 actcomp
Rendering Stage: Tag Pass
Tag Handler: TSWQueryTag (actcurmembernames)
Query: actcurmembernames not found.

-------------------------------------------------------------------
As for viewing source, the first line of the template is cua1a. The function is there, but most of it commented out.. very strange. There is also a hidden field: <input type="hidden" name="nextpage" value="actcomp" />

This is what the funtion looks like out of the box:
function unschedGetNext() {
// var typeindx = "";
parent.searchtype.location.href = "<#SYS name=swcpath>/view?name=blank";
document.mainform.schedunsched[0].checked = "TRUE";
toggleContinueBtn();

// for (var i = 0; i < document.mainform.histtypeid.length; i++) {
// if (document.mainform.histtypeid[i].checked == true) {
// typeindx = i;
// }
// }
// switch (typeindx) {
// case 0:
// document.mainform.nextpage.value = "actcompphone";
// break;
// case 1:
// document.mainform.nextpage.value = "actcompmeet";
// break;
// case 2:
// document.mainform.nextpage.value = "actcomptodo";
// break;
// }
}

and here is the form action - oob comments included:


<form name="mainform" method="POST" target="main_content" action="<#SYS name=swcpath>/sessionstart?actiontype=Unsched">

I have not modified this template at all..

[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Missing TemplatesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Jan 07 2:01 PM
fiogf49gjkf0d
Steve,

I haven't actually installed v7.0 yet, and I don't have the time right now, but I have a few ideas. You mentioned that you're upgrading a database and you mentioned a 7.0 install. Is that 7.0 a clean install? If so, does it have the same problem? If yes, then maybe a call to tech support (if you haven't already) to see if it's a defect would help. Perhaps they'll have a fix.

If you look at the template cua1a in web manager (i.e., not processed by the DLL), what is the value of the hidden text box "nextpage" you mentioned? Is it hard-coded to "actcomp"? If it's not, how is it populated - via an <#AF> or something else? If it is hard-coded, is there any other javascript that sets the value of that control to a different value? (I see the code you posted from function unschedGetNext is commented out where it sets the value.) If not, then that's the problem - "nextpage" is a special value to the web DLL that tells it what page it's supposed retrieve next when the form's posted. If nothing else on the page is setting that value, then it will always look for "actcomp", which doesn't exist.

So, double check if the value of the hidden text box is hard-coded and if not, find where it does come from. If hard-coded, does anything else (JavaScript wise) set the value of the hidden nextpage control before the form is submitted? If not, then that's the issue, and I'd say that the commented out code in function unschedGetNext probably needs to be uncommented.

Jeff
[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): 9/28/2024 6:31:41 PM