• paul-lmi
  • SMARTIE
  • 1567 Points
  • Member since 2007

  • Chatter
    Feed
  • 59
    Best Answers
  • 4
    Likes Received
  • 0
    Likes Given
  • 169
    Questions
  • 722
    Replies

Doing a project for a customer, and they have a login-enabled site.  We're trying to use the Public Knowledge Base AppExchange package with this site, but the CSS keeps having issues.  In doing some research and reviewing the generated HTML for the pages, it's apparent that the Site is including the following snippet in every page if the site is login-enabled.  This is not including the fact that the user is still anonymous when browsing as well (the anonymous users are being forced to inherit this CSS as well).

 

<link class="user" href="/sCSS/23.0/1320195876000/PortalDefault/default/gc/elements.css" rel="stylesheet" type="text/css" />

<link class="user" href="/sCSS/23.0/1320195876000/PortalDefault/default/gc/common.css" rel="stylesheet" type="text/css" />

<link class="user" href="/sCSS/23.0/1320195879000/PortalDefault/gc/dStandard.css" rel="stylesheet" type="text/css" />

<link class="user" href="/sCSS/23.0/1320195879000/PortalDefault/00DV00000000Uh4/00530000004j8Yx/gc/dCustom0.css" rel="stylesheet" type="text/css" />

<link class="user" href="/sCSS/23.0/1320195876000/PortalDefault/default/gc/extended.css" rel="stylesheet" type="text/css" />

<link class="user" href="/sCSS/23.0/1320352245000/PortalDefault/00DV00000000Uh4/060V0000000D0Ua/gc/portal.css" rel="stylesheet" type="text/css" />

<link class="user" href="/sCSS/23.0/1320195876000/PortalDefault/default/gc/setup.css" rel="stylesheet" type="text/css" />

 

How do I make it so that this is not happening?  We include these attributes in all the VF pages and templates for the Site:

  • showHeader="false"
  • sidebar="false"
  • standardStyleSheets="false"

 

But it doesn't seem to respect that if the site is login-enabled.  When I disable the login functionality for the site, teh CSS fo rthe portal is not included, but other standard CSS is.

 

Has anyone run into this with Sites, and if so, how do you overcome it?

 

 

Hi,

 

We have a requirement to send attachments to a FTP server from our Prod org. I was reading about many app exchange apps like FTP attachments. As I understand, it can be used to attach files and store it on our storage server. But our requirement is send existing attachments to our FTP server. We want to have this process scheduled too like every 5 mins.

 

Please help me if we have any app which can do it or Can I do any customization in our org to achieve this. For example, we have HTTP commands in salesforce, on the similar lines Do we have for FTP?

 

thanks!

I am facing this issue these day and I also got the idea from community to solve it, but still I am not very much clear with the solution.


My scenerio is :

List<Lead> listLead = [Select Id from lead where Name IN : setNames];


and I am getting exception :

"System.QueryException: Non-selective query against large object type".

 

Now the solution says :

1. it's best to try to have that field indexed by checking the "external ID" checkbox when you define that field.

 Question:  In my scenerio we are quering the data using the native Name field, Can this field be marked as "External Id" ?

 

2filter out nulls in your Apex query. 

Question: Name field can not be null for lead, then how this statement can be meaningful? 

Please suggest.


Regards,

Bhawani

Hi everyone,

 

I'll use the HTTP Request object to POST data to an HTTPS endpoint.

Please let me know if you have some important points.

 

Thanks,

Seiji

We have a requirement where we want to translate our VF pages into different languages depending on the locale of the browser. I have looked into custom lables but it looks like it would be too tedious to create a label for the many different languages we want to provide support for. We also want to translate picklist values. Is there a resource bundle equivalent in salesforce like we have in Java?

 

In addition to this we also want to have mini flag icons, clicking which would cause the pages to be rendered in the respective language represenetd by that flag when clicked. 

 

Can someone direct me to some resources where I can learn how to implement this?

We are using Google Analytics in one of our Sties.  We've added the google analytics standard component tag to the bottom of each of our VF pages:

 

<site:googleAnalyticsTracking />

 

We are trying to get a more granular level of analytics tracking for some search result links. We have a datatable that iterates over a returned list of search results.  Within each result we have a couple of links we'd like to track.  Is it possible to use the javascript _gaq.push() method to capture data on when these links are clicked and pass the appropriate information into Google Analytics?  Can you use merge field syntax to pass the data into the method?

 

<apex:outputLink value="http://{!cont.Website__c}" onClick="_gaq.push(['_trackEvent', 'Category', 'Action', 'Label']);">

 

How would you use merge field syntax to pass in the appropriate data?

 

Has anyone done this?  Is it possible?

 

Thanks for any help.

Our salesforce is enterprise edition and my account's profile is system admin. I go to system write trigger & class everyday.

 

When I login system today, I cannot find 'create' & 'edit' button in the trigger page (also class page)!

 

It's so strange! What can I do to solve the problem??

HI,

 

I have a trigger present in my developer org. The trigger is on Lead and i have a custom field which i am using in that trigger.I want to deploy this trigger to my clients org. But it happens to be Professional Edition. So when i try to deploy the trigger from eclipse it gives me an eror saying - "This Organization requires Metadata API enabled."  Also when i packaged the trigger and tried to install that package, it gave me an error saying "Missing feature Apex Triggers Installing this package requires the following feature and its associated permissions: Apex Triggers" So i dont know how i shall move ahead now. What are the options by which i can achieve this?

 

