cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Ayuda fecha en Powerapps

Buenos dias,

 

He personalizado un formulario con powerapps, pero quiero que el Label con la fecha no se pueda modificar por el usuario.

 

Anexo el formulario personalizado, donde muestra dicho formulario.

 

Agradezco su ayuda

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Power Apps
Power Apps

Re: Ayuda fecha en Powerapps

If you don't want the date to be editable, you can change the DisplayMode property of the card for the 'Fecha de Ingreso' field to 'DisplayMode.View', as shown below (you may need to unlock the card first to change that property, by going to the advanced view in the property panel on the right):

ForumPost001.png

Notice that the form is shown both when you're editing existing items and when you are adding new items. If you want to have the date editable for new items, you can use the expression below:

If(Parent.Mode = FormMode.New, DisplayMode.Edit, DisplayMode.View)

One more thing: if you're editing the app in a browser with Spanish settings, you'll need to replace the ',' with ';':

If(Parent.Mode = FormMode.New; DisplayMode.Edit; DisplayMode.View)

Hope this helps!

View solution in original post

Highlighted
Community Support
Community Support

Re: Ayuda fecha en Powerapps

Hi @yuriarciniegas 

 

Is @CarlosFigueira 's suggestion solve your issue?If yes, please accept it as solution.

 

More information:

function-if

function-form

 

Best Regards.

Yumia

View solution in original post

3 REPLIES 3
Highlighted
Power Apps
Power Apps

Re: Ayuda fecha en Powerapps

If you don't want the date to be editable, you can change the DisplayMode property of the card for the 'Fecha de Ingreso' field to 'DisplayMode.View', as shown below (you may need to unlock the card first to change that property, by going to the advanced view in the property panel on the right):

ForumPost001.png

Notice that the form is shown both when you're editing existing items and when you are adding new items. If you want to have the date editable for new items, you can use the expression below:

If(Parent.Mode = FormMode.New, DisplayMode.Edit, DisplayMode.View)

One more thing: if you're editing the app in a browser with Spanish settings, you'll need to replace the ',' with ';':

If(Parent.Mode = FormMode.New; DisplayMode.Edit; DisplayMode.View)

Hope this helps!

View solution in original post

Highlighted
Community Support
Community Support

Re: Ayuda fecha en Powerapps

Hi @yuriarciniegas 

 

Is @CarlosFigueira 's suggestion solve your issue?If yes, please accept it as solution.

 

More information:

function-if

function-form

 

Best Regards.

Yumia

View solution in original post

Highlighted
Frequent Visitor

Re: Ayuda fecha en Powerapps

@CarlosFigueira Thank you for help me. 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,799)