Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Connector Development
Unanswered

No puedo recuperar ni consumir datos en powerapps de una api expuesta creada en Visual Studio Code para Business Central.

(0) ShareShare
ReportReport
Posted on by

Buenas tardes.

 

He creado un conector personalizado en powerapps asociándolo a una api expuesta creada en Visual Studio Code para Power Apps. Sin embargo, no puedo recuperar ni consumir los datos en PowerApps tras crear una página tipo lista y agregando los datos correspondientes al conector. En la fórmula de PowerApps empleo la siguiente función:

 

Pruebalisthistalbventa.Getpruebalisthistalbventa("4f10685f-de79-4e3c-a581-ff5cba591b97").value

 

Dónde pruebalisthistalbventa es el nombre del conector, getpruebalistahistalbventa es el id del conector, el id qué es el de la empresa de Business Central y .value para recuperar los datos.

 

Espero vuestras respuestas para solucionar este tema, ya que no consigo resolverlo.

 

Muchas gracias.

 

Sergio

  • Community Power Platform Member Profile Picture
    on at
    Re: No puedo recuperar ni consumir datos en powerapps de una api expuesta creada en Visual Studio Code para Business Central.

    Ok, sorry. I write in English and I send you new photos.

     

    Good Morning.
    
     
    
    The data source is a custom connector originated from an api page created in Visual Studio Code for Business Central (Sales Shipment Header).
    
     
    
    When I put the following formula, which I have changed the .value to & value, it returns the following error (a Table value was expected)
    
     
    
    Formula: 
    Pruebalisthistalbventa.Getpruebalisthistalbventa("4f10685f-de79-4e3c-a581-ff5cba591b97") & value

    scarpintero_0-1625641610071.png

     

     I have compared the connection and it does not give me an error in testing the connector, although in the response of the definition the fields that I have created in the api do not appear. I have put in the header the same thing that appears in the test page and in the body it does not let me put the same thing that appears to me when I test the connector because it exceeds the limit of allowed characters.

    scarpintero_1-1625641846979.png

     

    scarpintero_2-1625641909393.png

    scarpintero_3-1625641985789.png

     

    How do I have to proceed and act to be able to see and retrieve the api data in powerapps?
    
     
    
    Thanks.
    
     
    
    Sergio

     

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: No puedo recuperar ni consumir datos en powerapps de una api expuesta creada en Visual Studio Code para Business Central.

    Buenos días.

     

    El origen de datos es un conector personalizado originado a partir de una página api creado en Visual Studio Code para Business Central (Sales Shipment Header).

     

    Al poner la siguiente fórmula, la cual he cambiado el .value por & value, me devuelve el siguiente error (se esperaba un valor Table)

     

    Fórmula: Pruebalisthistalbventa.Getpruebalisthistalbventa("4f10685f-de79-4e3c-a581-ff5cba591b97") & value

     

    Error:

    scarpintero_0-1625639196245.png

     

     

    He comprado la conexión y no me da error en probar el conector, aunque en la respuesta de la definición no me aparecen los campos que he creado en la api. He puesto en el encabezado lo mismo que me aparece en la página de probar y en el cuerpo no me deja poner lo mismo que me aparece cuando pruebo el conector porque sobrepasa el límite de caracteres permitidos.

     

    scarpintero_1-1625639196259.png

     

     

     

    scarpintero_2-1625639196278.png

     

     

    scarpintero_3-1625639196282.png

     

     

    ¿Cómo tengo que proceder y actuar para poder ver y recuperar los datos de la api en powerapps?

     

    Gracias.

     

    Sergio

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics