webi reports official stamp - business-intelligence

I'm trying to add a stamp on the report to differentiate between the official and adhoc reports.
I'm trying to read the document owner name and if that name is not admin then the stamp should go away.
how can I read the name of the "owner" in the report details.
can I use documentOwner()
![report details displaying the owner of the document
Is there any other way to achieve this?

Related

How to check if a csv file has been uploaded in a drive daily and alert user if not?

I have been assigned a task of automating a manual activity which involves checking if a particular data file has been uploaded in a drive daily.The file is a .csv file added incrementally(once) every morning and named based on the date and time it has been uploaded.
In case the file is not present in the drive folder there should be a trigger alert to the stakeholders in the form of email.
What are the automation tools I can use to automate this particular activity?
My current plan is to write a java code that checks the folder.Using Jenkins I will run it everyday and trigger email alert in case a particular file is not present.
Is there any easier way to do this?

How do I get Edit Profile to not save with invalid date input on Joomla Community Builder

On my volunteering website, users can edit their profile and enter a date in the future when they are available to volunteer. If they are already signed up for a volunteer opportunity, they shouldn't be able to change the dates they are available until they have fulfilled their assignment. I am using CB Query Validation to check if they have a current assignment when they change their date. The validation is working - that is, it is showing the error message when they change the date but shouldn't be changing it. But it still allows them to save the profile edit with the new date. Is there a way to disable the SAVE button if the error shows?

Google Drive API (REST) - Get download, files views and so on....?? (Is it possible??)

This is documentation which I'm using - https://developers.google.com/drive/api/v3/search-parameters
Does anyone know the way of getting through Google Drive API, the number of times the file was downloaded, views(ideal views by whom)...
I could not find any way of doing this.
Google drive files are denoted by a file resource this contains all the information that you have access to about the file. Only some of the information you are after is available
createdTime datetime The time at which the file was created (RFC 3339 date-time). writable
modifiedTime datetime The last time the file was modified by anyone (RFC 3339 date-time).
Note that setting modifiedTime will also update modifiedByMeTime for the user.
lastModifyingUser nested object The last user to modify the file.
You can see who last changed the file but you cant see who has seen the file or any information about how many times it was downloaded.

Google admin sdk - user usage reports not available

I would like to ask you for help with google admin sdk, User Usage Reports. I got following questions:
One of the parameters used to retrieve a usage reports is a date. Unfortunately for current date the reports are not yet available - I must use a date few days in the past. Is there any official rule, recommendation or any advice how to know most recent date for which the reports are already available? Should I query reports for a one day in the past, 3 days, week or...? I just want to have the latest results without worrying about the date...
Even more: sometimes the returned reports are OK for one of the google apps but for other one - like docs - I got warning that its not ready. So my question is: how to get most recent data for all of the apps? (mainly: accounts, docs, gmail).
I am using "all" parameter to retrieve all accounts at once.
Second question is related to first one: assuming I receive partial data - for example no reports for docs - is it possible that when I retrieve reports for all accounts (emails) some of them will have reports ready and some of the only partial data? Or the reports are always either ready or partial and for all accounts (emails) I should expect the same, full or partial data?
Thanks in advance!
Is there any official rule, recommendation or any advice how to know most recent date for which the reports are already available? Should I query reports for a one day in the past, 3 days, week or...? I just want to have the latest results without worrying about the date...
UserUsageReport returns Google Apps service activities across your account's users. the get() method retrieves a report for a set of account users. You can query for any date value provided that its timestamp is represented as ISO 8601 and should use your account's timezone.
how to get most recent data for all of the apps? (mainly: accounts, docs, gmail).
I'm guessing you're using CustomerUsageReport, it may take a while to process a report and thus you may have to retry to call it again after a few hours.
Second question is related to first one: assuming I receive partial data - for example no reports for docs - is it possible that when I retrieve reports for all accounts (emails) some of them will have reports ready and some of the only partial data? Or the reports are always either ready or partial and for all accounts (emails) I should expect the same, full or partial data?
I think this will depend on if the data are now available or not. You can test out various parameter values when accessing the API to test it out.

SSRS data-driven subscriptions saving pdf file on the parameter value passed

I have a SSRS 2008 R2 report, with a parameter employeeID. When we do the data driven subscription I am exporting the report into a PDF file.
The PDF is saved/generated as reportname.pdf by default.Can we save the pdf as reportparameter.pdf.
Example:If we have an employeeID as 223,can the PDF generated for that emoloyeeID be saved as 223.pdf.
Does SSRS support this scenario when the method of delivery is through email ?
The only way save the filename as you indicate would be using the ssrs api. You can't save to another filename using the subscription service as it will use the report name as the filename :(
you might want to check out Boomerang Notification Services for SQL server from Fuel9. The framework is easy to use and you can among other things control each file name. I think I have some sample code (tsql) doing just this so let me know if you interested and I'll see if I can dig it up for you.
Cheers,
/M

Resources