User Roles import scenario - acumatica

I am having an issue trying to Use Acumatica Import Scenario for uploading User Roles Access By Screen to Acumatica. I am using Import Scenario from Tim Rodman's website https://www.timrodman.com/sample-acumatica-import-scenario-access-rights/
The issue is that I provide a full path to a particular screen, but by some reason this import scenario affects only those screens that are not reports!
I.e. I am populating 2 paths in Import scenario to have Delete access for both for my Custom User Role:
Company/Finance/Accounts Payable/Reports/Audit/AP Edit
Company/Finance/Accounts Payable/Configuration/Setup/Accounts Payable Preferences
So the result will be that 1st path will not be affected by import scenario.
I am not sure, probably for those screens that are reports I have to have another parameter in Import Scenario? The best for me would be to use Acumatica Screen ID for Import, but unfortunately I don't know if that's possible.
Please advice if someone has ideas. Thank you!

Well, I fairly got a minus for my post because I was setting the same Access Rights = 'DELETE' to Reports, but they require another Access Rights word = 'GRANTED' :)
Very stupid mistake, but I am happy I figured that out without spending too much time on that. Probably will be helpful for someone

Related

Impossible to import Acumatica Customization package undefined: Cannot read property 'nodeValue' of undefined

I want to import some customization packages I have created for Acumatica, but, when I try to import (click on import button on SM204505 screen) I receive a message "undefined: Cannot read property 'nodeValue' of undefined"
Have you ever seen this message? does somebody know how to solve it?
Yes, I encountered this last night and have been troubleshooting ever since. I have not found a solution, but might have a possible workaround (I am not an experienced coder - please excuse any faux pas...)
1 - Under System Management > Companies, make sure your company has a company name (in addition to a company login name). Training materials say that this serves as the top-level node in the company tree and is needed to import customization projects. However, "Company," was already in my Company Name field and I still got the error.
2 - I was logged in as administrator and found under User Security > Access Rights by Role, that access for Administrator was set as 'Revoked' under System > Customization > Work Area > Manage. I changed that to 'Delete.' Also, under source code, I set my access rights to 'Insert.'
I still got the error, but chose to include the above in case they affect the following workaround:
3 - The customization project .zip file I was trying to import contained XML code. On the Customization Projects screen (SM204505), I added a row and a project name, then saved it. After clicking on the project name link, the Customized Screens screen opened (AU201000). Under the File menu, I selected Edit Project XML, copy/pasted it onto the screen, then clicked Upload Package. (It seems that using Choose File then Upload Package also works for me). Then I Saved to Database. I published from that screen - I did not try it back on the Customization Projects screen.
Even if your case is not as simple, maybe there is a similar workaround along those lines.

Why isn't the user with id #1 able to edit the user details?

I have one site in Drupal 6. When I log in as user #1, and I visit the page at user/[uid]/edit, I am not able to access this page. I get an access denied error.
Can any one please tell me what may be the problem, and the solution?
I think this is the problem with any of your custom code. Somewhere in the code you might have written some condition and because of that you are facing this problem. Just check your custom code & it can be somewhere like access callback.
Another approach :
If many developers are working on the project & SVN(or any version control) is configured, then simply by going back to any revision you can find the code which is making problem for you. Hope it will help you.

how to set different views for admin and user

Hi I am little new to SharePoint. Here is my question
How can we make different views for administrator VS logged in user. For instance I need to display the
quicklaunch only to admin and not for user. And user should not see site actions tab.
How can we set this. Please can anyone come up with solution or any blog that we can refer?
Thanks in advance.
This blog will help with code identifying whether a user is an admin (or even just owner) http://blogs.tamtam.nl/duarte/2008/12/09/Sharepoint+How+To+Verify+If+A+User+Is+Site+Administrator.aspx
You can then create a control that uses this condition to display or hide content. See my blog here for an example: http://jcapka.blogspot.com/2009/02/handy-hiding-panel.html
You can also use the built in SPSecurityTrimmedControl but it does not provide a means of explicitly checking if a user is an administrator.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.spsecuritytrimmedcontrol.aspx

sharepoint document visiblity based on user contribution to library

We have a doc library, Requirement is that only the user who has contributed to the document should be able to see the document and other user who has access to the library should not see that.
Can you please help me to achieve this.
Update: I talked to my TL he said, we need multiple Views on the Doc Library. Any one with new Ideas?
Add a custom view to the document library that only displays the items if the current user == creator of the document.
Set this view as the default view.
Prohibit users from changing the view.
If you are after a true permission based solution, you could develop a event handler for the adding item handler that sets the permission on the newly created item.
(By breaking parent inheritance also)
Set only permissions (owner) for the user that created the item.
EDIT: Just re-read your question. I didn't understand correctly. I missed the "contribution" part. Anyway, I will let my answer be here.
Adding a view is not really good practice. If one want's to gain access to the data he can do so by working with the lists web service. the solution is much simpler then it seems.
1. you need to install this: http://spdactivities.codeplex.com/.
This add-on will add you work flow activities to the SP Designer.
2. create a workflow doing what you described. It will take you no more then 10 minutes.
That's it :)

Import and Exporting users from an Active Directory

I'm trying to move a SharePoint site from one server to another. I'm supposed to move all the users with their permissions as well. I've been told that the best way to do that is to export the users from the AD and then import the list on the target server.
Is this the best way to accomplish this? How do I export only the users and permissions and then import them?
The purist answer is to use stsadm export operation with the includeusersecurity option. Personally I'm not an stsadm fan and would recommend you use the SP Deployment Wizard tool and make sure you select the User info update to import all. That will bring in the security + user information for their profile.
Apparently you can't move an active directory with user and their permissions unless the servers you are moving it between are networked. You can then change server roles and move the directory that way. A more thorough example can be found here. Since there weren't too many users in the AD in the first place, I ended up manually adding them myself.

Resources