Also let me know, what are the steps to enable the Metadata API and if i get the API enabled will i be able to deploy the trigger ? I have read that adding triggers/classes to proffessional edition requires you to create a "Managed Package" and also get it certified from salesforce. Is this the only option available? Because its quite funny that i have a trigger that was written in 2-3 hours but to add it into proffessional edition requires you to take so many steps and spend days. My client wont pay me for this delay . 

 

Thanks

SAAS INDIA

Hello Community!

 

I got a problem that I can't solve! I created a VisualForce-Page that shall be used as a Dashboard element. I integrated a selectList including a controller and a google viz piechart.

The idea was, when the user clicks an item in the list, that the piechart is being rerendere and therefore up-to-date. But it does NOT work. I don't know why, no errors, Firebug says I get a response which is actually exactly that what I wanted. ONLY the piechart doesnot rerender, at least not properly. This means after selecting an random item the outputpanel with the piechart disappears and never returns.

 

Anybody knows where my problem could be?

 

Thanks a lot, here's my code:

 

 

<apex:page controller="S2X_vfDashboard" >
	<apex:pageBlock id="projectprogress">
		<apex:form >
			<apex:selectList value="{!ProjectId}" multiselect="false" size="2">
			<apex:actionSupport event="onclick" action="{!getProjectProgress}" rerender="piechart" />
				<apex:selectOptions value="{!ProjectOptions}" />
			</apex:selectList>
		
		</apex:form>
		<apex:outputPanel id="piechart">
			<c:PieChart jsondata="{!ProjectProgressJson}" title="Project Progress"/>
	    </apex:outputPanel>
    </apex:pageBlock>

</apex:page>

 

 

1) Can i run my php script in force.com domain(Developer Edition).....is it possible...

 

 

2) If I cannot use Php in domain, Which language I can use for Scripting...........

 

 

Actually, I want to create a Field in an Object. That Field should be updated with new message ,whenever the new message updated in my Domain.(Developer Edition domain).

Also the old messages of the Filed should be stored in Force.com database.

 

 

How to do this....Please give any idea, suggestions,links......

I would like to make content workspace files available on a force.com site page ( for un-authenticated user). Is this possible ?

 

If the answer is yes, then where and how do I set content workspace permission for un-authenticated user. In the workspace permission menu, I do not see an option to include unauthenticated user for view permission.

I do not want to use cutomer portal or  partner portal for this purpose. Thanks !

is there cany way we can move Case Email Attachments to Case instaead of the Email via any Trigger?

 

I know when a Case Email is sent, it gets logged into EmailMessage, but my trigger on EmailMessage returns no Attachments, and my trigger on Attachment object does not fire at all, as if when Email attchments are inserted into Attachment it never triggers the attachment trigger.

 

Can anyone help me ... plz.

Can we delete apex class from Production environment?

 

i know we can disable but looking to delete them

Hi Everyone,

 

I am trying to consume some apis in salesforce thier authentication approach is as follows -

 

When we send an HTTP login request to the given endpoint with the usename and password header following items are expected to return -
1. A session cookie, jsessionid. The client must use this cookie when submitting subsequent requests, including logoff requests.
2. A status code of 200, if the session does not encounter any errors. This indicates that the request succeeded.

 

The problem is that when I tried this api call using Apex callout, it returned status code of 200 but no cookie with the name 'jsessionid' is created. However i tried this API call using XMLHttpRequest object it works fine.

 

Please let me know if somebody knows the issue.

 

 

Thanks,

Lakhan

What is site force.....My point of view Site force is Creating sites through  Force.com Developer Edition>setup>Develop>sites>create domain name>create site....

is it correct ???

 

Then what is the difference between ISV force and AppExchange???

 

I am newbie to cloud....I have lot of confusions....If i ask in Discussion boards..here also no proper reply.....

 

Please  reply me....

We have a site that was recently launched into production. Over the past 2 days, Salesforce has reported 20K, 70Kfor 1/26 and 1/27. We use Google Analytics on every page on the site to track this as well. Google reports 21K and 20K for 1/26 and 1/27. What is the deal with the double/triple counting page views, and how do we stop it? Since the only thing in Sites you pay extra/add-on for is page views, this is a pretty large concern to us. I'm opening a support ticket too, but I figured I'd throw this in the open to see if anyone else has found similar.

We're building a custom integration with SF Knowledge where we need to use some, but not all of the Case functionality.  We like the Attach to Case stuff, but we don't like the Email as PDF stuff, so my plan was to upsert a solution for each Knowledge Article, and then insert an entry into the CaseSolution object for each one, so we could use the existing solutions merge field for the email templates (and also not have to update a couple dozen email templates while we're at it).

 

I don't see any accessible metadata in regards to querying, or even better, triggering on article attachment to Case.  Is there a way to get this info as of the Summer '10 release, or are we stuck in having to essentially build out an end to end custom solution for this type of integration?  I don't like going custom when it comes to page layouts, because Visualforce on a standard page layout is an ugly iframe implementation, which limits the functionality I can put in due to vertical space constraints (and my not wanting to waste vertical space).

 

Any insight would be appreciated.

I'm noticing issues with the new plugin related to syntax highlighting when editing VisualForce .page files. It intermittently stops highlight part of the text in the document. I haven't found a pattern when it occurs. 

 

It is also rendering squiggly yellow lines under my <apex:page> tag, and my first  <script> tag. Any ideas why? These are the first 2  items in my page.

 

<apex:page standardController="SR__c" 
	extensions="HSRControllerExtension" 
	showHeader="true" 
	sidebar="true" 
	tabStyle="SRt__c" 
	title="Entry Page" >
  
  <script type="text/javascript" src="{!URLFOR($Resource.jQuery142, 'js/jquery-1.4.2.min.js')}" />

 

 

Thanks,

 

Rich C.