I have a flexipage in one package, with sobjecttype as O1, this flexipage is available in app A. The flexipage is as follows :

<?xml version="1.0" encoding="UTF-8"?>
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
    <masterLabel>Invention Record Page</masterLabel>

The package xml is as follows :

<?xml version="1.0" encoding="UTF-8"?>
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata">    
        <comment>Action override created by Lightning App Builder during activation.</comment>

    <description>Yada yada yada.</description>
    <label>Awesome App</label>

I've created a custom link in another object O2 in another app A2, this custom link opens the page where we can create object O1. I don't have code for the custom link, but only access to app A2 and it's object manager where I added the custom link with the following link :


But after creation of object O1, it tries to redirect to this flexipage but I get the error :

"List index out of bounds: 0
An unexpected error has occurred. Your solution provider has been notified"

If I open app A and see, object O1 is created and I can open the flexipage as well.

My question is what can I add/update in the flexipage to make it accessible through another app as well for a particular profile.

  • 1
    Welcome to SFSE. Please edit this post to include the actual metadata involved, including this custom link and any other code you're using. – David Reed Mar 19 '20 at 14:57
  • I have edited the question with the required code sample – ivan pradhan Mar 19 '20 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.