Tableau, can't publish to server - tableau-api

edit: Sorry about the wrong title before. StackOverflow had saved an old question I was going to ask, and I didn't notice the title
I'm working with Tableau and have created a couple of Dashboards and have included a data source. The Data source is fairly big, around 10.000.000 rows.
My problem is that when I try to publish it to Tableau Server, it gets stuck at "Sending data to server" (See included picture). The server is not down as I can publish other Dashboards, where a smaller data source is included.
Has someone here had similar problems? In that case how can I fix it?
Any help would be greatly appreciated.

You can try to cut your datasource to 1 raw and put all data back when it will be already published. It's should work for sources like table or views in database for example.

Related

How to auto update readme file with specific data in files?

I'm new to github, and recently I finished an action with auto craw and process data on a daily basis. So, after with the workflow, I can have latest dataset.
My question is, in github readme file, is there a way to show the last date in my dataset.
For example, after my daily workflow finished, the last row of my dataset is '05/09/2022', and I want to see that on my readme file, without manually edit it.
I tried to google it, but haven't found anything, maybe because I don't know how to search the right question?
Was wondering if anyone know how to achieve this?
Thanks in advance.
Update:
I found a way to display code in readme file, called permalink, it could show exactly what i want, but i need it changed from code to data
There is a GitHub action that could help to maintain the README file base on some data files. For example, you can easily maintain a big Markdown-based table from some YAML files.
See also https://github.com/LinuxSuRen/yaml-readme

How to upload files and attachments to the sobject record using REST API?

Salesforce has two different UIs and in accordance with it, it has the possibility to store attached files differently.
Two files were uploaded via the classic UI and they are marked as 'attachments'. Other files were uploaded through the new UI and they are marked as 'files'.
I want to upload all of these files using REST API. I cannot find the proper documentation. Can somebody help me with this?
That's not 100% true. In SF Classic UI you were able to upload Files too. It's "just" about knowing the right API name of the table and you'll find lots of examples online.
Attachment and Document objects have exactly same API names, you can view their definitions in SOAP API definition or in REST API explorer (there was something which you can still see in screenshot in here, seems to be down now, maybe they're moving it to another area in documentation...)
The Files (incl. "Chatter Files") are stored in ContentDocument and ContentVersion object. The name is unexpected because long time ago SF purchased another company's product and it was called "Salesforce Content". In beginning it was bit of mess, now it's better integrated into whole platform but still some things lurk like File folders can be called Libraries sometimes in documentation but actual API name is ContentWorkspace. The entity relationship diagram can help a bit: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_content.htm
ContentDocument is a header to which many places in SF link (imagine file wasting space on disk only once but being cross-linked from multiple records). It can have at least 1 version and if you need to update the document - you'd upload new version but all links in org wouldn't change, they'd still link to header.
So, how to use it?
REST API guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm
or maybe Chatter API guide (you tagged it with chatter so chances are you already use it): https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_files.htm
some of my answers here might help (shameless plug). They're about upload and reading data too and one is even about data loader... but you might experiment with exporting files first, get familiar with structure before you load?
https://stackoverflow.com/a/48668673/313628
https://stackoverflow.com/a/56268939/313628
https://stackoverflow.com/a/60284736/313628

how to edit or copy data loaded renames of my own published sheet/project in qliksense

This is the first time we decided to use QlikSense. So I am a newbie.
I have developed a sheet for a table report.
I loaded a lot of data and I made a lot of renames on the fields when they are loaded from the database to look pretier for searching in the Analytics tab.
In order to show my progress to my boss I had to publish my work. He wanted to use another type of user. So I published the App, but I lost the ability to edit anything especially the data loading. Unfortunately that means I have to restart my work.
Any suggestions on how to restore my progress?
(It sounds to be an off-topic question probably...because there is no code in here)

tableau is using unidentified source

Hi I am using extract to view a workbook in tableau server.
I deleted the local extract as well as the extract in the server.
I am still able to see that data is being pointed.
Struggled a lot to understand this.Does tableau create temp folder to store?
FYI It is not in live mode(since the data is not being changed until I refresh).
How do I point to server extract?(is it automatic)?
If a workbook on Server is pointing to a server hosted data source and that data source is delete, then it would not render. If you're still able to view the data, then it sounds like the workbook was uploaded with the extract. Check the file size, if it's large, that's probably what happened.

How to use Core Data in saving all the details which were stored or displayed in a table view?

I am developing an app which parses an Xml or RSS feeds of a magazine..The thing is I have to include an offline capability,ie save the previous results which were displayed in each cell(similar to the New York times app) and then display the saved ones when there is no network connection..
Please help me with the codewise explanation using Core data as I was suggested to use it for this particular task.
Will be of great help for me..
Looking forward for your replies
Regards and Thanks
Arun
You probably want to start here.
OH Boy... CoreData.
Good bye 3-4 days of learning how this works. You wont regret learning about core data but there is a LOT.
#OhioDude has a great link. You can also.
1. Xcode > file > New Project. Select Navigation Based App, make sure the coredata checkbox is checked. Viola you have a project with all the core data templates.
2. There is other sample code on Apples website.
One of the tricky and cool things about core data is that you if you deploy a new version you have to write a template of how you app is to roll the data into the new structure.
During dev as I am changing the DB structure, I seem to get errors, so I just do a build>clean. And rename the string for the DB file to something new.
Good luck. Otherwise NSUserDefaults will be fine.
Or just learn about PLIST's you can simply serialize a NSDictionarly object into a PLIST and save it to the disk in a few lines of code. SUPER easy and no stuffing around with CoreData.