Skip to main content

#Lightning Community0 人がディスカッション中

Hi all , 

We have used approval process in custom visualforce page ,Its working in classic but not I n lightning page. 

Here is the code snippet we used!

<apex:relatedList list="ProcessSteps" rendered="{!mode=='VIEW'}"/>

 

#help with recall button in custom visualforce page

 

#Trailhead Challenges

1 件の回答
0/9000

We have Digital experience site which extract data from Custom Objects and open different pages based on the data. 

 Currently our detail pages are opened like https://www.[domain].com/s/servicedetails?language=en_US&serviceId=a2v1o000000AzzqAAC but we are looking some solution like URL rewrite to open the link as https://www.[domain].com/s/home_security.  

 

#Digital Experience Platforms #Lightning Community Can you please advise is it really possible in Salesforce, if so then how?  Why we need: We want to add SEO on our site. Our concern form told that it only possible if we can use description instead of IDs (like a2v1o000000AzzqAAC) in URL.  Note: We are currently using Apex lightening components in website backend.

4 件の回答
0/9000

Hi Experts,

 

#Community Cloud  #Community Portal  #Lightning Out  #VF Pages  #Lightning Community  #Salesforce's Site.com  #Sales Cloud

Our org has a salesforce site which uses a Lightning Out VF Page which is working as expected. Now I am generating the URL of this site with some parameters for vf page from a Community Page aura component and redirecting to the created URL using the simple window.open.

The page is not getting loaded despite the proper URL is being created and I am getting an error in the console 'Uncaught ReferenceError: $Lightning is not defined" at the line "$Lightning.use("c:MyLightningOutAPP", function(...."

If I refresh the page after getting the error, the page loads correctly.

Please help to resolve the issue.

1 件の回答
0/9000

hi all, 

we are implementing custom component common links in the record page where every user can hit the link navigate to a different page instantly.  For that i created the cutom metadata type store the urls in cutom meta data type . but not working though as of now . 

 

here is the code snippet

apex clas:

public with sharing class CustomPSALinks {      @AuraEnabled      public static List <PSA_Links__mdt> getPSALinks()      {     return([Select id,MasterLabel,Long_URL__c from PSA_Links__mdt]);           } }

 

({ doInit: function(component, event, helper) {       component.set('v.mycolumns', [             {label: 'Label', fieldName: 'MasterLabel', type: 'text'},                 {label: 'Long Url', fieldName: 'Long_URL__c', type: 'URL'}             ]);      var action = component.get("c.getPSALinks");          action.setParams({         });     action.setCallback(this, function(response){   var results = response.getReturnValue();   alert (results);      var state = response.getState();   if (state === "SUCCESS") {            var label =      results.MasterLabel;         console.log( response.getReturnValue());              alert(label);   component.set('v.psalinks', label);          } });         $A.enqueueAction(action);     } })

 

<aura:component implements = "flexipage:availableForAllPageTypes,force:appHostable" controller = "CustomPSALinks" >        <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>        <aura:attribute name="psalinks" type="PSA_Links__mdt[]" default="" />       <aura:attribute name="mycolumns" type="List"/>          <div class="slds-p-around_medium" style="background-color:white;">     <b>PSA Links</b>       <br></br>                  <lightning:formattedUrl  value = "{!v.psalinks.Long_URL__c}" label = "{!v.psalinks.MasterLabel}" />       </div>     </aura:component>

7 件の回答
  1. 2021年9月14日 11:45

    Hi Keiji Otsubo

     

    Thank you so much for your help, iteration is working with a small modifications. You are really helped a lot . 

0/9000

ShowToastEvent  just doesn't show up. no error in browser console. I followed following documentation https://developer.salesforce.com/docs/component-library/bundle/lightning-platform-show-toast-event/documentation

FYI- under Specification tab it says Support: beta I wonder if it is a bug on SF side.

Same exact code works fine in other template (i.e. BYO template)

 

#LWR #LWC #Lightning Community

3 件の回答
0/9000

Have you heard about CMS Connect? Learn how easy it is to seamlessly integrate existing content from any major CMS system into your Lightning Community with CMS Connect JSON. Save hours of time and effort as you don't have to recreate content in different places! Click on the link to learn more.

 

@* Experience Cloud - Best Practices * 

Integrate External Content into Communities Using CMS Connect JSON

10 件のコメント
  1. 2021年8月24日 19:59

     Remove from FavoritesMore Options

    Gayathri Ravichandran Geetha have you tried to bring content from Wordpress CMS created specifically with Elementor Page Builder?   We are seeing that the CMS Connect only brings the unformatted and default WordPress text.  Will this work? 

0/9000

📢⚡Lightning Experience Webinar Alert ⚡📢    

 

Coming your way TOMORROW is the next live session of our Lightning Readiness Webinar where you can come and learn more about how to make the move from classic to Lightning, get a preview of the Lightning Readiness Report, AND get a demo of the Configuration Converter in action!     

 

Webinar Review: Lightning Platform: Readiness Assessment (Premier Only)

Date/Time: Wednesday, July 28th, 2021, 1:00 PM - 2:30 PM EDT Format: Virtual, Listen-Only Webinar REGISTER HERE: https://cs.salesforce.com/events/7013y000002hJ74AAE  

 

If you've already seen the amazing tools mentioned above but still have questions about the Classic to Lightning transition, register for the Ask a Lightning-Transition Expert session that is live in 2 days! This is a first-come, first-serve event where you can get your Lightning-Transition questions answered. 

 

Webinar Ask a Lightning-Transition Expert (Premier Only)

Date/Time: Thursday, July 29th, 2021, 11:00 AM - 12:00 PM EDT

Format: Q&A REGISTER HERE: https://cs.salesforce.com/events/7013y000002NiQ6AAK    

 

We can’t wait to see you this week!

 

#Lightning #Lightning Readiness Webinar #Lightning Knowledge #Salesforce Lightning #Lightning Community

0/9000

⚡Lightning Configuration Webinar Alert ⚡    📣  Can you hear the thunder?! Coming your way in ONE week!  📣  Join us for the "Getting Started: Platform: Lightning Configuration and Customization" Webinar to learn from Lightning Experts as we guide you through high-level configurations, customization, and personalization capabilities in the Lightning UI.   

 

Webinar: Getting Started: Platform: Lightning Configuration and Customization  Date/Time: Tuesday July 13th, 10 - 11:30 am PST / 1pm - 2:30pm EST 

Format: Virtual, Listen-Only Webinar  REGISTER HERE: https://cs.salesforce.com/events/7013y000002hJ6HAAU    

 

Questions are always welcome, and we can't wait to see you!!

1 件のコメント
0/9000

Hello friends. I'm trying to use a LWC in a public community that use the Guest User profile. This LWC uses an Apex method to insert a record Lead. When I call the method I receive this error:  

 Use LWC in public lightning community

 

I also used the lightning-record-edit-form to insert the new record Lead without using Apex method but I receive an error related with ui-api/records, although the information is registered in salesforce.

So, any ideas about this error? Am I missing something important related to LWC?

 

#Lightning Web Components  #Lightning Community  #Apex  #AuraEnabledApex-Spring  #Sales Cloud

1 件の回答
  1. 2021年7月6日 12:02

    Hi there,

    Raise the case to Salesforce support team for the same.

     

    Thanks

0/9000
Srushti Bugde が「#Lightning」で質問

I have a custom object with custom field (URL) How to open hyperlink (which is a report URL) within SAME browser to a different TAB in Salesforce.

#Lightning Experience Reports #Lightning #Lightning App Builder #Lightning Community
4 件の回答
  1. 2021年7月5日 7:26

    If this resolve your issue, please mark this best answer and close this thread. Thanks :)

0/9000