Salesforce Community (Napili Template) – Visualforce Page component not available

I’ve created a customer service community and trying to add a VF page to the record detail page, but I don’t have an option to add the VF page. Am I missing anything? Under Content, there is supposed to be a Visualforce page component which can be drag and dropped but it’s not available as shown below. The problem is in the community I created in Sandbox, but in developer edition it’s fine.I’m following this documentation Using VF in Napili Templates enter image description hereenter image description here

Principal Component Analysis, should I interpret the component matrix or the component score?

I am doing a Principal Component Analysis on some demographic data. I have extracted four principal components and I hope to find out how each component is characterized by the original variables. I have got component matrix and the component score from SPSS output. Which one should I look at? From what I have seen, the component score is also interpreted as factor loading, and shows the correlation betweeen the original variable and the principal component, is the one that I am looking for. But the component score shows the “weight” of the variables in the principal component, or the new “variable”.

Can anyone explain to me the difference and help me choose between the two? Thanks!

enter image description here

enter image description here

KiCad – Bus as input pin to a component

Can a schematic component be created whereby a pin represents a bus (aka multi-bit) signal?

For example consider a case where you want to create a component for a 32-bit 16-to-1 multiplexer. Using a pin for each bit means that the component will have 516 input pins (32×16 + 4)!

My current approach is to create the component as such but place it inside a hierarchical sheet since the hiearchical sheet pins can take bus inputs. Is this the only approach available in KiCad? How do other programs like Altium and Eagle approach this issue?

Inserting a Component Link in RTF via Experience Manager Hangs

I’m attempting to add a Component link to a RTF via Experience Manager. I highlight the text I intend to update and then from the ribbon: Insert > Hyperlink > Type: Component and “Browse”, this opens up a library on the left hand side but it’s simply hangs with “Loading…”

Checking the Network tab, I can see multiple API calls (i.e. GetList, GetListActivityInstances, GetListPublishedTo, etc.) that returns response (200 status). Inspecting these response, I can see a list of components that I’d expect to see displayed on the library to the left.

Things that I’ve checked:

  • Ensure no console errors
  • Check cd_client.log and found no relevant errors
  • Edit the RTF text and add external links successfully (DXA XPM markup setup correctly)
  • Inspect SDL Web documentation for Experience Manager
  • My user is an administrator group

I’m using SDL Web 8 Cloud (version 8.6) with DXA 1.7.

Is there anything else that I could check to move this forward?

Dynamic reference to static resource in lightning component

In lightning, we can reference to static resource by a value provider like:


Is there any smart way to make it dynamic like:



For VF+Apex it was possible, but the documentation for Lightning does not say anything about that kind of possibility.
Have anyone, by chance, found a smart way to do that ?

Thanks!

how to show error message in component.ts file

how to get error message to my component.ts file?
how to access the service class error message to show in html page

Component ts Add method

addNew(): any {   this.apiService.addIndexReference(Data.AccessToken,this.indexReference,this.indexId,(result)=>{
              //if Not success
              //
              //else
              console.log("result"+ JSON.stringify(result));
                this.indexReference.id=(result as IndexReference).id;
            })   
        }

api servise method

 public addIndexReference(accessToken: any, body: IndexReference,id:number,action: any) {
    return this.post(environment.apiUrl + '/api/v1/indexes/'+id+ '/references', accessToken
      , body
      , action);
  }
 public post(url: string, accessToken: string, body: T, action: any) {
    let httpOptions = {
      headers: new HttpHeaders({ 'Authorization': accessToken })
    };
    this.http.post(url, body, httpOptions).subscribe(respone => {
      (respone) => this.booleanAddValue = false;
      action(respone);
    }, error => {
      console.log(error);
      return throwError(error);
    })
  }

Principal Component Analysis: Identifying Features that capture most variance of the Full Data Set

I have a data set of 60 sensors. I wish to decrease the number of sensors used during an experiment, and use the remaining sensor data to predict the removed sensors.

If I were to run principal component analysis on the full data set, would the features (sensors) that correlate with principal component 1 (PC1) recapitulate the rest of the data most strongly, thus highlighting sensors that have the worst correlation with PC1 as those that should be removed (and predicted by the remaining sensors)?

Is the X and Y component of initial velocity the same once it leaves the barrel? [on hold]

So I built this ballista for my physics assignment, it fires at a 45 degree angle. The projectile was in the air for 0.532 seconds and went 3.035 meters. Through this, I calculated that the horizontal velocity is 5.71 m/s (assume air resistance is negligible). The exact moment the projectile leaves the barrel of the ballista it is still at a 45 degree angle, so using basic trigonometry, would the initial vertical velocity also be 5.71 m/s?

Note that this is high school physics, so assuming that air resistance is negligible is mandatory.