cancel
Showing results for 
Search instead for 
Did you mean: 

iview Customization

Former Member
0 Kudos

Hi

In a given iview from one field I need to remove the year from date of birth.

what logic we need to implement?

Regards,

Arshi

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197348
Active Contributor
0 Kudos

Hi,

If you want to achieve this by configuration but not by development, do like this:

Open page in Content Administration -> Portal content

browse to your iView. Select iView Right click-> Select Preview. Open the properties of the UI elements in the iView(While loading the preview Right click + Ctrl). There you can hide/disable the field.

regards,

Siva

Former Member
0 Kudos

Hi Siva

i have to remove only year from date not to hide full field

please suggest propable solution if possible

Thanks

Former Member
0 Kudos

Hi,

Try

creating a simple type of date datatype.

specify your date format dd/MM

bind this to the UI element

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

Are you using date picker to get the date?In which format is your date?

Regards,

Sudhir.

Former Member
0 Kudos

Hi

Right now the date is in DD/MM/YYYY Format we need to make it in DD/MM format just to remove year

Former Member
0 Kudos

Hi,

You can take

int index=dateString.lastIndexOf("/");

dateString.subString(index);

Regards,

Sudhir

Former Member
0 Kudos

Actually we dont want year to show in field will it full fill our purpose.

one more important question to ask you if you familiar with MSS can we customize our requiremnet without NWDI

is their any other way apart from NWDI just if we want to work this customization in NWDS