• Min-Je Kim
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi In knowledge article rich text area i have multiple images i need to send these to internal websites for public visible. i found that if i ablw to change domin as community url images are visible as publicly. 
this is knowledge image url : : -- https://company--developer.sandbox.file.force.com/servlet/rtaImage?eid=ka026000000EzmV&feoid=00N2600000Db0bk&refid=0EM26000000EHHi
But i need to change like below url then only image is available to public: How can i change like this using APEX.
https://company--developer.sandbox.my.salesforce-sites.com/servlet/rtaImage?eid=ka026000000EzmV&feoid=00N2600000Db0bk&refid=0EM26000000EHHi
I'm trying to use lightning:formattedNumber to display a currency value in the same style at the lightning UI.

In a multicurrency org, currency values are rendered as the code, then a space, then the monetary value. e.g.
USD 100
GBP 200
This is consistent when displaying values in page layouts, and in lightning components when using the lightning:outputField component to render a currency field.

When I use lightning:formattedNumber, a space is not included meaning the data I'm displaying does not match the rest of the UI.
e.g.
<lightning:formattedNumber value="100" currencyDisplayAs="code" currencyCode="USD" style="currency" />
renders as
USD100
​Workaround is to render the data myself and work out what locale inconsistencies I don't know about yet.

Can this be logged as a bug?