Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Prob in Section Access

Hey,

I made a small application on section access but it is not working correct. Can anyone help me out?

UserName:  Administrator

Psswrd: 123

1 Solution

Accepted Solutions
rubenmarin

That's beacuse you filter 'NORTH' but fields are Capitalized: 'North', so those values are different values becuase of uppercase.

View solution in original post

12 Replies
Anonymous
Not applicable

What problem you are facing??

rubenmarin

Hi Nikhil, there is no script to check. Also, can you tell why isn't working? What are you trying to achieve?

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you provide hidden script password as well.

And explain what is required.

Regards

ASHFAQ

nikhilgarg
Specialist II
Specialist II
Author

hey,

username and psswrd for hidden script is admin

nikhilgarg
Specialist II
Specialist II
Author

hey,

username and psswrd for hidden script is admin.

When i am trying to login as nikhil with psswrd, it is showing acces denied

nikhilgarg
Specialist II
Specialist II
Author

hey,

username and psswrd for hidden script is admin.

When i am trying to login as nikhil with psswrd, it is showing acces denied

rubenmarin

The '*' in section access only loads values loaded in the field in section access, so '*' doesn't means all values loaded in section application, if you want administrator to access all regions you can use a Join:

LOAD * Inline [

    ACCESS, USERID, PASSWORD

    ADMIN, ADMINISTRATOR, 123

];

Join LOAD Distinct REGION Resident TableWhereREGIONIsLoaded;

// this way Administrator is laoded with all the values in REGION, after this you can use '*' in section access and it will be related to all value (as they are previously loaded for Administrator and exists in section access)

LOAD * INLINE [

    ACCESS, USERID, PASSWORD, REGION

    USER, NIKHIL, ***, NORTH

    USER, USER1, *****, SOUTH

];

rubenmarin

That's beacuse you filter 'NORTH' but fields are Capitalized: 'North', so those values are different values becuase of uppercase.

nikhilgarg
Specialist II
Specialist II
Author

Hey,

If i want admin to see all values, i can use dummy as well. But my prob here is that when i open my application, and give username as nikhil and psswrd as 123 then it is saying access denied while i have put the same username and psswrd in section access. Initially it was working fine.