cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GarryB
Regular Visitor

EventHubs - Properties Format when sending

I'm trying to send an Event to Azure Events HUB but I can't find an example of how to format the properties value.  So far I have:

EventHubs.SendEvent("TEST01", { Properties:"???" })

 

I want to send something like {ID:123, Title:"Hello"}

 

I have tried the format used on the ServiceBus connector but it returns an error.  Thanks in advance!

5 REPLIES 5
RezaDorrani
Dual Super User
Dual Super User

Hi @GarryB 

 

Send Event properties format is as follows

https://www.carlosag.net/PowerApps/Connectors/Event-Hubs#_Toc6A3CA18_SendEvent

 

SendEvent

Summary:

Description: Send Event data

 

          Properties:

Name

Type

Summary

ContentData

string(byte)

Content

Content of the event

Properties

Properties

Properties

Key-value pairs for each application property

 

Properties

Summary: Properties

Description: Key-value pairs for each application property

 

          Properties:

Name

Type

Summary

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Hey @RezaDorrani ,

Thanks, yes, what I'm actually after is how to create the key value pairs in the required format in the formula.

 

Any ideas?

Hi,

Sadly I dont have any examples
Hoping someone in the community has or if the microsoft admin accounts can share something
Anonymous
Not applicable

Bumping for visibility 

 

@Anonymous 

Anonymous
Not applicable

Hello Gary,

Pls can you let me know if you found a way to do this.

Can you pls share sample format of the code.

We have same use case and require your help.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (3,182)