• JohnOrdovas
  • 5 Points
  • Member since 2013

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 2

I am trying to display a Sharepoint site using a Visualforce tab, and <apex:iframe>


However, the site will not show, because sharepoint blocks pages within frames (clickjacking protection). There is a work around, and that is by introducing an element <WebPartPages:AllowFraming runat="server" />


I am very new to Visualforce, and I can't work out how to introduce this element into my page, which will tell Sharepoint to display the site.


Can anybody help me?



Hi all,


I am trying to make a field which displays this:


48 x 180 (8,640)


But I'm getting this (no separators):


48 x 180 (8640)


Here's the code I'm using:


TEXT(Lot__r.Unit_Count__c) & " x " & TEXT(Lot__r.kg_unit__c) &" (" & TEXT((Lot__r.Unit_Count__c * Lot__r.kg_unit__c)) & ")"


Is there a simple way to insert comma separators in TEXT numbers - or perhaps a better way to do this? I am stumped and think the only way must be to write some combination of RIGHT and TRIM statements - or something else? This must have come up before, right?


It's easy in APEX:


<apex:outputText value="{0, number, ###,###,###,###}"><apex:param value="{!Quote.Total_Price__c}"/></apex:outputText>


...but does not work in formula fields.


What am I missing? Thanks much for any help.







I see that SF auto update the close date every time I change(not rename) the account of opportunity, why?? Does it normal for SF ?


For example:

I have opportunity with:

won = true

closedate = 01 jan 2010

stagename = close/won


today 21 may 2010 if I change(not rename) account of the opportunity , because I check that is wrong, and I save the opportunity the results will be:


won = true

closedate = 21 may 2010

stagename = close/won


I have no worfkflow or trigger active, that do this change of closedate.


I think it is a bug of salesforce.


Another bug is that in 21 may 2010, if I change account of the opportunity some workflow will be fired again. This workflow that will be fired doesn't have any criteria linked to the change of account!!